<?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>radio.McDougallsHome.net &#187; Ubuntu</title>
	<atom:link href="http://radio.mcdougallshome.net/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://radio.mcdougallshome.net</link>
	<description>Ham Radio Blog of Amateur Radio Station K7JM</description>
	<lastBuildDate>Sat, 07 Jan 2012 01:13:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image>
  <link>http://radio.mcdougallshome.net</link>
  <url>http://radio.mcdougallshome.net//wp-content/uploads/2008/09/ham_radio2.png</url>
  <title>radio.McDougallsHome.net</title>
</image>
		<item>
		<title>How I Back Up My Ubuntu Linux Laptop</title>
		<link>http://radio.mcdougallshome.net/software/how-i-back-up-my-ubuntu-linux-laptop/</link>
		<comments>http://radio.mcdougallshome.net/software/how-i-back-up-my-ubuntu-linux-laptop/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 01:05:06 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Computers - Software]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[back in time]]></category>
		<category><![CDATA[backup linux laptop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sshfs]]></category>

		<guid isPermaLink="false">http://radio.mcdougallshome.net/?p=584</guid>
		<description><![CDATA[I am an ardent believer of backups. My desktop computer is backed up nightly to an external usb drive using a program called Back In Time. It uses the famous rsync program to do the backups. The neat thing about rsync, is that it uses hard links to link to previously backedup files that have [...]]]></description>
			<content:encoded><![CDATA[<p><strong>I am an ardent believer of backups.</strong> My desktop computer is backed up nightly to an external usb drive using a program called <a href="http://backintime.le-web.org/" target="_blank">Back In Time</a>. It uses the famous <a href="http://en.wikipedia.org/wiki/Rsync" target="_blank">rsync</a> program to do the backups. The neat thing about rsync, is that it uses <a title="Explanation of a Hard Link" href="http://linuxgazette.net/105/pitcher.html" target="_blank">hard link</a>s to link to previously backedup files that have not changed. What this means, is that if a file does not change, it is not copied multiple times to the hard drive, but just once. This saves a very large amount of disk space, while preserving the original directory structure. Back In Time is started though a <a href="http://en.wikipedia.org/wiki/Cron" target="_blank">cron job</a>, and as long as the desktop computer is on, it will be backed up. By the way, my computers run with the <a href="http://www.ubuntu.com/" target="_blank">UBUNTU Linux operating system</a>. These instructions are for Linux and will not work on Windows systems. My laptop us running Ubuntu 11.10, and my server is running Ubuntu 10.04.3 LTS. <a href="http://www.ubuntu.com/" target="_blank">Check out Ubuntu Linux at ubuntu.com</a>.</p>
<p>The setup for my desktop will not work for my laptop. My laptop is not always on, and is not always available around the home network to be backed up. I needed a system that would automatically backup my laptop whenever it is on, but only once a day. I have been doing manual backups, but that is a hassle. I may eventually employ this backup method to my desktop so I don&#8217;t have to keep it on all the time either.</p>
<p>Here are a couple of problems I needed to overcome. If I mounted a server drive from my laptop, and backup remotely to the server, rsync would not preserver the hard links. This not only takes up a lot of disk space, but every file would need to be sent over to the server during every backup. Over wifi, a typical backup would take longer than a day. Not ideal for a daily backup. I therefore, had to initiate the backup from the server. This meant, sshing into the server, mounting the laptop as a drive in the server, and starting the backup from the server end.</p>
<p>I searched for solutions to these problems, and came up with a multitude of answers that were not particularly ideal for me to impliment. One solution was to use <a href="http://nfs.sourceforge.net/nfs-howto/" target="_blank">NFS</a> to mount the drives in <a href="http://www.tuxfiles.org/linuxhelp/fstab.html" target="_blank">fstab</a>. I did not want to put it in fstab because, I did not want it to mount automatically when the server booted (or the laptop for that matter). Another solution was to continuously poll for the existance of the laptop, from the server, and when it &#8216;appeared on the network&#8217;, start a backup. I then would have to keep track of it to make sure it was only backed up once a day. None of these solutions suited me well.</p>
<h2><strong>What I did&#8230;</strong></h2>
<p>Through a bit of more studying and searching, I discovered that a remote script can be run by <a href="http://support.suso.com/supki/SSH_Tutorial_for_Linux" target="_blank">ssh</a>. I use ssh all the time to connect to my server, and finding that I was able to start a script on the server just by initiating an ssh session was a revelation to me.</p>
<p>Another tool that I found was &#8220;<a href="http://linux.about.com/library/cmd/blcmdl8_anacron.htm" target="_blank">anacron</a>&#8220;. Anacron is kind of like cron, but enables you to run something x number of days, weeks or months. And, if the computer is not running at midnight, anacron will make sure the program will run sometime during that day as long as the computer is on sometime in that day. Unlike cron, anacron does not enable you to run a program multiple times a day, or at exact times. This is exactly what I was looking for and anacron was already installed on my laptop, and was already set up to run upon boot.</p>
<p><strong>This is not exactly a step by step tutorial</strong>, as you need to know how to get around your system, and run things as root.</p>
<p>I wanted the backup process to be automatic, so I needed to set up ssh keys. I have never set up ssh keys before. There are a lot of tutorials on the net to help along; and I picked this one: <a href="http://news.softpedia.com/news/How-to-Use-RSA-Key-for-SSH-Authentication-38599.shtml" target="_blank">http://news.softpedia.com/news/How-to-Use-RSA-Key-for-SSH-Authentication-38599.shtml</a></p>
<p>This is the command to generate the keys. I wanted unattended backups, so I did not enter a passphrase.</p>
<blockquote><p># ssh-keygen -t rsa</p></blockquote>
<p>I also ran these commands to copy the files to the appropriate directories and files:</p>
<blockquote><p># scp .ssh/id_rsa.pub username@hostname.com:~<br />
# cd $HOME<br />
# cat id_rsa.pub &gt;&gt; .ssh/authorized_keys</p></blockquote>
<p>I also had to copy the keys from the .ssh directory in my home directory to the .ssh diretory in the /root directory.</p>
<p>Read over the ssh tutorial sited above, and when you are done you should be able to ssh into your server with:</p>
<blockquote><p># ssh username@remote.hostname.com</p></blockquote>
<p>I like sshfs to mount my remote directories.<br />
if it is not installed on your server, do it by running:</p>
<blockquote><p># sudo apt-get install sshfs</p></blockquote>
<p>or find it in the Ubuntu Software Center.</p>
<p>You will also need a recent version of Back In Time. I have v1.0.8 installed. The difference between the newest version and older ones, is that the newer version can have multiple profiles. That is, you can have a different profile for each computer you want to back up from your common point (server).</p>
<p>I added the Back In Time stable repository ppa. This will give you the latest and greatest version of Back In Time. If you don&#8217;t need multiple profiles, you can install Back In Time from the Ubuntu Software Center and it will be fine. Do this command to add the repository:</p>
<blockquote><p># sudo apt-add-repository ppa:bit-team/stable</p></blockquote>
<p>Then do:</p>
<blockquote><p># sudo apt-get update<br />
# sudo apt-get install backintime-gnome</p></blockquote>
<p>Some explaination is needed here that probably should have been mentioned sooner. My server has ubuntu-desktop installed on it (that is, a full gui interface). The Back In Time profile configuration is easily done with the gui. Then the actual backups can be done with the command line. This also means that if you don&#8217;t have a server, your desktop computer should work just fine to backup your laptop with these instructions. There is nothing really &#8220;servery&#8221; about the process.</p>
<h2>OK, some preliminary work:</h2>
<p>You need to make a mount point on your server where you want to mount your laptop drive. Create a blank directory where you want it mounted. I chose &#8220;/home/ubuntu-laptop&#8221; as my mount point.</p>
<p>Create directories on your laptop and on the server where you want the script files to go. On my laptop, I put my backup script in &#8220;/home/myhome/Scripts_and_Programs/server_backup&#8221;. You can put yours where ever you want. On my server I put the script in &#8220;/home/myhome/Scripts&#8221;.</p>
<p>I use static ip addresses for my home network devices. You can set up a static ip for your laptop and server in the network manager, but I chose to let the rounter do it. My router lets me pick a certain ip to be assigned by its DHCP. It is based off the mac address of my laptop wifi connection and my server eithernet card. My laptop is assigned 192.168.1.5 and my server is 192.168.1.11. By letting the rounter assign the addresses, I am free to take my laptop somewhere else, and some other wifi rounter will be free to assign my laptop any address it needs to.</p>
<p>Test your connections. ssh into your server. If your ssh keys were setup correctly, a command like:</p>
<blockquote><p># ssh -X myname@192.168.1.11</p></blockquote>
<p>should work, and no password is necessary. On your first connection, you may be asked to accept the key. Answer &#8220;yes&#8221; and proceede.</p>
<p>Now, try to mount your laptop drive from your server. My command to do this is:</p>
<blockquote><p># sshfs myname@192.168.1.5:/home /home/ubuntu-laptop</p></blockquote>
<p>If you go to &#8220;/home/ubuntu-laptop&#8221;, on your sever, you should now see your laptop files. Again, the first time you do this, you may be asked to accept the ssh keys. You will also be asked for your laptop password. You could set up another set of ssh keys for your server if you would like, but the sshfs command has an option to get your password from somewhere else and that is how I did it. That will be explained later.</p>
<p>If all is well up to this point, you can fire up the Back In Time gui to configure your backup. On the command line, the command to enter is &#8220;backintime-gnome&#8221;. You still should be ssh&#8217;ed into your server, or be at a server terminal. Notice that my ssh command from above has the option -X in it. This will allow X display forwarding so you can run a gui program from your terminal box.</p>
<p>in your ssh&#8217;ed terminal box, that is connected to your server, type:</p>
<blockquote><p># backintime-gnome</p></blockquote>
<p>This should bring up the Back In Time gui, ready to configure.  Click the &#8220;settings&#8221; icon on the Back In Time gui. If you are using a newer version of Back In Time, you can select a &#8220;New&#8221; profile. Mine is called &#8220;ubuntu-laptop&#8221;. Then you need to decide where to put your backups. I have a usb drive mounted at /home/shared2. You need to traverse to the point where you want your backups to go using the folder icon to the right of &#8220;Where to save snapshots&#8221;. Leave &#8220;Schedule&#8221; disabled as this will be handled in one of the script files.</p>
<p><a href="http://radio.mcdougallshome.net/wp-content/uploads/2012/01/screenshot01.png"><img class="alignnone  wp-image-587" title="screenshot01" src="http://radio.mcdougallshome.net/wp-content/uploads/2012/01/screenshot01.png" alt="" width="501" height="273" /></a></p>
<p>Click the &#8220;Include&#8221; tab and add the folders you want backed up. Remember that I have my laptop mounted at /home/myname/ubuntu-laptop on my server. This is where you need to go to include the included folders. Notice I have a seperate entry for my Thunderbird email folders. This is because I have any hidden files .* excluded from being backup up and my Thunderbird email folders are inside a hidden directory.</p>
<p><a href="http://radio.mcdougallshome.net/wp-content/uploads/2012/01/Screenshot02.png"><img title="Screenshot02" src="http://radio.mcdougallshome.net/wp-content/uploads/2012/01/Screenshot02.png" alt="" width="501" height="273" /></a></p>
<p>Click the &#8220;Exclude&#8221; tab. Add any files or folders you do not want backed up. As you can see, I added an entry to skip all my configuration files with .* . You need to decide what you want backed up. I also excluded my download directory, my virtual machines folder (large files for experimentation only), and any other directories where I might have other systems mounted in.</p>
<p><a href="http://radio.mcdougallshome.net/wp-content/uploads/2012/01/Screenshot03.png"><img title="Screenshot03" src="http://radio.mcdougallshome.net/wp-content/uploads/2012/01/Screenshot03.png" alt="" width="501" height="411" /></a></p>
<p>Click the &#8220;Auto-remove&#8221; tab and decide how many backups to want to retain.</p>
<p><a href="http://radio.mcdougallshome.net/wp-content/uploads/2012/01/Screenshot04.png"><img title="Screenshot04" src="http://radio.mcdougallshome.net/wp-content/uploads/2012/01/Screenshot04.png" alt="" width="500" height="363" /></a></p>
<p>Click the &#8220;Options&#8221; tab. I added one checkmark here that was not already checked. I checked &#8220;Continue on errors (Keep incomplete snapshots). I did this because I had a snapshot fail because of some protected .files. I suggest you click this box, at least at first. Then after you make backups, you can look at the log file to see what failed. Otherwise, you will never get a backup if there is an error somewhere.</p>
<p><a href="http://radio.mcdougallshome.net/wp-content/uploads/2012/01/Screenshot05.png"><img title="Screenshot05" src="http://radio.mcdougallshome.net/wp-content/uploads/2012/01/Screenshot05.png" alt="" width="501" height="364" /></a></p>
<p>I did not adjust any of the &#8220;Expert Options&#8221;.</p>
<p>Click &#8220;ok&#8221; and this should bring you back to the main &#8220;Back In Time&#8221; window. If you like, you can make your initial backup by pressing &#8220;take snapshot&#8221; icon. Your first backup may take a good amount of time, depending on your wifi connection, and the size of your backup. Mine included many video files, and took well over a day and a half. Subsequent backups are quite quick, depending on what new or changed files your need backed up.</p>
<p>If all is successful to this point, you can close the &#8220;Back In Time&#8221; gui. I suggest you wait until your initial backup is done, as the backup will continue even after you shut the gui, but this may cause problems when you try to setup the rest of the system.</p>
<h2>Now the meat and potatoes:</h2>
<p>This is the script &#8220;start_laptop_backup.sh&#8221; that is run on the laptop side, to initiate the backup.</p>
<blockquote><p>#!/bin/sh<br />
# Automated backup of laptop, that is not always on, to a server that is always on.<br />
# By: John McDougall<br />
# Aug. 11, 2011<br />
#<br />
# This is a script that is run on the laptop. It starts a script on the server named backup_ubuntu-laptop.sh<br />
#<br />
# Is the server pingable?<br />
# try three pings, wait maximum one sec for reply, be quiet<br />
echo &#8220;Starting laptop side script&#8221;<br />
echo &#8220;testing to see if server is accessable&#8221;<br />
if ping -qc 3 -W 1 192.168.1.11 &gt; /dev/null; then<br />
echo &#8220;yes&#8230; Server is up. Will now attempt backup&#8221;<br />
echo &#8220;Connecting to server.&#8221;<br />
ssh -X john@192.168.1.11 /home/john/Scripts/backup_ubuntu-laptop.sh<br />
echo &#8220;Server disconnected&#8230; Closing laptop side script&#8221;<br />
else<br />
echo &#8220;no&#8230; Server is down. No backup done now&#8221;<br />
fi</p></blockquote>
<p>This is what this script does: First, I try to ping my server to see if is available. If it passes that test, I connect to the server over ssh and run the script &#8220;backup_ubuntu-laptop.sh&#8221;. No password needed if the ssh keys are set up properly.</p>
<p>Here is the script on the server side called &#8220;backup_ubuntu-laptop.sh&#8221;.</p>
<blockquote><p>#!/bin/bash<br />
# Automated backup of laptop, that is not always on, to a server that is always on.<br />
# By: John McDougall<br />
# McDougallsHome.net and radio.McDougallsHome.net<br />
# Aug. 11, 2011<br />
#<br />
# This is a script that is run on the server. It is started from a script run through ssh from the laptop to be backed up.<br />
#<br />
# Connect to ubuntu-laptop from server.<br />
echo &#8220;Successfully connected to server&#8230; Running server side script&#8221;<br />
echo &#8220;Attempting to mount ubuntu-laptop to server&#8221;<br />
sshfs -o password_stdin john@ubuntu-laptop:/home /home/ubuntu-laptop &lt; /home/john/Scripts/ubuntu_pwd<br />
echo $1<br />
for i in `cat /proc/mounts | cut -d&#8217; &#8216; -f2`; do<br />
if [ "x/home/ubuntu-laptop" = "x$i" ]; then<br />
echo &#8220;laptop is mounted. &#8221;<br />
# Start Backintime<br />
echo &#8220;Starting backintime&#8221;<br />
# backintime &#8211;backup<br />
backintime &#8211;profile ubuntu-laptop &#8211;backup<br />
echo &#8220;Backup finished&#8221;<br />
echo &#8220;Unmounting ubuntu-laptop&#8221;<br />
fusermount -u /home/ubuntu-laptop<br />
echo &#8220;ubuntu-laptop unmounted. Exiting backup script and disconnecting from server&#8221;<br />
exit<br />
fi<br />
done<br />
echo &#8220;laptop not mounted&#8230; Can not backup&#8221;<br />
exit</p></blockquote>
<p>This script first mounts the laptop via sshfs. Notice the &#8220;-o password_stdin&#8221; option. This enables the password to be entered from another source. In this example, I have the password in a file called laptop_pwd in my Scripts directory on the server. As mentioned earlier, you could set up ssh keys for the server and eliminate the password in a file thing if you feel that is unsafe to do.</p>
<p>This script then confirms that the laptop is indeed mounted. It then initiates the backup with the command &#8220;backintime &#8211;profile ubuntu-laptop &#8211;backup&#8221;. After the backup is finished, the script unmounts the laptop and closes down.</p>
<p>To test all this, open a terminal window on your laptop and start the script &#8220;start_laptop_backup.sh&#8221; and watch its progress. If all worked out, and you already made an initial backup, it should run relatively quick.</p>
<h2>Now to automate it all with anacron:</h2>
<p>You can find a little tutorial on anacron at &#8220;http://www.thegeekstuff.com/2011/05/anacron-examples/&#8221;.<br />
To configure anacron, you must modify the file /etc/anacrontab on your laptop. I did this in a terminal window using the command:</p>
<blockquote><p># sudo nano /etc/anacrontab</p></blockquote>
<p><a href="http://radio.mcdougallshome.net/wp-content/uploads/2012/01/Screenshot06.png"><img class="alignnone  wp-image-592" title="Screenshot06" src="http://radio.mcdougallshome.net/wp-content/uploads/2012/01/Screenshot06.png" alt="" width="603" height="288" /></a></p>
<p>I added one line to the bottom of the anacrontab file as shown above. The first parameter &#8220;1&#8243; means it should be run once a day. The second parameter &#8220;13&#8243; means it will start approximately 13 minutes after the machine is booted. You can change this to whatever you want. Set it at a time where it won&#8217;t interfere with the busy boot process, and anything else you might do as soon as you turn on your computer. The third paramater is a label you make up to identify this process. The fourth parameter is the command to execute. By placing &#8220;nice&#8221; before the command, if the system is very busy, the backup process will wait until the system is less busy. You can look up the manual page for &#8220;nice&#8221; by typing &#8220;man nice&#8221; in a terminal window.</p>
<p>That about does it. If everything worked so far, you are ready to reboot your computer. Anacron should run and a backup initiated. Anacron will only run once a day even if the laptop is turned on several times a day, or left on for days. You will still only have one backup per day. You can look at the files in /var/spool/anacron. ubuntu-laptop (or what ever label you used in the anacrontab file) should be listed there. Open it up with nano or gedit, and it should list the last date that line in the anacrontab file was executed.</p>
<p>I hope this post helps you in your laptop backup.  It might seem kind of complicated, but I enjoyed the process of learning and figuring it all out.  Have fun in exploring linux!</p>
<p>John &#8211; K7JM</p>
]]></content:encoded>
			<wfw:commentRss>http://radio.mcdougallshome.net/software/how-i-back-up-my-ubuntu-linux-laptop/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Aquaria mouse pointer problem solved</title>
		<link>http://radio.mcdougallshome.net/ubuntu/aquaria-mouse-pointer-problem-solved/</link>
		<comments>http://radio.mcdougallshome.net/ubuntu/aquaria-mouse-pointer-problem-solved/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 23:50:40 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[games]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[aquaria]]></category>
		<category><![CDATA[bit blot]]></category>
		<category><![CDATA[humble introversion bundle]]></category>
		<category><![CDATA[linux games]]></category>

		<guid isPermaLink="false">http://radio.mcdougallshome.net/?p=578</guid>
		<description><![CDATA[I purchased the Humble Introversion Bundle for the Ubuntu Linux platform.  I have had a problem getting the game Aquaria working on my laptop computer.  The mouse pointer would automatically travel up and left.  In certain menus, selections were impossible to select.  It was very frustrating and made the game unusable.  After much searching, I [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="aquaria" src="http://www.bit-blot.com/aquaria/images/mediakit.gif" alt="" width="149" height="149" /><strong>I purchased the <a href="http://www.humblebundle.com/" target="_blank">Humble Introversion Bundle</a></strong> for the Ubuntu Linux platform.  I have had a problem getting the game <a href="http://www.bit-blot.com/aquaria/" target="_blank">Aquaria</a> working on my laptop computer.  The mouse pointer would automatically travel up and left.  In certain menus, selections were impossible to select.  It was very frustrating and made the game unusable.  After much searching, I came upon this page with the solution: &#8220;<a href="http://www.bit-blot.com/forum/index.php?PHPSESSID=4gnqdbukdqp4nojfuo8kamrh06&amp;topic=4264.msg32602#msg32602" target="_blank">Aquaria mouse pointer problem solved</a>&#8221; on the bit blot forums.  Thank you <strong>archmage</strong> for coming up with this easy solution.  The game is now playable, and my kids love it.</p>
<p>John &#8211; K7JM</p>
]]></content:encoded>
			<wfw:commentRss>http://radio.mcdougallshome.net/ubuntu/aquaria-mouse-pointer-problem-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Get Sound Working On Gridwars2</title>
		<link>http://radio.mcdougallshome.net/software/how-to-get-sound-working-on-gridwars2/</link>
		<comments>http://radio.mcdougallshome.net/software/how-to-get-sound-working-on-gridwars2/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 02:03:57 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[gridwars]]></category>
		<category><![CDATA[gridwars sound]]></category>
		<category><![CDATA[gridwars2]]></category>
		<category><![CDATA[how to gridwars ubuntu]]></category>

		<guid isPermaLink="false">http://radio.mcdougallshome.net/?p=566</guid>
		<description><![CDATA[I am a fan of the Gridwars2 game. If you have problems installing Gridwars2 in Ubuntu, see my post about installing it HERE.  I have been successful in installing Gridwars2 in versions from 10.04 to 11.04. After installing it in a test version of Ubuntu 11.04 Unity install, the sound would not work.  I found [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://radio.mcdougallshome.net/wp-content/uploads/2010/05/gridwars2-2.png"><img class="size-medium wp-image-491 alignleft" title="gridwars title screen" src="http://radio.mcdougallshome.net/wp-content/uploads/2010/05/gridwars2-2-300x224.png" alt="" width="300" height="224" /></a>I am a fan of the Gridwars2 game.</strong> If you have problems installing Gridwars2 in Ubuntu, see my post about installing it <a title="How to install Gridwars2 in Ubuntu" href="http://radio.mcdougallshome.net/software/how-to-install-gridwars2-on-ubuntu-lucid-10-04/" target="_blank">HERE</a>.  I have been successful in installing Gridwars2 in versions from 10.04 to 11.04.</p>
<p>After installing it in a test version of Ubuntu 11.04 Unity install, the sound would not work.  I found this solution that worked:</p>
<blockquote><p>sudo apt-get install alsa-oss</p></blockquote>
<p>Then, run Gridwars with this command:</p>
<blockquote><p>aoss ./gridwars</p></blockquote>
<p>If you are not running the command from within the Gridwars directory, adjust the path to point to the Gridwars executable.</p>
<p>Have fun with Gridwars!</p>
<p>&#8211; John &#8211; K7JM</p>
]]></content:encoded>
			<wfw:commentRss>http://radio.mcdougallshome.net/software/how-to-get-sound-working-on-gridwars2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wview Weather On The SheevaPlug</title>
		<link>http://radio.mcdougallshome.net/computers/wview-weather-on-the-sheevaplug/</link>
		<comments>http://radio.mcdougallshome.net/computers/wview-weather-on-the-sheevaplug/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 01:28:02 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Computers - Software]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[Web Sites]]></category>
		<category><![CDATA[Debian Squeeze]]></category>
		<category><![CDATA[mcdougallshome.net/wx/ how to video]]></category>
		<category><![CDATA[SheevaPlug]]></category>
		<category><![CDATA[wview]]></category>
		<category><![CDATA[wviewweather]]></category>

		<guid isPermaLink="false">http://radio.mcdougallshome.net/?p=541</guid>
		<description><![CDATA[I have, for a long time, wanted a real weather station at my QTH. For Christmas I received a LaCrosse WS-2315 weather system.  It measures temp, wind, wind direction, wind chill, heat index. barometric pressure, humidity, rainfall, and the dew point. My computers run the Linux operating system.  Specifically, Ubuntu Linux.  I found some nice [...]]]></description>
			<content:encoded><![CDATA[<p><strong>I have, for a long time, wanted a real weather station at my QTH.</strong> For Christmas I received a <a title="http://www.lacrossetechnology.com/2315ch/index.php" href="http://www.lacrossetechnology.com/2315ch/index.php" target="_blank">LaCrosse WS-2315</a> weather system.  It measures temp, wind, wind direction, wind chill, heat index. barometric pressure, humidity, rainfall, and the dew point.</p>
<p>My computers run the Linux operating system.  Specifically, <a title="http://www.ubuntu.com/" href="http://www.ubuntu.com/" target="_blank">Ubuntu Linux</a>.  I found some nice weather software called &#8220;<a title="http://www.wviewweather.com/" href="http://www.wviewweather.com/" target="_blank">wview</a>&#8221; that is compatible with my weather station.  I put wview on my desktop, configured my weather station, and have it upload the weather data to my web site.  You can see it <a title="Jefferson City Montana Weather" href="http://mcdougallshome.net/wx/" target="_blank">http://mcdougallshome.net/wx/</a>.  The whole system worked real nice, but my desktop had to be powered on all the time, and for some reason, when one of my kids would get on it, the weather system would crash.</p>
<p>My solution is the &#8220;<a title="http://www.globalscaletechnologies.com/p-22-sheevaplug-dev-kit-us.aspx" href="http://www.globalscaletechnologies.com/p-22-sheevaplug-dev-kit-us.aspx" target="_blank">SheevaPlug</a>&#8221; plug computer.  The SheevaPlug is slightly larger than a wall type transformer.  In fact, the SheevaPlug plugs into the wall just like a transformer &#8220;wall-wart.&#8221;  It also has an option for a power cord, which I find more convenient to use.</p>
<p>Here are some specs from this small box:</p>
<ul>
<li>1.2 GHz Arm processor</li>
<li>1/2 GB RAM</li>
<li>1/2 GB solid state memory</li>
<li>SD/MMC card slot,</li>
<li>USB port</li>
<li>Gigabit eithernet port</li>
<li>USB port to use your computer as a terminal for the SheevaPlug</li>
<li>It comes loaded with Ubuntu 9.04 for the Arm Processor</li>
</ul>
<p>I added an 8GB SD card and upgraded it to <a title="http://www.debian.org/releases/squeeze/" href="http://www.debian.org/releases/squeeze/">Debian Squeeze</a> since Ubuntu does not support the Arm processor anymore.  I then loaded up wview weather software, and my webcam software scripts.  And voila, it works!  It was a fun process and not as clear cut as one would think.  The SheevaPlug is a development kit; and therefore, has no instructions, but there is a lot of information on the Internet.</p>
<p>I made a video (actually three parts) showing an overview of the process that I took to get it all together.  Also, here are some pictures of the setup.</p>
<p>&#8211; John &#8211; K7JM</p>
<p><a class="class=&quot;shutterset_sheeva2_8_11&quot;" title="SheevaPlug Computer" href="http://radio.mcdougallshome.net/wp-content/uploads/2011/02/DSCF1338.jpg"><img class="alignnone size-medium wp-image-542" title="SheevaPlug Computer" src="http://radio.mcdougallshome.net/wp-content/uploads/2011/02/DSCF1338-300x229.jpg" alt="" width="300" height="229" /></a><a class="class=&quot;shutterset_sheeva2_8_11&quot;" title="LaCrosse WS-2315 Weather Station" href="http://radio.mcdougallshome.net/wp-content/uploads/2011/02/DSCF1339.jpg"><img class="alignnone size-medium wp-image-543" title="LaCrosse WS-2315 Weather Station" src="http://radio.mcdougallshome.net/wp-content/uploads/2011/02/DSCF1339-e1297213930595-229x300.jpg" alt="" width="229" height="300" /></a><a class="class=&quot;shutterset_sheeva2_8_11&quot;" title="LaCrosse Wind Sensors" href="http://radio.mcdougallshome.net/wp-content/uploads/2011/02/DSCF1341.jpg"><img class="alignnone size-medium wp-image-544" title="LaCrosse Wind Sensors" src="http://radio.mcdougallshome.net/wp-content/uploads/2011/02/DSCF1341-e1297213988785-229x300.jpg" alt="" width="229" height="300" /></a><a class="class=&quot;shutterset_sheeva2_8_11&quot;" title="wview Weather Program" href="http://radio.mcdougallshome.net/wp-content/uploads/2011/02/wview.png"><img class="alignnone size-medium wp-image-546" title="wview Weather Program" src="http://radio.mcdougallshome.net/wp-content/uploads/2011/02/wview-300x176.png" alt="" width="300" height="176" /></a></p>
[There is a video that cannot be displayed in this feed. <a href="http://radio.mcdougallshome.net/computers/wview-weather-on-the-sheevaplug/">Visit the blog entry to see the video.]</a>
[There is a video that cannot be displayed in this feed. <a href="http://radio.mcdougallshome.net/computers/wview-weather-on-the-sheevaplug/">Visit the blog entry to see the video.]</a>
[There is a video that cannot be displayed in this feed. <a href="http://radio.mcdougallshome.net/computers/wview-weather-on-the-sheevaplug/">Visit the blog entry to see the video.]</a>
<p><strong>Here is a list of web sites shown on my videos:</strong></p>
<ul>
<li><a href="http://mcdougallshome.net/wx/" target="_blank">http://mcdougallshome.net/wx/</a></li>
<li><a href="http://www.wunderground.com/US/MT/59638" target="_blank">http://www.wunderground.com/US/MT/59638</a></li>
<li><a href="http://www.wviewweather.com/" target="_blank">http://www.wviewweather.com/</a></li>
<li><a href="http://www.wviewweather.com/release-notes/wview-User-Manual.html#Installation-debian" target="_blank">http://www.wviewweather.com/release-notes/wview-User-Manual.html#Installation-debian</a></li>
<li><a href="http://www.lacrossetechnology.com/2315/" target="_blank">http://www.lacrossetechnology.com/2315/</a></li>
<li><a href="http://www.google.com/search?client=ubuntu&amp;channel=fs&amp;q=La+Crosse+2315&amp;ie=utf-8&amp;oe=utf-8#q=lacrosse+ws+2315&amp;hl=en&amp;safe=off&amp;tbs=shop:1&amp;prmd=ivns&amp;ei=8R9MTeKwFoOosAOn_aWTCg&amp;start=0&amp;sa=N&amp;biw=1374&amp;bih=661&amp;fp=de82b25adf0f9dc" target="_blank">http://www.google.com/search?client=ubuntu&amp;channel=fs&amp;q=La+Crosse+2315&amp;ie=utf-8&amp;oe=utf-8#q=lacrosse+ws+2315&amp;hl=en&amp;safe=off&amp;tbs=shop:1&amp;prmd=ivns&amp;ei=8R9MTeKwFoOosAOn_aWTCg&amp;start=0&amp;sa=N&amp;biw=1374&amp;bih=661&amp;fp=de82b25adf0f9dc</a></li>
<li><a href="http://www.universal-radio.com/CATALOG/wx/4095.html" target="_blank">http://www.universal-radio.com/CATALOG/wx/4095.html</a></li>
<li><a href="http://www.amazon.com/gp/product/B000X2QRK2" target="_blank">http://www.amazon.com/gp/product/B000X2QRK2</a></li>
<li><a href="http://www.globalscaletechnologies.com/p-22-sheevaplug-dev-kit-us.aspx" target="_blank">http://www.globalscaletechnologies.com/p-22-sheevaplug-dev-kit-us.aspx</a></li>
<li><a href="http://www.plugcomputer.org/plugwiki/index.php/Serial_terminal/Linux/Programs" target="_blank">http://www.plugcomputer.org/plugwiki/index.php/Serial_terminal/Linux/Programs</a></li>
<li><a href="http://groups.google.com/group/wview/web/tutorial---wview-on-the-sheeva?pli=1" target="_blank">http://groups.google.com/group/wview/web/tutorial&#8212;wview-on-the-sheeva?pli=1</a></li>
<li><a href="http://www.openplug.org/plugwiki/index.php/Main_Page" target="_blank">http://www.openplug.org/plugwiki/index.php/Main_Page</a></li>
<li><a href="http://www.openplug.org/plugwiki/index.php/New_Plugger_How_To" target="_blank">http://www.openplug.org/plugwiki/index.php/New_Plugger_How_To</a></li>
<li><a href="http://www.cyrius.com/debian/kirkwood/sheevaplug/uboot-upgrade.html" target="_blank">http://www.cyrius.com/debian/kirkwood/sheevaplug/uboot-upgrade.html</a></li>
<li><a href="http://www.plugcomputer.org/plugwiki/index.php/SheevaPlug_Installer" target="_blank">http://www.plugcomputer.org/plugwiki/index.php/SheevaPlug_Installer</a></li>
<li><a href="http://wiki.slimdevices.com/index.php/SqueezePlug" target="_blank">http://wiki.slimdevices.com/index.php/SqueezePlug</a></li>
<li><a href="http://squeezeplug.de/" target="_blank">http://squeezeplug.de/</a></li>
<li><a href="http://sourceforge.net/projects/esia/" target="_blank">http://sourceforge.net/projects/esia/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://radio.mcdougallshome.net/computers/wview-weather-on-the-sheevaplug/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Joy Of Ham Radio</title>
		<link>http://radio.mcdougallshome.net/computers/the-joy-of-ham-radio/</link>
		<comments>http://radio.mcdougallshome.net/computers/the-joy-of-ham-radio/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 03:20:06 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web Sites]]></category>
		<category><![CDATA[ARRL]]></category>
		<category><![CDATA[fldigi]]></category>
		<category><![CDATA[K0SRE]]></category>
		<category><![CDATA[Linux in the HAM Shack]]></category>

		<guid isPermaLink="false">http://radio.mcdougallshome.net/?p=519</guid>
		<description><![CDATA[Another Ham discovers Linux&#8217;s ham friendliness.  ARRL&#8217;s website has another nice story about a Ham using Ubuntu Linux and fldigi to renew his love for Amateur Radio.  Check out the post HERE.  Good going Steve (KØSRE)!  For more of Linux In The Ham Shack, check out &#8220;Linux In The Ham Shack&#8221; podcast. - John, K7JM]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.arrl.org/files/file/Logos%20and%20Photos/League_diamond_color_low.JPG"><a href="http://radio.mcdougallshome.net/wp-content/uploads/2010/10/lhs_logo.png"><img class="alignnone size-full wp-image-520" title="lhs_logo" src="http://radio.mcdougallshome.net/wp-content/uploads/2010/10/lhs_logo.png" alt="" width="202" height="181" /></a><img class="alignnone" title="ARRL Logo" src="http://www.arrl.org/files/file/Logos%20and%20Photos/League_diamond_color_low.JPG" alt="" width="81" height="180" /></a></p>
<p><strong>Another Ham discovers Linux&#8217;s ham friendliness</strong>. <a href="http://www.arrl.org/" target="_blank"> ARRL&#8217;s website</a> has <a href="http://www.arrl.org/joy-of-ham-radio" target="_blank">another nice story</a> about a Ham using Ubuntu Linux and fldigi to renew his love for Amateur Radio.  Check out the post <a href="http://www.arrl.org/joy-of-ham-radio" target="_blank">HERE</a>.  Good going Steve (KØSRE)!  For more of Linux In The Ham Shack, check out &#8220;<a href="http://lhspodcast.info/" target="_blank">Linux In The Ham Shack</a>&#8221; podcast.</p>
<p>- John, K7JM</p>
]]></content:encoded>
			<wfw:commentRss>http://radio.mcdougallshome.net/computers/the-joy-of-ham-radio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ambiance Blue Theme For Ubuntu</title>
		<link>http://radio.mcdougallshome.net/computers/ambiance-blue-theme-for-ubuntu/</link>
		<comments>http://radio.mcdougallshome.net/computers/ambiance-blue-theme-for-ubuntu/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 00:54:50 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Computers - Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ambiance Blue Theme]]></category>

		<guid isPermaLink="false">http://radio.mcdougallshome.net/?p=505</guid>
		<description><![CDATA[My computers run on the Ubuntu Operating System &#8211; Not Windows.  If you did not know there was a choice other than Windows and Macs, you need to check out the totally FREE operating system Ubuntu!  Besides the operating system being free, ALMOST ALL of the application programs are free.  There are thousands of them, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>My computers run on the Ubuntu Operating System</strong> &#8211; Not Windows.  If you did not know there was a choice other than Windows and Macs, you need to check out the totally FREE operating system <a title="Get Ubuntu FREE Here" href="http://www.ubuntu.com/" target="_blank">Ubuntu</a>!  Besides the operating system being free, ALMOST ALL of the application programs are free.  There are thousands of them, doing almost anything you need to do on a Windows or Mac machine.  And, if that weren&#8217;t enough, most of those thousands of free programs are installable from inside Ubuntu itself.  You don&#8217;t have to go searching the Internet for them.  Usually just ONE CLICK, and boom, your program is installed.  Besides all that, there is very little worry about viruses as on Windows, and increasingly on the Mac.  It is really NICE!</p>
<p>Anyway, that is not really what this post is supposed to be about.  This post is about a nice theme that I came across for my Ubuntu desktop.  Ubuntu, besides being FREE with lots of FREE applications, it is very nice looking, and if you want to dig deeper, you can make it REALLY nice looking.</p>
<p>I usually have my Ubuntu Desktop all decked out with some sort of modified Emerald theme, with transparency, and glowing frames and pulsating buttons and such.  As I was searching around one of the many Ubuntu web sites, I came across a proposed theme for the next version of Ubuntu coded named <a title="Introducing the Maverick Meerkat" href="http://www.markshuttleworth.com/archives/336" target="_blank">Maverick Meerkat</a> due to be released on 10/10/10.  I am sure this nice theme I found will not be a default theme, as purple and orange seem to be someones liking on the Ubuntu development teams.  I am personally not that thrilled about the purple/orange theme, and usually look for other options.</p>
<p>The theme I came across is a beautiful blue theme called Ambiance Blue.  It is not fancy, or full of glowing parts, or throbbing buttons, but is a very nice looking simple blue theme.  The Ambiance Blue Theme can be downloaded from <a title="Ambiance Blue Theme For Ubuntu" href="https://wiki.ubuntu.com/Artwork/Incoming/Maverick/AmbianceBlue" target="_blank">HERE</a>.  See the picture of my theme below, or click on the small screenshot to see a larger view of one of my desktops.  Yes, in Ubuntu, you have MULTIPLE VIRTUAL DESKTOPS.  Very Nice!</p>
<p>- John</p>
<p><a class="class=&quot;shutterset_2010_08_30_blue&quot;" title="Ambiance Blue Theme" href="http://radio.mcdougallshome.net/wp-content/uploads/2010/08/Screenshot.png"><img class="alignnone size-full wp-image-506" title="Ambiance Blue Theme" src="http://radio.mcdougallshome.net/wp-content/uploads/2010/08/Screenshot.png" alt="" width="476" height="372" /></a> <a class="class=&quot;shutterset_2010_08_30_blue&quot;" title="One of my Ubuntu Virtual Desktops with Ambiance Blue Theme" href="http://radio.mcdougallshome.net/wp-content/uploads/2010/08/Screenshot-1.png"><img class="alignnone size-medium wp-image-507" title="One of my Ubuntu Virtual Desktops with Ambiance Blue Theme" src="http://radio.mcdougallshome.net/wp-content/uploads/2010/08/Screenshot-1-300x176.png" alt="" width="300" height="176" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://radio.mcdougallshome.net/computers/ambiance-blue-theme-for-ubuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu and Ham Radio</title>
		<link>http://radio.mcdougallshome.net/ham-radio-news/ubuntu-and-ham-radio/</link>
		<comments>http://radio.mcdougallshome.net/ham-radio-news/ubuntu-and-ham-radio/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 02:21:00 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Computers - Software]]></category>
		<category><![CDATA[Ham Radio News]]></category>
		<category><![CDATA[Ham Radio Software]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web Sites]]></category>
		<category><![CDATA[Americann Radio Relay League]]></category>
		<category><![CDATA[ARRL]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux for Ham Radio]]></category>
		<category><![CDATA[Ubuntu for Ham Radio]]></category>

		<guid isPermaLink="false">http://radio.mcdougallshome.net/?p=496</guid>
		<description><![CDATA[The ARRL web site had a nice entry about Ubuntu for Ham Radio.  The article could have been four times as long and not cover all the aspects of why Ubuntu Linux is good for Ham Radio.  Also, several of the applications that the author mentioned in the ARRL article that he used with WINE, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.arrl.org/ubuntu-linux-for-hams" target="_blank"><img class="alignnone size-full wp-image-497" title="Ubuntu Linux for Ham Radio" src="http://radio.mcdougallshome.net/wp-content/uploads/2010/07/ubuntu_arrl.png" alt="" width="622" height="369" /></a></p>
<p>The <a href="http://www.arrl.org/ubuntu-linux-for-hams" target="_blank">ARRL web site</a> had a nice entry about<a href="http://www.ubuntu.com/" target="_blank"> Ubuntu</a> for <a title="What is Ham Radio?" href="http://radio.mcdougallshome.net/what_is_ar/" target="_blank">Ham Radio</a>.  The article could have been four times as long and not cover all the aspects of why Ubuntu Linux is good for Ham Radio.  Also, several of the applications that the author mentioned in the ARRL article that he used with WINE, have alternates available for Linux, including PCB layout software, and Circuit analysis.  Almost ALL FREE.  Besides, Ubuntu&#8217;s super easy to install Ham Radio repository of applications, <a title="Some Linux Ham Radio Applications" href="http://radio.linux.org.au/?sectpat=All&amp;ordpat=title" target="_blank">HERE</a> is a page full of stuff, ranging from the latest and greatest to older Linux Ham Radio programs.  Ham Radio is about innovation, and experimentation.  It is sad to see so much of it is built up on a closed, unexperimentalable, unmodifiable, and costly solution like Windows.</p>
<p>73,<br />
John &#8211; K7JM</p>
]]></content:encoded>
			<wfw:commentRss>http://radio.mcdougallshome.net/ham-radio-news/ubuntu-and-ham-radio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Gridwars2 on Ubuntu Lucid 10.04</title>
		<link>http://radio.mcdougallshome.net/software/how-to-install-gridwars2-on-ubuntu-lucid-10-04/</link>
		<comments>http://radio.mcdougallshome.net/software/how-to-install-gridwars2-on-ubuntu-lucid-10-04/#comments</comments>
		<pubDate>Sun, 23 May 2010 05:16:24 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Computers - Software]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[gridwars]]></category>
		<category><![CDATA[gridwars on Ubuntu]]></category>
		<category><![CDATA[gridwars on Ubuntu Lucid 10.04]]></category>
		<category><![CDATA[gridwars2]]></category>
		<category><![CDATA[how to gridwars]]></category>

		<guid isPermaLink="false">http://radio.mcdougallshome.net/?p=489</guid>
		<description><![CDATA[I enjoy playing Gridwars2 on Ubuntu Linux. It used to be available on getdeb.net for Ubuntu Jaunty, but since then, it has disappeared.  It can be downloaded from the authors&#8217; site, but it will not run out of the box on Ubuntu Lucid Lynx.  Here are instructions to get it working on Ubuntu Lucid (and [...]]]></description>
			<content:encoded><![CDATA[<p><a class="class=&quot;shutterset_2010_05_22_gridwars&quot;" title="gridwars title screen" href="http://radio.mcdougallshome.net/wp-content/uploads/2010/05/gridwars2-2.png"><img class="alignnone size-medium wp-image-491" title="gridwars title screen" src="http://radio.mcdougallshome.net/wp-content/uploads/2010/05/gridwars2-2-300x224.png" alt="" width="300" height="224" /></a><a class="class=&quot;shutterset_2010_05_22_gridwars&quot;" title="playing gridwars" href="http://radio.mcdougallshome.net/wp-content/uploads/2010/05/gridwars2-1.png"><img class="alignnone size-medium wp-image-490" title="playing gridwars" src="http://radio.mcdougallshome.net/wp-content/uploads/2010/05/gridwars2-1-300x229.png" alt="" width="300" height="229" /></a></p>
<p><strong>I enjoy playing Gridwars2 on Ubuntu Linux.</strong> It used to be available on <a href="http://www.getdeb.net/welcome/" target="_blank">getdeb.net</a> for <a title="Click to see Ubuntu releases" href="https://wiki.ubuntu.com/Releases" target="_blank">Ubuntu Jaunty</a>, but since then, it has disappeared.  It can be downloaded from the <a href="http://gridwars.marune.de/" target="_blank">authors&#8217; site</a>, but it will not run out of the box on Ubuntu Lucid Lynx.  Here are instructions to get it working on Ubuntu Lucid (and newer releases of Ubuntu).  It is quite easy once you figure out how.  This how to, assumes you know the basics of getting around in linux, and know how to work as administrator.</p>
<p>Get the gridwars_lin.zip file from</p>
<p><a href="http://gridwars.marune.de/" target="_blank">http://gridwars.marune.de/</a></p>
<p>Click &#8220;lin&#8221; for the Linux version.</p>
<p><span style="color: #ff0000;"><strong>(*UPDATED* 10/11/10)</strong></span> Here is another source for gridwars_lin.zip.  It can be found at:<br />
<a href="http://www.sourcefiles.org/Games/Arcade/" target="_blank">http://www.sourcefiles.org/Games/Arcade/</a></p>
<p>Unzip all the files and folders into a directory of your choice.  I put mine in /home/myusername/games/gridwars.  If you have multiple users on your system, you might put it all under /usr/share/games/gridwars</p>
<p>Set permissions:  Locate the file <strong>gridwars</strong> in the &#8230;/gridwars folder.  Right click on it and select <strong>Properties</strong>.  Click on the <strong>Permissions</strong> tab and make sure &#8220;<strong>Allow executing file as program</strong>&#8221; is checked.</p>
<p>Gridwars2 requires two additional files to run.  They are <strong>libstdc++.so.5</strong> and <strong>libstdc++.so.5.0.7</strong> .</p>
<p><span style="color: #ff0000;"><strong>(*UPDATED* 12/11/10)</strong></span> The lib files are no longer available in the jaunty source as shown below.  Ryan, posted a reply with a helpful hint.  It worked for me in a new install.</p>
<blockquote><p><cite>Ryan says:</cite><br />
October 24th, 2010 at 5:13 pm<small></small></p>
<p><small> </small>A simpler solution to the dependencies is to open a terminal and run this command</p>
<p>sudo apt-get install libstdc++5</p>
<p>Works on maverick as well.</p></blockquote>
<p><span style="text-decoration: line-through;">They can be obtained from the jaunty package <strong>libstdc++5_3.3.6-17ubuntu1_i386.deb</strong> .</span></p>
<p><span style="text-decoration: line-through;">libstdc++5_3.3.6-17ubuntu1_i386.deb can be gotten from</span></p>
<p><span style="text-decoration: line-through;"><a href="http://packages.ubuntu.com/jaunty/i386/libstdc++5/download" target="_blank">http://packages.ubuntu.com/jaunty/i386/libstdc++5/download</a> .</span></p>
<p><span style="text-decoration: line-through;">Pick a download location and save it on your computer somewhere convenient.  <strong>DO NOT INSTALL the deb package</strong>.  You will most likely get an error if you try.</span></p>
<p><span style="text-decoration: line-through;">As <strong>admin</strong>, open up libstdc++5_3.3.6-17ubuntu1_i386.deb with <span style="text-decoration: underline;"><strong>Archive Manager</strong></span> (not the GDebi Package Installer) and place files <strong>libstdc++.so.5</strong> and  <strong>libstdc++.so.5.0.7</strong> into the <strong>/usr/lib32</strong></span> <span style="text-decoration: line-through;">folder .  These are 32 bit files but will work on 64 bit Lucid.</span></p>
<blockquote><p><span style="text-decoration: line-through;">To use nautilus as admin for the above steps, type</span></p>
<p><span style="text-decoration: line-through;">$ sudo nautilus</span></p>
<p><span style="text-decoration: line-through;">in a terminal window.  You can then right click on libstdc++5_3.3.6-17ubuntu1_i386.deb and select &#8220;Open with Archive Manager.&#8221;  You then can drag and drop the files where you need them.</span></p></blockquote>
<p><span style="color: #ff0000;"><strong>(*UPDATED* 06/26/11) </strong></span>If you can not get the sound working, try <a title="How to get sound working on Gridwars2" href="http://radio.mcdougallshome.net/software/how-to-get-sound-working-on-gridwars2/" target="_blank">THIS</a>!<strong><br />
</strong></p>
<p>That is it.  To run gridwars2, locate the file &#8220;gridwars&#8221; in the gridwars folder and double-click to start it.  You can use System -&gt; Preferences -&gt; Main Menu to add gridwars2 to the menu system. A nice icon can be located at &#8230;/gridwars/gfx/High/whiteplayer.png .</p>
<p>Enjoy playing gridwars2!</p>
<p>- John K7JM</p>
<p><strong><span style="color: #ff0000;">(Please, read the comments, as they have some good updated information)</span></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://radio.mcdougallshome.net/software/how-to-install-gridwars2-on-ubuntu-lucid-10-04/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Linux In The Ham Shack</title>
		<link>http://radio.mcdougallshome.net/computers/linux-in-the-ham-shack/</link>
		<comments>http://radio.mcdougallshome.net/computers/linux-in-the-ham-shack/#comments</comments>
		<pubDate>Wed, 12 May 2010 03:05:15 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Netcasts]]></category>
		<category><![CDATA[Podcast]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[Ham Radio]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux in the HAM Shack]]></category>

		<guid isPermaLink="false">http://radio.mcdougallshome.net/?p=479</guid>
		<description><![CDATA[New Logo, New URL I am an avid user of the Linux operating system, and of course, a Ham Radio Operator. There happens to be a great podcast that combines these two endeavors into one.  Linux In The Ham Shack.  Recently, they have moved their web page and therefore have a new URL and here [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://lhspodcast.info/" target="_blank"><img class="alignnone" title="Linux In The Ham Shack" src="http://lhspodcast.info/wp-content/themes/mandigo/images/headers/lhs-header-new.jpg" alt="" width="577" height="136" /></a></p>
<h1>New Logo, New URL</h1>
<p><strong>I am an avid user of the <a title="What is Linux?" href="http://www.linux.org/info/" target="_blank">Linux</a> operating system, and of course, a <a title="What is Ham Radio?" href="http://radio.mcdougallshome.net/what_is_ar/" target="_blank">Ham Radio Operator</a>.</strong> There happens to be a great podcast that combines these two endeavors into one.  <a href="http://lhspodcast.info/" target="_blank"><strong>Linux In The Ham Shack</strong></a>.  Recently, they have moved their web page and therefore have a new URL and here it is: <a href="http://lhspodcast.info/" target="_blank"> http://lhspodcast.info/</a> Check out Russ&#8217;s and Richard&#8217;s Linux In The Ham Shack site and their podcast.  If you are a regular listener to the podcast, it might be worth mentioning that they also have a new feed, so if you have been missing episodes lately (like I have), try updating the podcast feed.</p>
<p>I&#8217;ve also updated their link on my <a href="http://radio.mcdougallshome.net/links/" target="_parent">Links</a> page.  Check that page out for other places I visit often.</p>
<p>Keep up the great work guys!</p>
<p>John &#8211; K7JM</p>
]]></content:encoded>
			<wfw:commentRss>http://radio.mcdougallshome.net/computers/linux-in-the-ham-shack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Display A Text Document On Your Web Page</title>
		<link>http://radio.mcdougallshome.net/software/how-to-display-a-text-document-on-your-web-page/</link>
		<comments>http://radio.mcdougallshome.net/software/how-to-display-a-text-document-on-your-web-page/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 00:49:01 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Computers - Software]]></category>
		<category><![CDATA[Ham Radio Software]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web Sites]]></category>
		<category><![CDATA[cqrlog]]></category>
		<category><![CDATA[display a text page on a web site]]></category>
		<category><![CDATA[kermit]]></category>
		<category><![CDATA[Linux in the HAM Shack]]></category>
		<category><![CDATA[txt2html]]></category>

		<guid isPermaLink="false">http://radio.mcdougallshome.net/?p=444</guid>
		<description><![CDATA[Being a Ham Radio operator, I&#8217;ve wanted, for some time, to display my log file on my web site. I&#8217;ve been researching it for some time, and mostly ran into methods that require java or php, or some sort of web scripting. This is beyond me and I wanted something simpler; and this is what [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_445" class="wp-caption alignleft" style="width: 316px"><a href="http://radio.mcdougallshome.net/wp-content/uploads/2009/08/k7jm_log_pic.png"><img class="size-full wp-image-445" style="margin: 5px;" title="A Corner of My Web Page" src="http://radio.mcdougallshome.net/wp-content/uploads/2009/08/k7jm_log_pic.png" alt="A Corner of My Web Page" width="306" height="223" /></a><p class="wp-caption-text">The corner of my web page with a link to view my Ham Radio log file.</p></div>
<p><strong>Being a <a title="What is Amateur (Ham) Radio?" href="http://radio.mcdougallshome.net/what_is_ar/">Ham Radio</a> operator, I&#8217;ve wanted, for some time, to display my log file on my web site.</strong> I&#8217;ve been researching it for some time, and mostly ran into methods that require java or php, or some sort of web scripting.  This is beyond me and I wanted something simpler; and this is what I have come up with.</p>
<p>My computers run on the <a href="http://www.ubuntu.com/" target="_blank">Ubuntu Linux Operating System</a>.  I came across a small command line utility program called <a href="http://txt2html.sourceforge.net/" target="_blank">txt2html</a>.  The name pretty much explains what it does.  It has many features that include many formatting options; one being, that I can pre-append a file to the front of another file.  I tested this feature to apply a preformatted html heading to my log page.  I made a simple sample of a text log page listing contacts, and ran it through txt2html and it attached my header to the log page and spit it all out as an html file ready to display on my web page.</p>
<p>My sample log page was called log.txt and looks like this:</p>
<pre>
<table style="height: 75px;" border="1" width="200">
<tbody>
<tr>
<td>
<pre>call            QTH
k7jm            Helena, MT
wa7vxm          Butte, MT</pre>
</td>
</tr>
</tbody>
</table>
</pre>
<p>My sample heading was called &#8216;log_file_heading.html&#8217; and looks like this:</p>
<h1><span style="color: #ff0000;">K7JM&#8217;s Log File</span></h1>
<p>I put it all through txt2html with a command like this:</p>
<blockquote>
<pre>txt2html --append_head ./log_file_heading.html ./log.txt &gt;./log.html</pre>
</blockquote>
<p>And the output file &#8216;log.html&#8217; looks like this and is ready to display on your web page:</p>
<table border="1">
<tbody>
<tr>
<td>
<h1><span style="color: #ff0000;">K7JM&#8217;s Log File</span></h1>
<pre>call            QTH
k7jm            Helena, MT
wa7vxm          Butte, MT</pre>
</td>
</tr>
</tbody>
</table>
<p>I wanted to automate a way to put this file on my web site without getting too complicated.  The simple <a title="The Linux ftp command" href="http://linux.about.com/od/commands/l/blcmdl1_ftp.htm" target="_blank">ftp</a> command would work, but it takes a bit to automate it. After a bit of research, I came across &#8216;<a title="Kermit or C-Kermit" href="http://www.columbia.edu/kermit/ck80.html" target="_blank">kermit</a>&#8216;.  &#8216;kermit&#8217; is a simple program that takes data from a file and performs the commands listed in the file.  Perfect.  I put the following commands in a file called &#8216;log.kermit&#8217;:</p>
<blockquote><p>ftp open ftp.myhostsite.net /user:myusername /password:mypassword<br />
put ./log.html /www/whereyou/wantit/log.html<br />
exit</p></blockquote>
<p>I then called kermit like this:</p>
<blockquote><p>kermit ./log.kermit</p></blockquote>
<p>and it is done.</p>
<p>To make things a bit cleaner and more automatic, I created a script file called &#8216;log_doit.sh&#8217; that looks something like this:</p>
<blockquote><p>txt2html &#8211;append_head /home/john/Desktop/log_file_heading.html /home/john/Desktop/cqrlog.html &gt;/home/john/Desktop/log.html<br />
kermit /home/john/Desktop/log.kermit<br />
exit</p></blockquote>
<p>Now, to do the whole process, I just had to update my log file, save it, and run the script &#8216;log_doit.sh&#8217; and it would be on my web site.</p>
<h1>A New Way &#8211; With cqrlog</h1>
<p>After I put all this together, I remembered hearing about a Linux logging program called <span style="color: #0000ff;"><strong><a title="CQRLOG by OK2CQR and OK1RR" href="http://www.cqrlog.com/" target="_blank">cqrlog</a></strong></span>, on the &#8216;<strong><a title="Linux In The Ham Shack" href="http://lhspodcast.info/" target="_blank">Linux In The Ham Shack</a></strong>&#8216; (link updated 9/2010) podcast.  If you are a Ham Radio Operator or use Linux, I strongly suggest you give this great podcast a listen.  It is always entertaining, and they have covered some very useful stuff for the Ham that is running a Linux operating system.</p>
<p>Anyway, I downloaded and installed &#8216;cqrlog&#8217; and started playing with it.  I was specifically looking for a way to export the log file so I could run it through &#8216;txt2html&#8217;.  Lo and behold, &#8216;cqrlog&#8217; does one step better; it exports the log right into the &#8216;html&#8217; format.  Wow! Perfect!.</p>
<p>I learned a lot by using txt2html, but now I can skip that step completely and just export the log file in html format and run a simpler script that runs &#8216;kermit&#8217; to upload the file to my web site.  Click <a title="K7JM's On-Line Amateur Radio Log File" href="http://radio.mcdougallshome.net/files/log.html" target="_blank">HERE</a> to see the actual page on my web site.  As of when this was written, the file is a test one that was created by playing with &#8216;cqrlog&#8217;.  It will change once I start using &#8216;cqrlog&#8217; for real.</p>
<p>John &#8211; K7JM</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 111px; width: 1px; height: 1px;">
<h1><span style="color: #ff0000;">K7JM&#8217;s Log File</span></h1>
<pre>call            QTH
k7jm            Helena, MT
wa7vxm          Butte, MT</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://radio.mcdougallshome.net/software/how-to-display-a-text-document-on-your-web-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

