<?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>Lucid Tips &#187; howto</title>
	<atom:link href="http://www.lucidtips.com/category/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lucidtips.com</link>
	<description>Easily understood tips that make your computing experience easier</description>
	<lastBuildDate>Mon, 15 Jun 2009 14:43:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Secure Browsing using SSH</title>
		<link>http://www.lucidtips.com/2009/06/13/secure-browsing-using-ssh/</link>
		<comments>http://www.lucidtips.com/2009/06/13/secure-browsing-using-ssh/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 19:14:51 +0000</pubDate>
		<dc:creator>lucidTipster</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[secure browsing]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.lucidtips.com/?p=308</guid>
		<description><![CDATA[It seems like these days wherever you are (coffee shop, airport, burger joint) you can find a wireless hotspot allowing you free access to roam the Internet without much of a problem. However when surfing using these networks the data is send in plain text and is not safe. Using SSH and SOCKS proxy you [...]]]></description>
			<content:encoded><![CDATA[<p>It seems like these days wherever you are (coffee shop, airport, burger joint) you can find a wireless hotspot allowing you free access to roam the Internet without much of a problem. However when surfing using these networks the data is send in plain text and is not safe. Using SSH and SOCKS proxy you can easily encrypt all your web browsing traffic and redirect through your home network (or some other trusted computer).</p>
<p>This howto is targeted for Windows (quick Linux instructions are included towards bottom of this post) and leverages the SSH setup described in my earlier post <a title="Securing Windows Remote Desktop with OpenSSH" href="http://www.lucidtips.com/2008/03/15/securing-windows-remote-desktop-with-openssh" target="_blank">Securing Windows Remote Desktop with OpenSSH</a>. All the changes are on the Client machine. No changes are required on the machine running SSH server.</p>
<h2>Modify Putty configuration on Client</h2>
<ol>
<li>Open PuTTY</li>
<li>In the Saved Sessions list click on the name you created during <a title="Securing Windows Remote Desktop with OpenSSH" href="http://www.lucidtips.com/2008/03/15/securing-windows-remote-desktop-with-openssh/" target="_blank">Securing Windows Remote Desktop with OpenSSH</a></li>
<li>Click Load</li>
<li>In the left pane click on + next to connection</li>
<li>Click on + next to SSH</li>
<li>Click on Tunnels</li>
<li>In the Source port field enter 9090 (Note: In PuTTY the source port field looks small but it will still allow you to enter details)</li>
<li>Leave the Destination field empty</li>
<li>Select Dynamic radio button</li>
<li>Click Add (see <a href="http://picasaweb.google.com/lh/photo/jcfT163ytlVq0JuWzvkuuA?feat=directlink" target="_blank">screenshot</a>)</li>
<li>Click on Session in the left pane</li>
<li>Click Save button (Do not click Load again &#8211; it discard the tunnel changes you made)</li>
</ol>
<h2>Connect using PuTTY</h2>
<ol>
<li>Open PuTTY (if not already open)</li>
<li>In the Saved Sessions list click on the name you created during Securing Windows Remote Desktop with OpenSSH</li>
<li>Click Load</li>
<li>Click Open</li>
<li>The first time you connect you will see a security alert. Click Yes. (see <a href="http://picasaweb.google.com/lucidtips/SecuringWindowsRemoteDesktopWithOpenSSH/photo#5177940934475730850" target="_blank">screenshot</a>)</li>
<li>You will be prompted for username/password</li>
<li>You should be successfully connected to Computer 1 (i.e SSH server) via SSH. (see <a href="http://picasaweb.google.com/lucidtips/SecuringWindowsRemoteDesktopWithOpenSSH/photo#5177945804968644546" target="_blank">screenshot</a>)</li>
</ol>
<h2>Configure Browser proxy</h2>
<ol>
<li>Open FireFox Options (Tools-&gt;Options)</li>
<li>Click Advanced</li>
<li>Select Network tab and click on Settings</li>
<li>Select Manual Proxy configuration</li>
<li>Under SOCKS Host enter localhost and port 9090 (this has to match the port you entered in your Putty configuration)</li>
<li>Select SOCKS v5</li>
<li>Click OK (see <a href="http://picasaweb.google.com/lh/photo/g0-SsTDWY6SNklrZt4dqbg?feat=directlink" target="_blank">screenshot</a>)</li>
</ol>
<p>You can now browse the Internet via a secure SSH connection. To verify go to <a href="http://www.whatismyip.com/" target="_blank">http://www.whatismyip.com/</a> and you should see the external IP address of your home/trusted network. The are some handy FireFox Add-ons to make your life easier.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/125" target="_blank">SwitchProxy Tool</a> &#8211; lets you manage and switch between multiple proxy configurations quickly and easily  (see <a href="http://mozmonkey.com/switchproxy/" target="_blank">screenshot and usage instructions</a>).</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/1731" target="_blank">Live IP Address</a> &#8211; displays your external IP address in Firefox&#8217;s status bar. With one quick glance you can verify you are secure browsing (see <a href="https://addons.mozilla.org/en-US/firefox/images/p/19198/1205957007" target="_blank">screenshot</a>).</p>
<h3>Updated on 06/15/2009 &#8211; DNS Resolution</h3>
<p>As a reader has correctly commented below using the above technique the DNS resolution still happens at the local network and not on your trusted network. This can be altered by changing the FireFox configuration.</p>
<ol>
<li>Open FireFox</li>
<li>In the address field enter about:config</li>
<li>If this is the first time you are accessing FireFox configuration you will see a waring page. Click &#8220;I&#8217;ll be careful, I promise!&#8221; (see <a href="http://picasaweb.google.com/lh/photo/GXpmLPYEdKL5xx5CJPm0YQ?feat=directlink" target="_blank">screenshot</a>)</li>
<li>A page displaying list of all FireFox configuration values is displayed.</li>
<li>Type &#8216;dns&#8217; (without quotes) in the filter field</li>
<li>Right click on network.proxy.socks_remote_dns and select Toggle (see <a href="http://picasaweb.google.com/lh/photo/LVOTYDbTfZOMzONByz46Eg?feat=directlink" target="_blank">screenshot</a>).</li>
<li>The Status column of the configuration page should now show user set for network.proxy.socks_remote_dns</li>
<li>Close the FireFox window</li>
</ol>
<p>The DNS resolution step is optional but is recommended if you are browsing to certain sites that you do not want to be listed on the DNS log of the untrusted network.</p>
<h1>Quick Linux (Ubuntu) instructions</h1>
<p>To install SSH server open terminal window and type the following command</p>
<pre>sudo apt-get install openssh-server</pre>
<p>Check if firewall is active</p>
<pre>sudo ufw status</pre>
<p>If active allow SSH traffic</p>
<pre>sudo ufw allow ssh</pre>
<p>Follow the instructions <a title="Securing Windows Remote Desktop with OpenSSH" href="http://www.lucidtips.com/2008/03/15/securing-windows-remote-desktop-with-openssh/" target="_blank">here</a> to Setup Port Forwarding on your router.</p>
<p>To connect to the SSH server for secure browsing use the command</p>
<pre><code>ssh -D 9090 username@ip-address-of-ssh-server</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lucidtips.com/2009/06/13/secure-browsing-using-ssh/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Monitor CPU and hard drive temperatures on Ubuntu Linux</title>
		<link>http://www.lucidtips.com/2009/06/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux/</link>
		<comments>http://www.lucidtips.com/2009/06/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 20:10:08 +0000</pubDate>
		<dc:creator>lucidTipster</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[computertemp]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[hard drive]]></category>
		<category><![CDATA[hddtemp]]></category>
		<category><![CDATA[lm-sensors]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[sensors-applet]]></category>
		<category><![CDATA[sensors-detect]]></category>
		<category><![CDATA[temperature]]></category>
		<category><![CDATA[thermal zone]]></category>

		<guid isPermaLink="false">http://www.lucidtips.com/?p=286</guid>
		<description><![CDATA[Most new computers support ACPI which stands for Advanced Configuration and Power Interface. ACPI provides for many functions besides power management, such as thermal management and plug-and-play events. If the fan on your PC is always on this could mean the CPU and hard drive are running hot and this could cause permanant damage to [...]]]></description>
			<content:encoded><![CDATA[<p>Most new computers support ACPI which stands for Advanced Configuration and Power Interface. ACPI provides for many functions besides power management, such as thermal management and plug-and-play events. If the fan on your PC is always on this could mean the CPU and hard drive are running hot and this could cause permanant damage to your PC. There are some command line and GUI based utilities that can be used to monitor the CPU and hard drive temperatures.</p>
<p><strong><span style="text-decoration: underline;">Disclaimer</span></strong>: These steps have worked for me and have been tested on Compaq nc6000 running Ubuntu 9.04 (Jaunty Jackalope). YMMV. I am not responsible for loss of data or damage to computers.</p>
<h1>Installing the required packages</h1>
<p>The following packages need to be installed</p>
<p><strong>lm-sensors</strong> &#8211; a hardware health monitoring package for Linux. It allows you to access information from temperature, voltage, and fan speed sensors. It works with most newer systems</p>
<p><strong>hddtemp</strong> &#8211; monitors and reports the temperature of PATA, SATA or SCSI hard drives by reading Self-Monitoring Analysis and Reporting Technology (S.M.A.R.T.) information on drives that support this feature</p>
<p><strong>sensors-applet</strong> &#8211; an applet for the GNOME panel that displays readings from hardware sensors, including temperatures, fan speeds and voltage readings</p>
<p><strong>computertemp</strong> &#8211; little applet for the GNOME desktop that shows the temperature of your CPU and disks in the panel.</p>
<p>Both <strong>sensors-applet</strong> and <strong>computertemp</strong> are applets that can be added to GNOME panel &#8211; you do not need both. Which one to use is your personal preference.</p>
<p>Open terminal window and type the following command</p>
<pre>sudo apt-get install lm-sensors hddtemp sensors-applet computertemp</pre>
<p>Before we can monitor the temperatures we need to configure the sensors. <strong>sensors-detect</strong> command helps determine which kernel modules need to be loaded to use lm_sensors most effectively.</p>
<p>Open terminal window and type the following command</p>
<pre>sudo sensors-detect</pre>
<p>You will be asked a few questions. It is generally safe and recommended to accept the default answers to all questions except the last one &#8211; the default is NO. You need to answer yes so that the required entries are made in /etc/modules file. Next step is to load the new modules into the kernel</p>
<pre>sudo /etc/init.d/module-init-tools</pre>
<p>Now that you have everything in place you can monitor the CPU and hard drive temperatures either from the command line or add an applet to the GNOME panel.</p>
<h1>Command line options</h1>
<p>Open terminal window and type the following command(s)</p>
<pre>sensors</pre>
<p><a href="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-1.png"><img class="alignnone size-medium wp-image-291" title="sensors output on nc6000" src="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-1-300x218.png" alt="sensors output on nc6000" width="300" height="218" /></a></p>
<pre>cat /proc/acpi/thermal_zone/*/temperature</pre>
<p>Depending on your hardware, you may have more than one sensor. On Compaq nc6000 the output was</p>
<p><a href="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-2.png"><img class="alignnone size-medium wp-image-292" title="cat /proc/acpi/thermal_zone/*/temperature" src="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-2-300x72.png" alt="cat /proc/acpi/thermal_zone/*/temperature" width="300" height="72" /></a></p>
<pre>sudo hddtemp /dev/sda</pre>
<p>On Compaq nc6000 the output was</p>
<p><a href="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-3.png"><img class="alignnone size-medium wp-image-293" title="sudo hddtemp /dev/sda" src="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-3-300x98.png" alt="sudo hddtemp /dev/sda" width="300" height="98" /></a></p>
<h1>Using sensors applet</h1>
<p>Add sensors applet to the panel</p>
<ol>
<li>Right click on the top or bottom panel</li>
<li>Click Add to Panel</li>
<li>Scroll down and select Hardware Sensors Monitor</li>
<li>Click Add</li>
<li>Click Close</li>
</ol>
<p><a href="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-4.png"><img class="alignnone size-medium wp-image-294" title="adding sensors-applet to panel" src="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-4-300x262.png" alt="adding sensors-applet to panel" width="300" height="262" /></a></p>
<p>By default sensors applet does not display hard drive temperature. To add it.</p>
<ol>
<li>Right click on the applet and select preferences</li>
<li>Select Sensors tab</li>
<li>Expand hddtemp</li>
<li>Check the box in Enabled</li>
<li>Click Close</li>
</ol>
<p><a href="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-5.png"><img class="alignnone size-medium wp-image-295" title="configure sensors-applet to display hard drive temperature" src="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-5-300x248.png" alt="configure sensors-applet to display hard drive temperature" width="300" height="248" /></a></p>
<p>You should now see the CPU and hard drive temperatures in your panel</p>
<p><a href="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-6.png"><img class="alignnone size-medium wp-image-296" title="sensors-applet" src="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-6-300x12.png" alt="sensors-applet" width="300" height="12" /></a></p>
<h1>Using computertemp applet</h1>
<ol>
<li>Right click on the top or bottom panel</li>
<li>Click Add to Panel</li>
<li>Scroll down and select Computer Temperature Monitor</li>
<li>Click Add</li>
<li>Click Close</li>
</ol>
<p><a href="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-7.png"><img class="alignnone size-medium wp-image-297" title="adding computertemp applet to panel" src="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-7-300x262.png" alt="adding computertemp applet to panel" width="300" height="262" /></a></p>
<p>To display hard drive temperature you need to add another copy of the computertemp applet.</p>
<ol>
<li>Repeat the steps above and add the computertemp applet to the panel</li>
<li>Right the newly added computertemp applet and select preferences</li>
<li>Select HDDTEMP as the sensor to monitor</li>
<li>Select /dev/sda as the Thermal Zone</li>
<li>Click Close</li>
</ol>
<p><a href="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-8.png"><img class="alignnone size-medium wp-image-298" title="configure computertemp to display hard drive temperature" src="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-8-300x283.png" alt="configure computertemp to display hard drive temperature" width="300" height="283" /></a></p>
<p>You should now see the CPU and hard drive temperatures in your panel</p>
<p><a href="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-9.png"><img class="alignnone size-full wp-image-299" title="cpu temperature using computertemp applet" src="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-9.png" alt="cpu temperature using computertemp applet" width="164" height="100" /></a></p>
<p><a href="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-10.png"><img class="alignnone size-full wp-image-300" title="hard drive temperature using computertemp applet" src="http://www.lucidtips.com/wordpress/wp-content/uploads/2009/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux-10.png" alt="hard drive temperature using computertemp applet" width="247" height="87" /></a></p>
<p>Good luck!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucidtips.com/2009/06/06/monitor-cpu-and-hard-drive-temperatures-on-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>VirtualBox &#8211; virtualization alternative to VMWare</title>
		<link>http://www.lucidtips.com/2009/05/30/virtualbox-virtualization-alternative-to-vmware/</link>
		<comments>http://www.lucidtips.com/2009/05/30/virtualbox-virtualization-alternative-to-vmware/#comments</comments>
		<pubDate>Sun, 31 May 2009 00:21:24 +0000</pubDate>
		<dc:creator>lucidTipster</dc:creator>
				<category><![CDATA[freeware]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.lucidtips.com/?p=278</guid>
		<description><![CDATA[My post on Installing VMWare Server (and Windows XP) on Ubuntu gets a lot of hits. There is another open source virtualization software from Sun that I really like &#8211; VirtualBox. I personally prefer VirtualBox over VMWare. Installation is a breeze in comparison to VMWare. Binaries are available for a variety of Linux distributions in [...]]]></description>
			<content:encoded><![CDATA[<p>My post on <a title="Installing VMWare Server (and Windows XP) on Ubuntu" href="http://www.lucidtips.com/2009/01/20/installing-vmware-server-and-windows-xp-on-ubuntu/" target="_blank">Installing VMWare Server (and Windows XP) on Ubuntu</a> gets a lot of hits. There is another open source virtualization software from Sun that I really like &#8211; <a href="http://www.virtualbox.org" target="_blank">VirtualBox</a>. I personally prefer VirtualBox over VMWare. Installation is a breeze in comparison to VMWare. <a href="http://www.virtualbox.org/wiki/Downloads" target="_blank">Binaries</a> are available for a variety of Linux distributions in addition to Windows, OS X, Solaris and openSolaris hosts.</p>
<p><strong><span style="text-decoration: underline;">Disclaimer</span></strong>: These steps have worked for me and have been tested on Compaq nc6000 running Ubuntu 9.04 (Jaunty Jackalope). YMMV. I am not responsible for loss of data or damage to computers.</p>
<h2>Installation:</h2>
<p>Install Dynamic Kernel Module Support (dkms) Framework</p>
<p>Although this step is optional it is recommended to install the dkms package it will ensure that VirtualBox host kernel modules are properly updated if the Linux kernel version changes.</p>
<pre>sudo apt-get install dkms</pre>
<p>Next edit /etc/apt/sources.list file and add the following line</p>
<pre>deb http://download.virtualbox.org/virtualbox/debian jaunty non-free</pre>
<p>Before we proceed with the VirtualBox installation we need to add Sun&#8217;s public key for apt-secure</p>
<pre>wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -</pre>
<p>Retrieve new lists of packages</p>
<pre>sudo apt-get update</pre>
<p>We are now ready to install VirtualBox</p>
<pre>apt-get install virtualbox-2.2</pre>
<p>After the installation comples you can start VirtualBox by clicking Start-&gt;System Tools-&gt;Sun VirtualBox or press Alt-F2 and run the command VirtualBox.</p>
<p><a href="https://help.ubuntu.com/community/VirtualBox" target="_blank">Ubuntu Community Documentation</a> has good information on VirtualBox. Refer to <a href="https://help.ubuntu.com/community/VirtualBox/FirstVM" target="_blank">FirstVM</a> section for detailed instructions on creating guest operating systems.</p>
<p>Good luck!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucidtips.com/2009/05/30/virtualbox-virtualization-alternative-to-vmware/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Configure Proxy for Amarok on GNOME</title>
		<link>http://www.lucidtips.com/2009/02/07/configure-proxy-for-amarok-on-gnome/</link>
		<comments>http://www.lucidtips.com/2009/02/07/configure-proxy-for-amarok-on-gnome/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 17:54:50 +0000</pubDate>
		<dc:creator>lucidTipster</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[amarok]]></category>
		<category><![CDATA[cover art]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[lyrics]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.lucidtips.com/?p=255</guid>
		<description><![CDATA[Amarok is an excellent music player that uses some core KDE components (like KDElibs) and can be installed independent of KDE on Ubuntu. One issue with this however is that it does not read the system wide proxy settings from GNOME.  The proxy settings under &#8220;Settings -&#62; Configure Amarok -&#62; Configure engine&#8221; only work for [...]]]></description>
			<content:encoded><![CDATA[<p>Amarok is an excellent music player that uses some core KDE components (like KDElibs) and can be installed independent of KDE on Ubuntu. One issue with this however is that it does not read the system wide proxy settings from GNOME.  The proxy settings under &#8220;Settings -&gt; Configure Amarok -&gt; Configure engine&#8221; only work for Streaming and hence if you are behind the firewall you cannot access the lyrics service or fetch cover art from the internet. This is easy to fix.</p>
<p>To set the proxy for Amarok</p>
<p>Edit the <strong>$HOME/.kde/share/config/kioslaverc</strong> file and add the following entries</p>
<pre>[Proxy Settings][$i]
ProxyType=1
httpProxy=http://username:password@proxyserver:port/
httpsProxy=http://username:password@proxyserver:port/
ftpProxy=http://username:password@proxyserver:port/</pre>
<p>Save the file and restart Amarok and you should be able to access the lyrics service and fetch cover art from the internet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucidtips.com/2009/02/07/configure-proxy-for-amarok-on-gnome/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing VMWare Server (and Windows XP) on Ubuntu</title>
		<link>http://www.lucidtips.com/2009/01/20/installing-vmware-server-and-windows-xp-on-ubuntu/</link>
		<comments>http://www.lucidtips.com/2009/01/20/installing-vmware-server-and-windows-xp-on-ubuntu/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 06:40:09 +0000</pubDate>
		<dc:creator>lucidTipster</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vmware server]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.lucidtips.com/?p=210</guid>
		<description><![CDATA[Virtualization allows running of multiple operating systems and multiple applications on the same computer at the same time. This can be very handy if you are doing software development and need to test your application on multiple platforms or are doing a lot of R&#38;D and get tired of reloading the operating system and software. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Virtualization" target="_blank">Virtualization</a> allows running of multiple operating systems and multiple applications on the same computer at the same time. This can be very handy if you are doing software development and need to test your application on multiple platforms or are doing a lot of R&amp;D and get tired of reloading the operating system and software. Virtualization is also helpful if you need to run Linux and Windows (or different flavor/version of Linux) at the same time and dual boot just does not cut it. <a href="http://www.vmware.com/products/server/" target="_blank">VMWare Server</a> from <a href="http://www.vmware.com/" target="_blank">VMWare</a> is great virtualization software and is provided as freeware. It allows you to create snapshot of the state of any particular virtual machine and revert to it easily.</p>
<p>Update 05/30/2009: Also see <a href="http://www.lucidtips.com/2009/05/30/virtualbox-virtualization-alternative-to-vmware/" target="_blank">VirtualBox &#8211; virtualization alternative to VMWare</a></p>
<p><strong><span style="text-decoration: underline;">Disclaimer</span></strong>: These steps have worked for me and have been tested on Compaq nc6000 running Ubuntu 8.10 (Intrepid Ibex). YMMV. I am not responsible for loss of data or damage to computers.</p>
<p>All the screenshots for this howto can be accessed <a href="http://picasaweb.google.com/lucidtips/InstallingVMWareServerAndWindowsXPOnUbuntu?feat=directlink" target="_blank">here</a>.</p>
<h2>Install required dependencies</h2>
<p>Open terminal window and type the following command</p>
<pre>sudo apt-get install linux-headers-`uname -r` build-essential xinetd gcc-3.4</pre>
<h2>Create required directories</h2>
<p>In this guide I am using $HOME/Downloads as the base directory. You can choose any directory of your choice. Open terminal prompt and type the following command</p>
<pre>mkdir $HOME/Downloads</pre>
<h2>Download VMWare Server</h2>
<p><a href="https://www.vmware.com/freedownload/p/download.php?product=server20&amp;a=DOWNLOAD_FILE&amp;baseurl=http://download2.vmware.com/software/server/&amp;filename=VMware-server-2.0.0-122956.i386.tar.gz" target="_blank">Download VMware Server 2 for Linux Operating Systems TAR image</a> and save it in $HOME/Downloads.</p>
<p>If you already have a VMWare account login with the account. If not complete the registration process. Please make sure you use a valid email address because you will receive VMWare server activation instructions including the serial number via email.</p>
<h2>Installing and Configuring VMWare Server</h2>
<ol>
<li>Unpack the downloaded archive. Open the terminal window (if not already open) and type the following command
<pre>cd $HOME/Downloads
tar -zxvf VMware-server-2.0.0-122956.i386.tar.gz</pre>
</li>
<li>Now change to the installation directory
<pre>cd vmware-server-distrib</pre>
</li>
<li>Run the installation script
<pre>sudo ./vmware-install.pl</pre>
</li>
<li>The installation script will prompt for the directory locations for binary files, initialization scripts, daemon files, library files, manual files, and documentation files. Unless you have a custom installation of Ubuntu accept the default responses.</li>
<li>A message indicating successful installation of VMWare Server for Linux will be displayed.</li>
<li>When prompted to run /usr/bin/vmware-config.pl choose yes.<br />
Note: As per VMWare server documentation configuration with vmware-config.pl is required in the following circumstances:</p>
<ul>
<li>When you install VMware Server for the first time.</li>
<li>When you upgrade your version of VMware Server.</li>
<li>When you upgrade your host operating system kernel. (It is not necessary to reinstall VMware Server after you upgrade your kernel.)</li>
<li>To reconfigure the networking options for VMware Server. For example, to add or remove a virtual network.</li>
</ul>
</li>
<li>The configuration script will attempt to stop the Virtual Machines and VMWare management services. Failed message will be displayed. This is normal. Ignore the failures.</li>
<li>Read and accept the End User License Agreement.</li>
<li>The configuration script will now prompt for information. Unless you have a custom installation of Ubuntu accept the default responses.</li>
<li>When prompted &#8220;Do you want networking for your virtual machines?&#8221; type yes.</li>
<li>VMWare Server provides three choices for networking &#8211; Bridged, NAT and HostOnly. This howto installs all three. Before proceeding I strongly recommend reading Networking Basics on page 212 of <a href="http://www.vmware.com/pdf/vmserver2.pdf" target="_blank">VMWare Server User&#8217;s Guide</a>.</li>
<li>By default configuration script creates a &#8220;Bridged&#8221; network</li>
<li>If you have  multiple ethernet network interfaces available (wired and wireless) you will be prompted to choose the network interface to bridge for virtual machines. If you wish to bridge the other ethernet network interface answer yes to the &#8220;Do you wish to configure another bridged network?&#8221; prompt.</li>
<li>Answer yes to &#8220;Do you want to be able to use NAT networking in your virtual machines?&#8221; and accept the default responses.</li>
<li>Answer yes to &#8220;Do you want to be able to use host-only networking in your virtual machines?&#8221;</li>
<li>Accept default ports for remote, http and https connections (If you are already using those ports change the port number when prompted).</li>
<li>Answer yes to &#8220;Would you like to specify a different administrator?&#8221;</li>
<li>You will be prompted to enter the user for VMWare administrator. Enter the user you are currently logged in as. (Tip: To find the user open terminal window and run the command whoami)</li>
<li>You will be prompted to enter the 20-character serial number. You should have received this via email when you download the TAR image.</li>
<li>Almost done. Accept default responses for the rest of the prompts.</li>
<li>You should see message indicating starting of VMware services, VMware management services and VMware autostart virtual machines.</li>
<li>Successful completion of VMWare Server for Linux message will be displayed and you will be returned to the terminal prompt.</li>
<li>Type exit to close the terminal window.</li>
</ol>
<h2>Creating a new Virtual Machine</h2>
<ol>
<li>VMWare Server interface is web based and can be accessed by going to <a href="http://127.0.0.1:8222" target="_blank">http://127.0.0.1:8222</a>. (see <a href="http://picasaweb.google.com/lh/photo/FwJ6RrkU1t7a7l4gW6xYlw?feat=directlink" target="_blank">screenshot</a>)</li>
<li>To login use the VMWare administrator you created in step 18 above</li>
<li>Once you are successfully logged in the host workspace screen is displayed (see <a href="http://picasaweb.google.com/lh/photo/dlX2aitFnGKE6G5uCvVXzQ?feat=directlink" target="_blank">screenshot</a>)</li>
<li>To create a new Virtual Machine click on &#8220;Create Virtual Machine&#8221; link</li>
<li>Create Virtual Machine wizard window will open.</li>
<li>On the &#8220;Name and Location&#8221; page change the name to &#8220;Windows_XP_PRO&#8221; and select &#8220;standard&#8221; datastore. The standard datastore is created when you install VMWare. Click Next.  (see <a href="http://picasaweb.google.com/lh/photo/W03KxP5ejdhrKJGovuOzzg?feat=directlink" target="_blank">screenshot</a>)</li>
<li>On the &#8220;Guest Operating System&#8221; page select &#8220;Windows operating system&#8221; and change the version to &#8220;Windows XP Professional (32-bit)&#8221;. Click Next. (see <a href="http://picasaweb.google.com/lh/photo/8pang_JrYGnRMc9n6Se0EA?feat=directlink" target="_blank">screenshot</a>)</li>
<li>On the &#8220;Memoy and Processors&#8221; change the memory size and CPU count if required. The default settings work OK. Click Next. (see <a href="http://picasaweb.google.com/lh/photo/gI-99zw8DSrq2-R6VRQ_wg?feat=directlink" target="_blank">screenshot</a>)</li>
<li>On the &#8220;Hard Disk&#8221; page select &#8220;Create a New Virtual Disk&#8221;. Click Next. (see <a href="http://picasaweb.google.com/lh/photo/0TZgfJIL-4JaToQqysBkiw?feat=directlink" target="_blank">screenshot</a>)</li>
<li>On the &#8220;Hard Disk Properties&#8221; page change the capacity and location if required. Click Next. (see <a href="http://picasaweb.google.com/lh/photo/rT1X6zD_es1dRsWAxbWLFw?feat=directlink" target="_blank">screenshot</a>)</li>
<li>On the &#8220;Network Adapter&#8221; page select &#8220;Add a Network Adapter&#8221; and click Next. (see <a href="http://picasaweb.google.com/lh/photo/UuAvJ_yzTYonOIHu2Wqq5A?feat=directlink" target="_blank">screenshot</a>)</li>
<li>On the &#8220;Network Adapter Properties&#8221; page select network connection type (please see Networking Basics on page 212 of <a href="http://www.vmware.com/pdf/vmserver2.pdf" target="_blank">VMWare Server User&#8217;s Guide</a>) and check Yes. Click Next. (see <a href="http://picasaweb.google.com/lh/photo/USA8rW-siynGPNzdCLdN8A?feat=directlink">screenshot</a>)</li>
<li>On the &#8220;CD/DVD Drive&#8221; page select &#8220;Use a Physical Drive&#8221; and click Next. (see <a href="http://picasaweb.google.com/lh/photo/fdaRXM7gZum5sBHyRM5wkA?feat=directlink" target="_blank">screenshot</a>)</li>
<li>On the &#8220;CD/DVD Drive Properties&#8221; page select the Host CD/DVD Drive and click Next. (see <a href="http://picasaweb.google.com/lh/photo/s0pVmQqENKEcNAbb21xsQQ?feat=directlink" target="_blank">screenshot</a>)</li>
<li>On the &#8220;Floppy Drive&#8221; page the option &#8220;Use a Physical Drive&#8221; will be disabled if your machine does not have a Floppy Drive. If you do not wish to use Floppy Drive on the Virtual Machine select &#8220;Don&#8217;t Add a Floppy Drive&#8221;. Click Next. (see <a href="http://picasaweb.google.com/lh/photo/5Bd-mEPx4gKKD_8IoxFBSw?feat=directlink" target="_blank">screenshot</a>)</li>
<li>On the &#8220;USB Controller&#8221; page select &#8220;Add a USB Controller&#8221; and click Next.  (see <a href="http://picasaweb.google.com/lh/photo/14nu2AU5pKenpaz_5PUCZg?feat=directlink" target="_blank">screenshot</a>)</li>
<li>On the &#8220;Ready to Complete&#8221; page review your selection. Click Finish. (see <a href="http://picasaweb.google.com/lh/photo/kOQxKniVP15VVbuJ4-c5NQ?feat=directlink" target="_blank">screenshot</a>)</li>
<li>You will be returned to host workspace screen and the new virtual machine will be listed under the Inventory.</li>
</ol>
<h2>Installing Operating System on the new Virtual Machine</h2>
<ol>
<li>Click on Windows_XP_Pro from the inventory list</li>
<li>Click on the Console tab of the virtual machine. (see <a href="http://picasaweb.google.com/lh/photo/ZbbE4FWsIeAsMT4WInvw6g?feat=directlink" target="_blank">screenshot</a>)</li>
<li>To use the console you need VMWare Remote Console Plug-in.</li>
<li>Click the Install plug-in link</li>
<li>Firefox might prevent installation of the software. Click the Allow button. (see <a href="http://picasaweb.google.com/lh/photo/ZbbE4FWsIeAsMT4WInvw6g?feat=directlink" target="_blank">screenshot</a>)</li>
<li>Firefox Software Installation screen will appear. Click Install Now. (see <a href="http://picasaweb.google.com/lh/photo/L6xAlOiJY9XOfurSf4FWNQ?feat=directlink" target="_blank">screenshot</a>)</li>
<li>After successful installation of the plug-in you will be prompted to restart Firefox. Click Restart Firefox.</li>
<li>Open the VMWare Server interface going to <a href="http://127.0.0.1:8222" target="_blank">http://127.0.0.1:8222</a></li>
<li>Login with the correct username / password.</li>
<li>Once you are successfully logged in the host workspace screen is displayed</li>
<li>Insert the Windows XP installation CD in the CD/DVD drive of your PC.</li>
<li>Click on the Console tab of the virtual machine. (see <a href="http://picasaweb.google.com/lh/photo/kWHU2H20GDD1QA4tHu8mcQ?feat=directlink" target="_blank">screenshot</a>)</li>
<li>Click Virtual Machine from the top navigation and then select Power On/Resume (The green Play button on the top navigation can also be used to Power On the virtual machine) (see <a href="http://picasaweb.google.com/lh/photo/2WJ79STJVVAW198d324Tsg?feat=directlink" target="_blank">screenshot</a>)</li>
<li>Click anywhere within the console tab to open it in a new window. (see <a href="http://picasaweb.google.com/lh/photo/KyYq0L_HHhaemIlAfjwSSw?feat=directlink">screenshot</a>)</li>
<li>The new Virtual Machine will boot from the CD and the Windows XP installation screen will be visible. (see <a href="http://picasaweb.google.com/lh/photo/8ygTwk115TYgv87yiRJPCA?feat=directlink" target="_blank">screenshot</a>)</li>
<li>Proceed with installing Windows XP as you would on a stand alone PC. (Please remember to run Windows Update to install all the latest updates)</li>
<li>You can now remove the Windows XP installation CD in the CD/DVD drive of your PC</li>
</ol>
<h2>Installing VMWare Tools</h2>
<p>VMWare Tools is a set of utilities that help management of the virtual machine and also enhances performance. It is strongly recommended installing VMWare Tools</p>
<ol>
<li>In VMWare Infrastructure Web Access window select Windows XP from the inventory list.</li>
<li>Power On the Virtual Machine if required</li>
<li>Click on &#8220;Install VMWare Tools&#8221; link</li>
<li>VMWare Tools installation dialog box will appear. Click Install (see <a href="http://picasaweb.google.com/lh/photo/J1Xlw1bHB1An0TQ6BY4sNQ?feat=directlink" target="_blank">screenshot</a>)</li>
<li>Click on the Console tab of the virtual machine and then click anywhere to open the console in new window.</li>
<li>VMWare Tools installation wizard will be visible. Click Next. (see <a href="http://picasaweb.google.com/lh/photo/DWHV-XuapvLeQIbwtlEYMQ?feat=directlink" target="_blank">screenshot</a>)</li>
<li>Select Typical and click Next (see <a href="http://picasaweb.google.com/lh/photo/YWtZ3lZg3nNtP3BJo9ONfg?feat=directlink" target="_blank">screenshot</a>)</li>
<li>Click Install. (see <a href="http://picasaweb.google.com/lh/photo/pAlnV7jH5VTMQWN9LfEBmA?feat=directlink" target="_blank">screenshot</a>)</li>
<li>Click Finish (see <a href="http://picasaweb.google.com/lh/photo/5yAyfT5F5fksGZCj2ZL7kQ?feat=directlink" target="_blank">screenshot</a>)</li>
<li>Click Yes to restart (see <a href="http://picasaweb.google.com/lh/photo/RO6MBjtNaaP1F_A27QmWyw?feat=directlink" target="_blank">screenshot</a>)</li>
</ol>
<h2>Shutting down Virtual Machine</h2>
<ol>
<li>In VMWare Infrastructure Web Access window select Windows XP from the inventory list</li>
<li>Click Virtual Machine from the top navigation and then select Power Off/  (The red Stop button on the top navigation can also be used to Power On the virtual machine) (see <a href="http://picasaweb.google.com/lh/photo/nZqHZRPwBu3fokRmrfP1GA?feat=directlink" target="_blank">screenshot</a>)</li>
</ol>
<p>You also may shutdown by selecting Start-&gt;Turn Off Computer</p>
<h2>Licensing</h2>
<p>Installation of Windows under a virtual machine requires a license as well. Microsoft has a <a href="http://www.microsoft.com/licensing/highlights/virtualization.mspx" target="_blank">virtualization license plan</a> whereby customers can pay license fees for the number of processors the software will run on in virtual mode.</p>
<h2>Final Thoughts</h2>
<p>I find virtualization very helpful and run multiple Virtual Machines. VMWare Server supports a range of Windows and Linux host operating systems. Please refer to page 25-26 of the of <a href="http://www.vmware.com/pdf/vmserver2.pdf" target="_blank">VMWare Server User&#8217;s Guide</a>. Follow the instructions above to create a new Virtual Machine and select the operating system of your choice.</p>
<p>Good luck on your VMWare journey.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucidtips.com/2009/01/20/installing-vmware-server-and-windows-xp-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Send hostname to DHCP server on Ubuntu/XUbuntu</title>
		<link>http://www.lucidtips.com/2008/11/17/send-hostname-to-dhcp-server-on-ubuntuxubuntu/</link>
		<comments>http://www.lucidtips.com/2008/11/17/send-hostname-to-dhcp-server-on-ubuntuxubuntu/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 05:43:18 +0000</pubDate>
		<dc:creator>lucidTipster</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xubuntu]]></category>

		<guid isPermaLink="false">http://www.lucidtips.com/?p=203</guid>
		<description><![CDATA[Default installation of Ubuntu and XUbuntu do not send the hostname to the DHCP server and this prevents other machines on the network from looking up your machine by using the FQDN (Fully Qualified Domain Name). This is easy to fix with a few tweaks to the DHCP configuration file.
Disclaimer: These steps have worked for [...]]]></description>
			<content:encoded><![CDATA[<p>Default installation of Ubuntu and XUbuntu do not send the hostname to the DHCP server and this prevents other machines on the network from looking up your machine by using the FQDN (Fully Qualified Domain Name). This is easy to fix with a few tweaks to the DHCP configuration file.</p>
<p><strong><span style="text-decoration: underline;">Disclaimer</span></strong>: These steps have worked for me and have been tested on Compaq Evo N610c running Ubuntu 8.04 LTS (Hardy Heron) and Compaq Armada M300 running XUbuntu 8.04 LTS (Hardy Heron). YMMV. I am not responsible for loss of data or damage to computers.</p>
<p>1. Open Terminal Window<br />
2. If you already know your hostname skip to step 4<br />
3. To find your hostname run the following command</p>
<pre>hostname</pre>
<p>4. Make a copy of the existing dhclient configuration file</p>
<pre>sudo cp /etc/dhcp3/dhclient.conf /etc/dhcp3/dhclient.original</pre>
<p>5. Edit the dhclient configuration file</p>
<pre>sudo vi /etc/dhcp3/dhclient.conf</pre>
<p>6. Search for the line send host-name (On XUbuntu it is missing completely and you will need to add it in)<br />
7. Uncomment the line and replace &lt;hostname&gt; with the hostname identified in step 3. The line should look similar to (don&#8217;t leave out the semi-colon at the end)</p>
<pre>send host-name "ubuntu-laptop";</pre>
<p>8. Save the file and exit gedit<br />
9. Restart networking</p>
<pre>sudo /etc/init.d/networking restart</pre>
<p>That&#8217;s it &#8230; test if other machines on the network can now look up your machine by using the FQDN. If you notice something wrong you can always restore the original dhclient configuration file.</p>
<p>The above instructions should work for KUbuntu too although I have not validate it myself.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucidtips.com/2008/11/17/send-hostname-to-dhcp-server-on-ubuntuxubuntu/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>XUbuntu 8.04 on Compaq Armada M300</title>
		<link>http://www.lucidtips.com/2008/10/25/xubuntu-804-on-compaq-armada-m300/</link>
		<comments>http://www.lucidtips.com/2008/10/25/xubuntu-804-on-compaq-armada-m300/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 04:25:29 +0000</pubDate>
		<dc:creator>lucidTipster</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[armada]]></category>
		<category><![CDATA[compaq]]></category>
		<category><![CDATA[eepro100]]></category>
		<category><![CDATA[es1968]]></category>
		<category><![CDATA[ess]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[m300]]></category>
		<category><![CDATA[mobility]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[xubuntu]]></category>

		<guid isPermaLink="false">http://www.lucidtips.com/?p=157</guid>
		<description><![CDATA[I recently decided to rebuild my trusted little Compaq Armada M300 laptop and thought might give Ubuntu another try. Since the laptop is only 500 Mhz with 128 MB RAM XUbuntu is a better candidate as compared to Ubuntu. My earlier attempt of installing XUbuntu had not been very successful but this time I managed to [...]]]></description>
			<content:encoded><![CDATA[<p>I recently decided to rebuild my trusted little Compaq Armada M300 laptop and thought might give Ubuntu another try. Since the laptop is only 500 Mhz with 128 MB RAM XUbuntu is a better candidate as compared to Ubuntu. My earlier attempt of installing XUbuntu had not been very successful but this time I managed to get things working</p>
<p>I happen to have the optional Mobile Expansion Unit (MEU) for docking the M300 and hence can use the CD ROM drive. If you do not have the Mobile Expansion Unit and have a purely disk less M300 you can still install XUbuntu on it although it is a bit more complicated. See UbuntuGeek&#8217;s post on <a href="http://www.ubuntugeek.com/install-ubuntukubuntuedubuntuxubuntu-without-cdrom-drive.html" target="_blank">Installing Ubuntu/Kubuntu/Edubuntu/Xubuntu without CDROM Drive</a>.</p>
<p>M300 does not have enough horsepower so install via Live CD does not work. Use Alternate install CD instead. During the install process the detection of the network adapter fails. Ignore this error and continue with the install. The rest of the install should go smoothly.</p>
<p>When XUbuntu starts 2 things do not work correctly &#8211; the network adapter and the sound card. Both of this can be fixed by loading the appropriate modules.</p>
<p>First step is to identify the type of network adapter and sound card. To do this open the terminal window and run the command lspci</p>
<pre>lucidtipster@lucidtips:~$ lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) (rev 03)
00:04.0 CardBus bridge: Texas Instruments PCI1211
00:05.0 VGA compatible controller: ATI Technologies Inc 3D Rage LT Pro (rev dc)
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:08.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)
00:09.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 09)
00:09.1 Serial controller: Agere Systems LT WinModem</pre>
<p>The listing above tells us that the network adapter is Intel Pro/100+ Mini PCI Ethernet and the sound card is ESS Maestro 2E sound card</p>
<p>To load the module for network adapter. Open the command prompt and run the command</p>
<pre>sudo modprobe eepro100</pre>
<p>At this time if you do not see any error message your network adapter should be working. If you are configured for DHCP you should have aquired an IP address. To check open the terminal window and run the command</p>
<pre>ifconfig</pre>
<p>If you did get an IP successfully you should be able to browse the internet. If you did not get an IP try running the following commands.</p>
<pre>sudo ifdown eth0
sudo ifup eth0</pre>
<p>Now again check if you have acquired an IP. One down and one to go &#8230; To load the module for sound card open the command prompt and run the command</p>
<pre>sudo modprobe snd-es1968</pre>
<p>If you do not see any error message your sound card too should be working as well. Download <a href="http://www.nch.com.au/acm/sample.ogg" target="_self">sample.ogg</a> to test the sound.</p>
<p>To make sure both these modules are loaded automatically upon system boot up modify the /etc/modules file and add the following lines to it.</p>
<pre>eepro100
snd-es1968</pre>
<p>To edit the /etc/modules file using vi the command is</p>
<pre>sudo vi /etc/modules</pre>
<p>The content of my /etc/modules file is listed below</p>
<pre>lucidtipster@lucidtips:~$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

loop
lp
fuse
eepro100
snd-es1968</pre>
<p>Lastly my M300 had old BIOS from 1999 and I would get an error message during booting. I managed to fix this by downloading and upgrading to the <a href="http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&amp;cc=us&amp;prodTypeId=321957&amp;prodSeriesId=96234&amp;prodNameId=96720&amp;swEnvOID=1093&amp;swLang=8&amp;mode=2&amp;taskId=135&amp;swItem=PSG_I14326-36004" target="_blank">latest BIOS</a>. This too turned out to be a little tricky because I had to make a bootable CD with the BIOS upgrade on it.</p>
<p>Update 26-Jan-2009 &#8211; By popular demand I am adding ISO image and BIOS Upgrade Instructions</p>
<ol>
<li><a href="http://www.lucidtips.com/wordpress/wp-content/uploads/2008/10/m300_m700_bios_upgrades.iso" target="_blank">Download ISO </a>for bootable CD with BIOS upgrade</li>
<li>Burn CD from the ISO image</li>
<li>Boot using CD</li>
<li>Change to X Drive</li>
<li>Change to M300 directory</li>
<li>Run ROMPAQ.EXE to launch the BIOS upgrade program</li>
</ol>
<p>Good luck!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucidtips.com/2008/10/25/xubuntu-804-on-compaq-armada-m300/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Installing Avant Window Navigator (AWN) and Cairo Dock on Ubuntu</title>
		<link>http://www.lucidtips.com/2008/10/05/installing-avant-window-navigator-awn-and-cairo-dock-on-ubuntu/</link>
		<comments>http://www.lucidtips.com/2008/10/05/installing-avant-window-navigator-awn-and-cairo-dock-on-ubuntu/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 16:35:43 +0000</pubDate>
		<dc:creator>lucidTipster</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[avant window navigator]]></category>
		<category><![CDATA[awn]]></category>
		<category><![CDATA[cairo dock]]></category>
		<category><![CDATA[docks]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.lucidtips.com/?p=144</guid>
		<description><![CDATA[One of the cool features of Apple&#8217;s Mac Operating system is the Dock. It is used to launch applications and also switch between running applications. Linux communites like to adopt the good from other operating systems and there are several Docks available for Linux as well. The two popular ones for Ubuntu are Avant Window [...]]]></description>
			<content:encoded><![CDATA[<p>One of the cool features of Apple&#8217;s Mac Operating system is the Dock. It is used to launch applications and also switch between running applications. Linux communites like to adopt the good from other operating systems and there are several Docks available for Linux as well. The two popular ones for Ubuntu are Avant Window Navigator (AWN) and Cairo Dock.</p>
<p><strong><span style="text-decoration: underline;">Disclaimer</span></strong>: These steps have worked for me and have been tested on Compaq nc6000 running Ubuntu 8.04 LTS (Hardy Heron). YMMV. I am not responsible for loss of data or damage to computers.</p>
<h2>Prerequisites</h2>
<h3>Check if your video card can support 3D graphics</h3>
<ol>
<li>Click on <strong>System</strong>-&gt;<strong>Preferences</strong>-&gt;<strong>Appearance</strong></li>
<li>Select <strong>Visual Effects</strong> tab</li>
<li>Select <strong>Normal</strong> or <strong>Extra</strong></li>
<li>If you see &#8220;Desktop effects could not be enabled&#8221; message then your video card cannot support 3D graphics and you will not be able to use these docks.</li>
<li>Click <strong>Close</strong></li>
</ol>
<h3>Install compizconfig-settings-manager</h3>
<p>To you use AWN or Cairo Dock you need to have composite manager such as Compiz-Fusion installed. You can install it using Synaptics Package Manager (System-&gt;Administration-&gt;Synaptics Package Manager) OR from the<strong> </strong>command line using the following command (you will be prompted for password)</p>
<pre>sudo apt-get install compizconfig-settings-manager</pre>
<h2>Avant Window Navigator (AWN)</h2>
<p>AWN positions itself at the bottom of the screen and can be used to keep track of open windows and behaves like a normal window list. Appreance and functionality of AWN can be customized via various plugins and applets that are available for download. By default it does not include themes.</p>
<p>AWN Wiki states that the AWN package included in Ubuntu Hardy Heron (8.04) LTS however it is very old and outdated. It recommends using PPA to install the packages instead. To do this edit <strong>/etc/apt/sources.list</strong> file using either vi or gedit and add the following lines</p>
<pre>deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main</pre>
<p>Now you need to update the package cache</p>
<pre>sudo apt-get update</pre>
<p>You are now ready to install AWN</p>
<pre>sudo apt-get install avant-window-navigator-trunk awn-manager-trunk awn-extras-applets-trunk</pre>
<p>Now that AWN is installed you can start it from the menu <strong>Applications-&gt; Accessories-&gt;Avant Window Navigator</strong></p>
<p>To have AWN autostart when you reboot your machine select <strong>Automatically start AWN on login</strong> on the <strong>General</strong> tab of awn-manager.</p>
<h2>Cairo Dock</h2>
<p>Cairo Dock is similar to AWN and can be used to launch application and utilize small applets that reside on the bar. You can attach it to either top or bottom of your screen and is highly configurable.</p>
<p>There are more than one way to install Cairo Dock and the instructions below are for using the repositories. You can also <a href="https://help.ubuntu.com/community/CairoDock#With%20the%20deb%20package%20(stable)" target="_blank">install Cairo Dock with the deb package</a></p>
<p>Similar to AWN Cairo Dock too has its repositories. You first need to download and install the signed key for authentication. This prevents security errors from popping up. Open Terminal Window and run the following command</p>
<pre>wget -q http://repository.cairo-dock.org/ubuntu/cairo-dock.gpg -O- | sudo apt-key add -</pre>
<p>Next edit <strong>/etc/apt/sources.list</strong> file using either vi or gedit and add the following lines</p>
<pre>deb http://repository.cairo-dock.org/ubuntu hardy cairo-dock</pre>
<p>Once again update the package cache</p>
<pre>sudo apt-get update</pre>
<p>You are now ready to install Cairo Dock</p>
<pre>sudo apt-get install cairo-dock cairo-dock-plug-ins</pre>
<p>To run Cairo Dock press Alt-F2 and type cairo-dock</p>
<h2>Minimizing / Closing Bottom Gnome Panel</h2>
<p>If you are going to use AWN or Cairo Dock the default GNome panel at the bottom of the screen is redundant. You can close or minimize it.</p>
<h2>Final Thoughts</h2>
<p>So which one is better &#8211; well try both and decide for yourself it ain&#8217;t gonna break anything. My personal preference is Cairo Dock. It is much nicer to use comes with a bunch of themes/launchers that you can use.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucidtips.com/2008/10/05/installing-avant-window-navigator-awn-and-cairo-dock-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wireless using W200 on openSUSE 11.0</title>
		<link>http://www.lucidtips.com/2008/09/06/wireless-using-w200-on-opensuse-110/</link>
		<comments>http://www.lucidtips.com/2008/09/06/wireless-using-w200-on-opensuse-110/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 15:53:43 +0000</pubDate>
		<dc:creator>lucidTipster</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[knetwork]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[orinoco]]></category>
		<category><![CDATA[w200]]></category>
		<category><![CDATA[wireless]]></category>
		<category><![CDATA[wpa_supplicant]]></category>

		<guid isPermaLink="false">http://www.lucidtips.com/?p=121</guid>
		<description><![CDATA[In March I had written a post related to Wireless using W200 on openSUSE 10.3 which happens to be one of the most viewed entry on this blog. Since I wrote that post openSUSE 11.0 has been released and hence am posting an updated version of this howto.
Disclaimer:

The instructions below have worked for me and [...]]]></description>
			<content:encoded><![CDATA[<p>In March I had written a post related to <a href="http://www.lucidtips.com/2008/03/01/wireless-using-w200-on-opensuse-103/" target="_blank">Wireless using W200 on openSUSE 10.3</a> which happens to be one of the most viewed entry on this blog. Since I wrote that post openSUSE 11.0 has been released and hence am posting an updated version of this howto.</p>
<p><span style="text-decoration: underline;">Disclaimer</span>:</p>
<ol>
<li>The instructions below have worked for me and tested on Compaq EVO N610c running openSUSE 11.0 (2.6.25.11-0.1-pae). YMMV. I am not responsible for loss of data or damage to your machine.</li>
<li>Using KNetwork Manager with W200 causes system to hang up. Use ifup instead. (On SUSE forums it has been mentioned that my post is wrong and you do not need to disable KNetwork Manager. However I have to admit I have not figured out a way to make W200 work with KNetwork Manager).</li>
<li>I have only tested with WEP. Do not know the status of WPA/WPA2. If you do test with WPA/WPA2 I would appreciate your feedback.</li>
<li>You need to repeat these steps after any kernel updates.</li>
</ol>
<p><strong>Prerequisites</strong></p>
<p>Check your kernel version</p>
<pre>uname -r</pre>
<p>Using YaST Software Management install the following packages</p>
<p>cpp43<br />
curl<br />
gcc<br />
kernel-source<br />
linux-kernel-headers<br />
make<br />
subversion</p>
<p><strong>Configure the kernel</strong></p>
<p>Before we proceed further we need to configure the kernel source</p>
<pre>cd /lib/modules/$(uname -r)/build/
su
(root password)
cp /boot/config-$(uname -r) .config
make oldconfig
make prepare</pre>
<p><strong>Downlading the driver</strong></p>
<p>Download the suitable revision of the orinoco_usb driver from SVN. For me revision 1300 has worked correctly.</p>
<pre>svn co -r 1300 https://orinoco.svn.sourceforge.net/svnroot/orinoco/branches/usb/</pre>
<p><strong>Compile and install the driver</strong></p>
<pre>cd usb
make
sudo make install</pre>
<p><strong>Download the firmware</strong></p>
<p>The firmware directory has a script that makes this task easier</p>
<pre>cd firmware
./get_ezusb_fw</pre>
<p><strong>Copy firmware to appropriate location</strong></p>
<pre>sudo cp orinoco_ezusb_fw /lib/firmware</pre>
<p><strong>Activating the adapter</strong></p>
<p>Almost there &#8230; load driver into the kernel</p>
<pre>sudo /sbin/modprobe -v orinoco_usb</pre>
<p>The tiny green light on the side of W200 should come on. Eureka!!! (if it did not come on, try rebooting)</p>
<p><strong>Disable KNetwork Manager and Configure wireless card<br />
</strong></p>
<ol>
<li>Start YaST and select Network Devices-&gt;Network Settings</li>
<li>You should see &#8220;Compaq WLAN Multiport W200&#8243; listed there with &#8220;Not configured&#8221; in the IP Address column</li>
<li>Before we proceed we need to disable use of KNetwork Manager. Click on &#8220;Global Options&#8221; tab and select &#8220;ifup&#8221; instead of KNetwork Manager</li>
<li>Click on &#8220;Overview&#8221; tab</li>
<li>Select &#8220;Compaq WLAN Multiport W200&#8243; and click the &#8220;Edit&#8221; button</li>
<li>Click on &#8220;General&#8221; tab. Select &#8220;At Boot Time&#8221; under &#8220;Device Activation&#8221;</li>
<li>Click on &#8220;Address Tab&#8221;. Select &#8220;Dynamic Address DHCP&#8221; or Statically Assigned IP Address depending on your network setup.</li>
<li>Click on &#8220;Next&#8221; button</li>
<li>On Wireless Device Settings select &#8220;Managed&#8221; under &#8220;Operating Mode&#8221; and other options to match your network settings (reminder I have only tested with WEP. If you do test with WPA/WPA2 do send me your feedback)</li>
<li>Click &#8220;Next&#8221; button</li>
<li>Click &#8220;Finish&#8221; button</li>
</ol>
<p><strong>Configure Wireless Connection</strong></p>
<p>Now you need to configure the wireless connection and since we have disabled KNetwork Manager all this needs to be done via command line. It is very easy to do and the command that does this is iwconfig.</p>
<pre>iwconfig &lt;interface&gt; essid &lt;ESSID&gt; key &lt;wirelesskey&gt; mode &lt;managed|master|secondary|ad-hoc|monitor|repeater|auto&gt;</pre>
<p>Example (Open Terminal Window and run)</p>
<pre>sudo /usr/sbin/iwconfig eth1 essid "Linksys" key abcd1234 mode managed</pre>
<p>susegeek has a good post on <a href="http://www.susegeek.com/wireless/iwconfig-wireless-interface-configuration-utility-in-linux/" target="_blank">using iwconfig to configure wireless</a>.</p>
<p>You now need to stop start your wireless card for the changes to take effect. Open Terminal Window and run</p>
<pre>sudo /sbin/ifdown eth1
sudo /sbin/ifup eth1</pre>
<p><strong>Testing</strong></p>
<p>Open Terminal Window and run</p>
<pre>/sbin/ifconfig</pre>
<p>to see if you have obtained IP address.</p>
<p>The final step of the journey is to make sure you can surf the internet. To truly test this we should disable the wired network card</p>
<pre>sudo /sbin/ifdown eth0</pre>
<p>Now see if you are able to traceroute</p>
<pre>/usr/sbin/traceroute www.google.com</pre>
<p>If you did not get any errors you should be able to launch Firefox or Konqueror and surf your favorite web sites.</p>
<p><strong>Prevent KNetwork Manager from auto starting</strong></p>
<p>KNetwork Manager hangs while using W200. I have not been able to figure out how to get W200 to work with KNetwork Manager. In SUSE forms it has been mentioned that my instructions are incorrect and KNetwork Manager does work with W200 if you use wpa_supplicant package. I would appreciate if someone could tell me how <img src='http://www.lucidtips.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I can update this post entry which could help other openSUSE users as well.</p>
<p>To prevent KNetwork Manager from auto starting when machine is started open the Terminal Window and run the following command</p>
<pre>sudo mv /opt/kde3/share/autostart/knetworkmanager-autostart.desktop $HOME/</pre>
<p><strong>Modify boot.local file</strong></p>
<p>In my testing I noticed that when the laptop was rebooted the DNS settings would not stick. I got around this by modifying the /etc/init.d/boot.local file</p>
<pre>sudo vi /etc/init.d/boot.local</pre>
<p>and add the line</p>
<pre>/sbin/dhclient eth1</pre>
<p>Save the file and reboot the laptop and ensure you are able to connect to the internet via the wireless card.</p>
<p><strong>Final Thoughts</strong></p>
<p>I am not sure why I had to run iwconfig in addition to wireless card configuration made via YaST. Maybe just running dhclient would have sufficed but the steps above are the sequence I followed and it worked out all right. I would appreciate your feedback. Good luck!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucidtips.com/2008/09/06/wireless-using-w200-on-opensuse-110/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Setting up a Linux based software load balancer</title>
		<link>http://www.lucidtips.com/2008/08/24/setting-up-a-linux-based-software-load-balancer/</link>
		<comments>http://www.lucidtips.com/2008/08/24/setting-up-a-linux-based-software-load-balancer/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 17:32:13 +0000</pubDate>
		<dc:creator>lucidTipster</dc:creator>
				<category><![CDATA[freeware]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[balance]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[load balance]]></category>
		<category><![CDATA[pen]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.lucidtips.com/?p=99</guid>
		<description><![CDATA[As the name suggest Load Balancing is simply spreading the work load between two or more backend servers. Load Balancing can be used for any kind of server &#8211; HTTP, SMTP, POP/IMAP, DB. There are several open source software load balancers available but for the purpose of this post we will look at Pen and [...]]]></description>
			<content:encoded><![CDATA[<p>As the name suggest Load Balancing is simply spreading the work load between two or more backend servers. Load Balancing can be used for any kind of server &#8211; HTTP, SMTP, POP/IMAP, DB. There are several open source software load balancers available but for the purpose of this post we will look at Pen and Balance.</p>
<p><strong><span style="text-decoration: underline;">Disclaimer</span></strong>: These steps have worked for me and have been tested on Compaq Evo N610c running Ubuntu 8.04 LTS (Hardy Heron). YMMV. I am not responsible for loss of data or damage to computers.</p>
<p>The packages for both Pen and Balance are available for Ubuntu (both packages are available for OpenSUSE as well). You do not need both Balance and Pen. Either one of them will work. I have included instructions for both so you can test them yourselves and decide which works best.</p>
<h3>Installing Balance on Ubuntu</h3>
<p>Balance is simple but powerful generic tcp proxy with round robin load balancing and failover mechanisms. It is Open Source Software and released under GPL licensing terms. <a href="http://www.inlab.de/" target="_blank">Inlab Software</a> the developers of Balance also have a commercial version called <a href="http://www.inlab.de/balanceng/index.html" target="_blank">BalanceNG<sup>®</sup></a></p>
<p>To install Balance run the following command (see <a href="http://picasaweb.google.com/lucidtips/SettingUpALinuxBasedSoftwareLoadBalancer/photo#5237406065447956050" target="_blank">screenshot</a>)</p>
<pre>sudo apt-get install balance</pre>
<h3>Using Balance</h3>
<p>It is very easy to use Balance. The syntax is</p>
<pre>balance port host1 host2</pre>
<p>So if you wanted to setup load balancing for two machines that run Apache the command would be</p>
<pre>sudo balance -df 80 192.168.1.105 192.168.1.108</pre>
<p>The -df tells Balance to display debugging and tracing information messages on the screen and to stay in the foreground. Note we need to run using sudo because we are trying to access ports lower than 1024. (see <a href="http://picasaweb.google.com/lucidtips/SettingUpALinuxBasedSoftwareLoadBalancer/photo#5237406070047784386" target="_blank">screenshot</a>)</p>
<p>To use failover mechanism the you need to specify the failover host</p>
<pre>sudo balance -df 80 192.168.1.105 192.168.1.108 ! 192.168.1.110</pre>
<p>See <a href="http://www.inlab.de/balance.pdf" target="_blank">Balance Manual</a> for more information</p>
<h3>Installing Pen on Ubuntu</h3>
<p>To install Pen the command is (see <a href="http://picasaweb.google.com/lucidtips/SettingUpALinuxBasedSoftwareLoadBalancer/photo#5237406065027756178" target="_blank">screenshot</a>)</p>
<pre>sudo apt-get install pen</pre>
<h3>Using Pen</h3>
<p>Pen usage syntax is very similar to Balance</p>
<pre>pen port host1 host2</pre>
<p>To setup load balancing for two machines that run Apache the command would be</p>
<pre>sudo pen -df 80 192.168.1.105 192.168.1.108</pre>
<p>The -df displays debugging and tracing information messages on the screen and stay in the foreground. Note we need to run using sudo because we are trying to access ports lower than 1024. (See <a href="http://picasaweb.google.com/lucidtips/SettingUpALinuxBasedSoftwareLoadBalancer/photo#5237406068653772690" target="_blank">screenshot</a>)</p>
<p>See <a href="http://siag.nu/pen/" target="_blank">Pen web site</a> for more information</p>
<p>Though Load Balancing as listed above is not suitable for Production systems it certainly is helpful if you are developing software and want to test how it would behave behind a load balancer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucidtips.com/2008/08/24/setting-up-a-linux-based-software-load-balancer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
