<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Wapnet Blog &#187; Linux</title>
	<atom:link href="http://blog.wapnet.nl/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.wapnet.nl</link>
	<description>Knowledge Base</description>
	<lastBuildDate>Thu, 02 Feb 2012 10:23:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Configure SNMP Linux</title>
		<link>http://blog.wapnet.nl/2012/01/configure-snmp-linux/</link>
		<comments>http://blog.wapnet.nl/2012/01/configure-snmp-linux/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 13:21:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[snmp]]></category>

		<guid isPermaLink="false">http://blog.wapnet.nl/?p=784</guid>
		<description><![CDATA[Be careful so do a backup of the snmpd config file. [root@linux ~]# mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.org Create a new config file. [root@linux ~]# nano /etc/snmp/snmpd.conf rocommunity public IPMonitorServer syslocation "Webserver, WAPNET" syscontact some@email.com Start the snmpd service and set the snmp stratup at boot on [root@linux ~]# /etc/init.d/snmpd start [root@linux ~]# chkconfig snmpd on]]></description>
			<content:encoded><![CDATA[<p>Be careful so do a backup of the snmpd config file.</p>
<pre>[root@linux ~]# mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.org</pre>
<p>Create a new config file.</p>
<pre>[root@linux ~]# nano /etc/snmp/snmpd.conf</pre>
<pre>rocommunity  public IPMonitorServer
syslocation  "Webserver, WAPNET"
syscontact  some@email.com</pre>
<p>Start the snmpd service and set the snmp stratup at boot on</p>
<pre>[root@linux ~]# /etc/init.d/snmpd start</pre>
<pre>[root@linux ~]# chkconfig snmpd on</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapnet.nl/2012/01/configure-snmp-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>locate command for OSX</title>
		<link>http://blog.wapnet.nl/2011/12/locate-command-for-osx/</link>
		<comments>http://blog.wapnet.nl/2011/12/locate-command-for-osx/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 20:59:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://blog.wapnet.nl/?p=764</guid>
		<description><![CDATA[Locate is a great unix/linux util that you can use for fast file searching. enable locate (search command database) this takes 10 minutes the first ime. But it is a background process. sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist Updatedb (search db) sudo /usr/libexec/locate.updatedb find a specific file locate file]]></description>
			<content:encoded><![CDATA[<p>Locate is a great unix/linux util that you can use for fast file searching.</p>
<p>enable locate (search command database) this takes 10 minutes the first ime. But it is a background process.</p>
<blockquote><p>sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist</p></blockquote>
<p>Updatedb (search db)</p>
<blockquote><p>sudo /usr/libexec/locate.updatedb</p></blockquote>
<p>find a specific file</p>
<blockquote><p>locate file</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapnet.nl/2011/12/locate-command-for-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cyanogenmod 7 move all applications to sd card without data loss</title>
		<link>http://blog.wapnet.nl/2011/11/cyanogenmod-7-move-all-applications-to-sdcard-without-data-loss/</link>
		<comments>http://blog.wapnet.nl/2011/11/cyanogenmod-7-move-all-applications-to-sdcard-without-data-loss/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 20:37:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.wapnet.nl/?p=731</guid>
		<description><![CDATA[I have an HTC Desire phone. I like the phone but there is one big problem; the NAND (internal storage) is way to small. I installed a lot of ROM&#8217;s but the last time I install Cyanogenmod 7.1 with the &#8220;Launcher 7&#8243; and I did a lot of customization I don&#8217;t want to reinstall my [...]]]></description>
			<content:encoded><![CDATA[<p>I have an HTC Desire phone. I like the phone but there is one big problem; the NAND (internal storage) is way to small. I installed a lot of ROM&#8217;s but the last time I install Cyanogenmod 7.1 with the &#8220;Launcher 7&#8243; and I did a lot of customization I don&#8217;t want to reinstall my phone.</p>
<p>There is an crappy android workaround to move some of your apps to the SD card but when you connect/mount your phone to your pc you cannot start these apps and if you disconnect some of the settings are ruined.</p>
<p>So I searched the internet and read a lot of articles to find the best method to repartition my SD card and move the application and dalvik cache to my SD card. So I wrote this tutorial so you can move all the apps to your phone without any data loss also.</p>
<p>What do you need:</p>
<ol>
<li>Cyanogenmod 7</li>
<li>S2E (free on the android marked)</li>
<li>App 2 SD free (android marked)</li>
<li>Linux operating system with Gparted or Gparted live CD</li>
</ol>
<p>The steps</p>
<ol>
<li>Shutdown the phone and put out your SD card</li>
<li>Make a backup of your SD card</li>
<li>Run GParted and make a primary FAT32 partiton and 1 GB (or more) EXT3 partition. Because I have an 16GB SD card I make a 2GB EXT3 partition. You can check a Gparted youtube tutorial here: <a href="http://www.youtube.com/watch?v=6z1Tu9l8WNc">http://www.youtube.com/watch?v=6z1Tu9l8WNc</a></li>
<li>Now copy your backup back to the SD card and place the SD in to the phone</li>
<li>Start the phone and start S2E</li>
<li>Select Applications, Dalvik cache and Download cache</li>
<li>Press the menu button and reboot the phone</li>
<li>Have some patience now (5min-10min)</li>
<li>Now start the phone and start apps 2 sd</li>
<li>Press the &#8220;On SD Card&#8221; tab, press menu and press move all apps</li>
<li>Now press on the <strong>move to phone button</strong> for every app you haved placed to the SD card.</li>
</ol>
<p>Because  you have place the /data/app folder to the EXT3 partition (/sd-ext/app) you do not move the app to your phone but to your EXT3 partition <img src='http://blog.wapnet.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If this article helps you, please leave a comment below <img src='http://blog.wapnet.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapnet.nl/2011/11/cyanogenmod-7-move-all-applications-to-sdcard-without-data-loss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[linux] Backup a folder</title>
		<link>http://blog.wapnet.nl/2011/11/linux-backup-a-folder/</link>
		<comments>http://blog.wapnet.nl/2011/11/linux-backup-a-folder/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 13:04:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[folder]]></category>
		<category><![CDATA[gz]]></category>
		<category><![CDATA[subfolders]]></category>
		<category><![CDATA[tar]]></category>

		<guid isPermaLink="false">http://blog.wapnet.nl/?p=726</guid>
		<description><![CDATA[tar czvf backup.tar.gz somefoldername/]]></description>
			<content:encoded><![CDATA[<blockquote><p>tar czvf backup.tar.gz somefoldername/</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapnet.nl/2011/11/linux-backup-a-folder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>YUMI – Multiboot USB Creator (Windows)</title>
		<link>http://blog.wapnet.nl/2011/09/yumi-%e2%80%93-multiboot-usb-creator-windows/</link>
		<comments>http://blog.wapnet.nl/2011/09/yumi-%e2%80%93-multiboot-usb-creator-windows/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 06:37:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[recovery]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[yumi]]></category>

		<guid isPermaLink="false">http://blog.wapnet.nl/?p=676</guid>
		<description><![CDATA[YUMI (Your Universal Multiboot Installer), is the successor to MultibootISOs. It can be used to create a Multiboot USB Flash Drive containing multiple operating systems, antivirus utilities, disc cloning, diagnostic tools, and more. Contrary to MultiBootISO&#8217;s which used grub to boot ISO files directly from USB, YUMI uses syslinux to boot extracted distributions stored on [...]]]></description>
			<content:encoded><![CDATA[<p>YUMI (Your Universal Multiboot Installer), is the successor to MultibootISOs. It can be used to create a Multiboot USB Flash Drive containing multiple operating systems, antivirus utilities, disc cloning, diagnostic tools, and more. Contrary to MultiBootISO&#8217;s which used grub to boot ISO files directly from USB, YUMI uses syslinux to boot extracted distributions stored on the USB device, and reverts to using grub to <em>Boot Multiple ISO files from USB</em>, if necessary.</p>
<p>Aside from a few distributions, all files are stored within the Multiboot folder, making for a nicely organized Multiboot Drive that can still be used for other storage purposes.</p>
<p>&nbsp;</p>
<p><strong>Creating a YUMI Multiboot MultiSystem USB Flash Drive</strong><br />
YUMI works much like Universal USB Installer, except it can be used to install more than one distribution to run from your USB. Distributions can also be uninstalled using the same tool!</p>
<p><a href="http://blog.wapnet.nl/wp-content/uploads/2011/09/YUMI-Multiboot-USB-Creator.png"><img class="alignnone size-medium wp-image-677" title="YUMI-Multiboot-USB-Creator" src="http://blog.wapnet.nl/wp-content/uploads/2011/09/YUMI-Multiboot-USB-Creator-300x233.png" alt="" width="300" height="233" /></a></p>
<p>&nbsp;</p>
<p><strong>YUMI&#8217;s Main Multiboot Boot Menu</strong></p>
<p><a href="http://blog.wapnet.nl/wp-content/uploads/2011/09/YUMI-Boot-Menu.png"><img class="alignnone size-medium wp-image-678" title="YUMI-Boot-Menu" src="http://blog.wapnet.nl/wp-content/uploads/2011/09/YUMI-Boot-Menu-300x219.png" alt="" width="300" height="219" /></a></p>
<p>&nbsp;</p>
<h2>How to Create a MultiBoot USB Flash Drive</h2>
<ol>
<li>Run* <strong>YUMI-0.0.2.9.exe</strong> following the onscreen instructions</li>
<li>Run the tool again to Add More ISOs/Distributions to your Drive</li>
<li>Restart your PC setting it to boot from the USB device</li>
<li>Select a distribution to Boot from the Menu and enjoy!</li>
</ol>
<p>That&#8217;s all there is to it. You should now be booting your favorite distributions from your custom Multi-Boot USB device!</p>
<p><strong>How It Works</strong>: YUMI (Your Universal Multiboot Installer) enables each user to create their own custom Multiboot UFD containing only the distributions they want, in the order by which they are installed. A new distribution can be added to the UFD each time the tool is run.</p>
<p>If you run YUMI from the same location you store ISO downloads, they should be auto-detected (*See Known Issues Below), eliminating the need to browse for each ISO.</p>
<p><strong>VERY IMPORTANT</strong>: Windows Vista or 7 Installers will cause Ubuntu or any remix based on Ubuntu (I.E. Linux Mint) to hang during boot. A quick fix is to temporarily rename the Windows <strong>SOURCES</strong> folder found at the root of the USB device.</p>
<p><strong>Other Notes</strong>: If MultibootISOs was previously used, you must reformat the drive and start over. YUMI uses Syslinux directly, and chainloads to grub only if necessary, so it is not compatible with the older Multiboot ISO tool. Although I do plan to add back the capabilities of MultibootISOs as time permits.</p>
<p>The distro uninstaller works great, but unlisted ISO&#8217;s that have been added must currently be manually removed!</p>
<p>Source: <a href="http://www.pendrivelinux.com/yumi-multiboot-usb-creator/">http://www.pendrivelinux.com/yumi-multiboot-usb-creator/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapnet.nl/2011/09/yumi-%e2%80%93-multiboot-usb-creator-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manage multiple passwords for different websites</title>
		<link>http://blog.wapnet.nl/2011/09/manage-multiple-passwords-for-different-websites/</link>
		<comments>http://blog.wapnet.nl/2011/09/manage-multiple-passwords-for-different-websites/#comments</comments>
		<pubDate>Fri, 23 Sep 2011 23:59:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[keepass]]></category>
		<category><![CDATA[lastpass]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.wapnet.nl/?p=654</guid>
		<description><![CDATA[One of the worst things you can do on the internet is use the same password for different websites. When one of the webites is hacked or there is an bad sysadmin they can use your password to login your email or other sites to steal all your private information and worst case scenario your [...]]]></description>
			<content:encoded><![CDATA[<p>One of the worst things you can do on the internet is use the same password for different websites. When one of the webites is hacked or there is an bad sysadmin they can use your password to login your email or other sites to steal all your private information and worst case scenario your bank account.</p>
<p>Every self respected browser has an built-in password safer but when your computer/laptop is stolen or hacked by a mad person (in dutch we call them klootzakken <img src='http://blog.wapnet.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) they can easily steal all your passwords. So don&#8217;t use the built-in password safer (or <a href="http://luxsci.com/blog/master-password-encryption-in-firefox-and-thunderbird.html">configure</a> a strong master password).</p>
<p>There are two great solutions for managing your passwords. One is a local and one is a cloud solution. I will describe them both so you can choose what is best for you.</p>
<p><strong>KeePass (local):</strong><br />
KeePass is a great tool for managing your passwords. There is an built-in password generator, the passwords saved in one local encrypted file and you must always give up a master key to access the passwords. The tool is crossplatform (using .net/mono) and there are a lot of plugins, example; there is a browser plugin to replace the insecure built-in pass safer. The great thing about this tool is that is is an local tool so only you can access and manage the password files. If you want to share the password file on multiple places you can use dropbox to synchronise/centralise the password files.</p>
<p><a href="http://blog.wapnet.nl/wp-content/uploads/2011/09/keepass.png"><img class="alignnone size-medium wp-image-657" title="keepass" src="http://blog.wapnet.nl/wp-content/uploads/2011/09/keepass-300x206.png" alt="" width="300" height="206" /></a></p>
<p><strong>LastPass (cloud):<br />
</strong>LastPass is also a great tool for managing your password especialy when you use multiple computers and different operating systems. LastPass replaces the default integrated browser password safer with his own. Your password stored localy and in the cloud and are encrypted. Without the master password it is not possible to automatic login or see your password. I like LastPass because tons of options and integration with all the operating systems and smartphones. The default settings are good but I recommend that you change the setting that the LastPass is logoff automaticly when you close the browser.</p>
<p>The only thing you must keep in mind that you password is in sync at LastPass (cloud) so you must trust the company.</p>
<p><a href="http://blog.wapnet.nl/wp-content/uploads/2011/09/lastpass.jpg"><img class="alignnone size-medium wp-image-656" title="lastpass" src="http://blog.wapnet.nl/wp-content/uploads/2011/09/lastpass-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><strong>Keep in mind</strong><br />
That using multiple random words password (example: <em>&#8220;correct battery horse staple&#8221;</em>) mostly of the time is better then using complex passwords (<em>&#8220;Tr0ub4dor&amp;3&#8243;</em>). This picture tells why:</p>
<p><a href="http://blog.wapnet.nl/wp-content/uploads/2011/09/password_strength.png"><img class="alignnone size-medium wp-image-655" title="password_strength" src="http://blog.wapnet.nl/wp-content/uploads/2011/09/password_strength-300x243.png" alt="" width="300" height="243" /></a></p>
<p><strong>Last but not least<br />
Always </strong>use a BIOS password on a laptop. Most of the thief&#8217;s are very dumb people and if they stole you laptop they cannot remove the BIOS password and your laptop is useless for them.<strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapnet.nl/2011/09/manage-multiple-passwords-for-different-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use one mouse and keyboard to control multiple PC&#8217;s (Crossplatform)</title>
		<link>http://blog.wapnet.nl/2011/09/use-one-mouse-and-keyboard-to-control-multiple-pcs-crossplatform/</link>
		<comments>http://blog.wapnet.nl/2011/09/use-one-mouse-and-keyboard-to-control-multiple-pcs-crossplatform/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 09:46:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[KVM]]></category>

		<guid isPermaLink="false">http://blog.wapnet.nl/?p=651</guid>
		<description><![CDATA[There is a very nice opensource / freeware tool you can use to control multiple PC&#8217;s like KVM. It&#8217;s compatible with Linux, OSX and Windows. Quote: What is Synergy? Do you have two computers at your desk, with two screens and two sets of keyboard and mouse? Here&#8217;s where Synergy comes in&#8230; &#8230; Synergy is [...]]]></description>
			<content:encoded><![CDATA[<p>There is a very nice opensource / freeware tool you can use to control multiple PC&#8217;s like KVM. It&#8217;s compatible with Linux, OSX and Windows.</p>
<p>Quote:</p>
<blockquote>
<h2 id="What-is-Synergy">What is Synergy?</h2>
<p>Do you have two computers at your desk, with two screens and two sets of keyboard and mouse? Here&#8217;s where Synergy comes in&#8230;</p>
<p>&#8230; <strong>Synergy</strong> is Free and Open Source Software that lets you easily share your mouse and keyboard between multiple computers, where each computer has its own display. No special hardware is required, just a network connection. Synergy is supported on Windows, Mac OS X and Linux. Usage is as simple as moving the mouse off the edge of your screen. You can even share your clipboard.</p></blockquote>
<p><a href="http://blog.wapnet.nl/wp-content/uploads/2011/09/splash.jpg"><img class="alignnone size-full wp-image-652" title="splash" src="http://blog.wapnet.nl/wp-content/uploads/2011/09/splash.jpg" alt="" width="648" height="300" /></a></p>
<p>Download: <a href="http://synergy-foss.org/download/">http://synergy-foss.org/download/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapnet.nl/2011/09/use-one-mouse-and-keyboard-to-control-multiple-pcs-crossplatform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sitecom WL-344 wireless not working</title>
		<link>http://blog.wapnet.nl/2011/09/sitecom-wl-344-wireless-not-working/</link>
		<comments>http://blog.wapnet.nl/2011/09/sitecom-wl-344-wireless-not-working/#comments</comments>
		<pubDate>Sat, 10 Sep 2011 00:12:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[11.04]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.wapnet.nl/?p=645</guid>
		<description><![CDATA[The solutions is block the rt2800usb  echo &#8216;blacklist rt2800usb&#8217; &#124; sudo tee -a /etc/modprobe.d/blacklist.conf restart, and try this echo &#8216;install rt2870sta modprobe &#8211;ignore-install rt2870sta ; /bin/echo &#8220;0df6 0040&#8243; &#62; /sys/bus/usb/drivers/rt2870/new_id&#8217; &#124; sudo tee /etc/modprobe.d/rt2870sta.conf sudo modprobe rt2870sta dmesg &#124; egrep &#8216;rt28&#124;usb&#124;Phy&#8217; iwconfig sudo iwlist scan &#160; (the first Line allocate the Chipset-ID to the driver [...]]]></description>
			<content:encoded><![CDATA[<p>The solutions is block the rt2800usb</p>
<blockquote><p> echo &#8216;blacklist rt2800usb&#8217; | sudo tee -a /etc/modprobe.d/blacklist.conf</p></blockquote>
<p>restart, and try this</p>
<blockquote><p>echo &#8216;install rt2870sta modprobe &#8211;ignore-install rt2870sta ; /bin/echo &#8220;0df6 0040&#8243; &gt; /sys/bus/usb/drivers/rt2870/new_id&#8217; | sudo tee /etc/modprobe.d/rt2870sta.conf<br />
sudo modprobe rt2870sta<br />
dmesg | egrep &#8216;rt28|usb|Phy&#8217;<br />
iwconfig<br />
sudo iwlist scan</p>
<p>&nbsp;</p></blockquote>
<p>(the first Line allocate the Chipset-ID to the driver rt2870sta)</p>
<p>If the solution works, activiate it automatically by a new udev-Rule</p>
<blockquote><p>sudo gedit /etc/udev/rules.d/10-wlan.rules</p></blockquote>
<p>Insert the following code and save the file</p>
<blockquote><p> # UDEV-Rule for Sitecom WL-344 ID 0df6:0040</p>
<p>SUBSYSTEM==&#8221;usb&#8221;, SYSFS{idVendor}==&#8221;0df6&#8243;, SYSFS{idProduct}==&#8221;0040&#8243;, RUN+=&#8221;/sbin/modprobe rt2870sta&#8221;</p></blockquote>
<p>Activate it (or restart)</p>
<blockquote><p> sudo service udev reload</p></blockquote>
<p>Credits: flash63<br />
Source: <a href="http://ubuntuforums.org/showthread.php?t=1514196">http://ubuntuforums.org/showthread.php?t=1514196</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapnet.nl/2011/09/sitecom-wl-344-wireless-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extending LVM disks in Linux using Vmware virtual disks</title>
		<link>http://blog.wapnet.nl/2011/08/extending-lvm-disks-in-linux-using-vmware-virtual-disks/</link>
		<comments>http://blog.wapnet.nl/2011/08/extending-lvm-disks-in-linux-using-vmware-virtual-disks/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 15:06:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.wapnet.nl/?p=630</guid>
		<description><![CDATA[All the credits go to Arjen Visser @ http://www.dbvisit.com/forums/showthread.php?t=343. I add his article to my blog to find it quickly the next time Here is the current file system. It needs another 3Gb on the LogVol00 filesystem. The Linux system is a VMware virtual system with Virtual disks. [root@dbvrac1 ~]# df -k Filesystem 1K-blocks Used [...]]]></description>
			<content:encoded><![CDATA[<div>All the credits go to Arjen Visser @ <a href="http://www.dbvisit.com/forums/showthread.php?t=343">http://www.dbvisit.com/forums/showthread.php?t=343</a>. I add his article to my blog to find it quickly the next time <img src='http://blog.wapnet.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </div>
<div>Here is the current file system. It needs another 3Gb on the LogVol00 filesystem. The Linux system is a VMware virtual system with Virtual disks.</div>
<div><span style="font-family: Courier New;"><br />
[root@dbvrac1 ~]# df -k<br />
Filesystem 1K-blocks Used Available Use% Mounted on<br />
/dev/mapper/VolGroup00-LogVol00<br />
9127580 6692828 1971088 78% /<br />
/dev/sda1 101086 12651 83216 14% /boot<br />
none 596544 0 596544 0% /dev/shm<br />
</span><br />
The partitions are as follows<br />
<span style="font-family: Courier New;"><br />
[root@dbvrac1 ~]# sfdisk -s<br />
/dev/sda: 10485760<br />
/dev/sdb: 10485760<br />
/dev/sdc: 10485760<br />
/dev/sdd: 10485760<br />
/dev/sde: 10485760<br />
/dev/sdf: 10485760<br />
</span><br />
First the Vmware virtual disks needs to increase. 13Gb is the new size. Shutdown the Vmware guest and resize the disk on the Vmware host:<br />
<span style="font-family: Courier New;"><br />
# vmware-vdiskmanager -x 13GB dbvrac1.vmdk<br />
Using log file /tmp/vmware-root/vdiskmanager.log<br />
The old geometry C/H/S of the disk is: 1305/255/63<br />
The new geometry C/H/S of the disk is: 1697/255/63<br />
Disk expansion completed successfully.<br />
</span><br />
Start up the Vmware guest again.<br />
This has added space on the /dev/sda partition. This can be seen by running sfdisk -s again:<br />
<span style="font-family: Courier New;"><br />
[root@dbvrac1 ~]# sfdisk -s<br />
/dev/sda: 13631488<br />
/dev/sdb: 10485760<br />
/dev/sdc: 10485760<br />
/dev/sdd: 10485760<br />
/dev/sde: 10485760<br />
/dev/sdf: 10485760<br />
</span><br />
To use the space, a partition first has to be created on /dev/sda<br />
<span style="font-family: Courier New;"><br />
[root@dbvrac1 ~]# ls -al /dev/sda*<br />
brw-rw&#8212;- 1 root disk 8, 0 Jun 29 2009 /dev/sda<br />
brw-rw&#8212;- 1 root disk 8, 1 Jun 29 2009 /dev/sda1<br />
brw-rw&#8212;- 1 root disk 8, 2 Jun 29 2009 /dev/sda2<br />
</span><br />
The new partition will be /dev/sda3.<br />
<span style="font-family: Courier New;"><span style="font-family: Courier New;"><br />
[root@dbvrac1 /]# fdisk /dev/sda</span></span></div>
<div>
<p>Command (m for help): n<br />
Command action<br />
e extended<br />
p primary partition (1-4)<br />
p<br />
Partition number (1-4): 3<br />
First cylinder (1306-1697, default 1306):<br />
Using default value 1306<br />
Last cylinder or +size or +sizeM or +sizeK (1306-1697, default 1697):<br />
Using default value 1697</p>
<p>Command (m for help): w<br />
The partition table has been altered!</p>
<p>Calling ioctl() to re-read partition table.<br />
Syncing disks.<br />
Validate that the new partition has been created<br />
<span style="font-family: Courier New;"><br />
[root@dbvrac1 ~]# ls -al /dev/sda*<br />
brw-rw&#8212;- 1 root disk 8, 0 Jun 29 2009 /dev/sda<br />
brw-rw&#8212;- 1 root disk 8, 1 Jun 29 2009 /dev/sda1<br />
brw-rw&#8212;- 1 root disk 8, 2 Jun 29 2009 /dev/sda2<br />
brw-rw&#8212;- 1 root disk 8, 2 Jun 29 2009 /dev/sda3<br />
</span><br />
/dev/sda3 is the new partition.<br />
Reboot to load the new partition into the kernel.Create a physical volume for LVM:<br />
<span style="font-family: Courier New;"><br />
[root@dbvrac1 ~]# pvcreate /dev/sda3<br />
Physical volume &#8220;/dev/sda3&#8243; successfully created<br />
</span><br />
Add the new physical volume to the volume group:<br />
<span style="font-family: Courier New;"><br />
[root@dbvrac1 ~]# vgextend VolGroup00 /dev/sda3<br />
Volume group &#8220;VolGroup00&#8243; successfully extended<br />
</span><br />
Extend the logical volume over the new space in the volume group.<br />
Find out how much more space can be added:<br />
<span style="font-family: Courier New;"><br />
[root@dbvrac1 ~]# vgdisplay<br />
&#8212; Volume group &#8212;<br />
VG Name VolGroup00<br />
System ID<br />
Format lvm2<br />
Metadata Areas 2<br />
Metadata Sequence No 4<br />
VG Access read/write<br />
VG Status resizable<br />
MAX LV 0<br />
Cur LV 2<br />
Open LV 2<br />
Max PV 0<br />
Cur PV 2<br />
Act PV 2<br />
VG Size 12.88 GB<br />
PE Size 32.00 MB<br />
Total PE 412<br />
Alloc PE / Size 315 / 9.84 GB<br />
Free PE / Size 97 / 3.03 GB<br />
VG UUID 7yenoW-lzsd-xK8a-j2Vj-qgty-TFXK-L0lhTL<br />
</span><br />
There is 3.03Gb available.<br />
Extend the volume:<br />
<span style="font-family: Courier New;"><br />
[root@dbvrac1 ~]# lvextend -L+3.03G /dev/VolGroup00/LogVol00<br />
Rounding up size to full physical extent 3.03 GB<br />
Extending logical volume LogVol00 to 11.88 GB<br />
Logical volume LogVol00 successfully resized<br />
</span><br />
Resize the filesystem:<br />
<span style="font-family: Courier New;"><br />
[root@dbvrac1 ~]# resize2fs /dev/VolGroup00/LogVol00<br />
resize2fs 1.35 (28-Feb-2004)<br />
/dev/VolGroup00/LogVol00 is mounted; can&#8217;t resize a mounted filesystem!<br />
</span><br />
Cannot use resize2fs as it is online. Use ext2online instead.<br />
<span style="font-family: Courier New;"><br />
[root@dbvrac1 ~]# ext2online /dev/VolGroup00/LogVol00<br />
ext2online v1.1.18 &#8211; 2001/03/18 for EXT2FS 0.5b<br />
</span><br />
Check file system:<br />
<span style="font-family: Courier New;"><br />
[root@dbvrac1 ~]# df -k<br />
Filesystem 1K-blocks Used Available Use% Mounted on<br />
/dev/mapper/VolGroup00-LogVol00<br />
12256820 6695112 4940796 58% /<br />
/dev/sda1 101086 12651 83216 14% /boot<br />
none 596544 0 596544 0% /dev/shm<br />
</span><br />
All done! Filesystem has increased from 9127580 to 12256820.</p>
<p>Original article: <a href="http://www.dbvisit.com/forums/showthread.php?t=343">http://www.dbvisit.com/forums/showthread.php?t=343</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapnet.nl/2011/08/extending-lvm-disks-in-linux-using-vmware-virtual-disks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Troubleshoot (Nagios) Webinject</title>
		<link>http://blog.wapnet.nl/2011/07/troubleshoot-nagios-webinject/</link>
		<comments>http://blog.wapnet.nl/2011/07/troubleshoot-nagios-webinject/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 18:22:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[parseresponse]]></category>
		<category><![CDATA[webinject]]></category>

		<guid isPermaLink="false">http://blog.wapnet.nl/?p=591</guid>
		<description><![CDATA[There is a very nice GUI tool to troubeshoot webinject scripts. You can download the tool @ http://www.webinject.org/download.html for Windows and Linux. After you extract or install the tool you can change the globalhttplog line in the config.xml file to: &#60;globalhttplog&#62;yes&#60;/globalhttplog&#62; so you get the full debug log. Note: I found a small memory bug [...]]]></description>
			<content:encoded><![CDATA[<p>There is a very nice GUI tool to troubeshoot webinject scripts. You can download the tool @ <a href="https://webmail.mirabeau.nl/OWA/redir.aspx?C=7b33745b9217462991231a23e143c9c4&amp;URL=http%3a%2f%2fwww.webinject.org%2fdownload.html" target="_blank">http://www.web</a><a href="https://webmail.mirabeau.nl/OWA/redir.aspx?C=7b33745b9217462991231a23e143c9c4&amp;URL=http%3a%2f%2fwww.webinject.org%2fdownload.html" target="_blank">inject.org/download.html</a> for Windows and Linux.</p>
<p>After you extract or install the tool you can change the <strong>globalhttplog</strong> line in the config.xml file to: <strong>&lt;globalhttplog&gt;yes&lt;/globalhttplog&gt;</strong> so you get the full debug log.</p>
<p>Note: I found a small memory bug in the GUI when you use the <strong>parseresponse</strong> parameter in your scripts. To workaround this issue the best you can do is restart the tool (file &gt; restart) before you test the scripts.</p>
<p><a href="http://blog.wapnet.nl/wp-content/uploads/2011/07/screenshot_gui_status_win.jpg"><img title="screenshot_gui_status_win" src="http://blog.wapnet.nl/wp-content/uploads/2011/07/screenshot_gui_status_win.jpg" alt="" width="629" height="567" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapnet.nl/2011/07/troubleshoot-nagios-webinject/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 4/17 queries in 0.025 seconds using disk: basic
Object Caching 707/736 objects using disk: basic

Served from: blog.wapnet.nl @ 2012-02-09 14:02:33 -->
