<?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>From Bits to Bites &#38; Windshields to Worship &#187; how-to</title>
	<atom:link href="http://www.mattmckimmy.com/blog/tag/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattmckimmy.com/blog</link>
	<description>Computers, Cooking, Cars, Christianity, and More ...</description>
	<lastBuildDate>Tue, 18 Oct 2011 02:52:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Specifying a shared mount point in Ubuntu Linux</title>
		<link>http://www.mattmckimmy.com/blog/2009/09/23/specifying-a-shared-mount-point-in-ubuntu-linux/</link>
		<comments>http://www.mattmckimmy.com/blog/2009/09/23/specifying-a-shared-mount-point-in-ubuntu-linux/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 12:41:51 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[BackupPC]]></category>
		<category><![CDATA[drives]]></category>
		<category><![CDATA[eSATA]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[LUKS]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[USB 2.0]]></category>
		<category><![CDATA[volumes]]></category>

		<guid isPermaLink="false">http://www.mattmckimmy.com/blog/?p=150</guid>
		<description><![CDATA[This post is part of my Upgraded Linux Backup series. One of the challenges I faced in configuring my new backup system on my Ubuntu Linux-based server was setting up my two external drives to mount at the same place in the filesystem. Why? Because the program I use to manage my backups, BackupPC, expects [...]]]></description>
			<content:encoded><![CDATA[<p><em>This post is part of my <a onclick="javascript:pageTracker._trackPageview('/outgoing/www.mattmckimmy.com/blog/2009/08/04/upgraded-linux-backu/');" href="/blog/2009/08/04/upgraded-linux-backu/">Upgraded Linux Backup</a> series.</em></p>
<p>One of the challenges I faced in configuring my new backup system on my Ubuntu Linux-based server was setting up my two external drives to mount at the same place in the filesystem.</p>
<p>Why? Because the program I use to manage my backups, <a href="http://backuppc.sourceforge.net/">BackupPC</a>, expects the storage &#8220;pool&#8221; to always be in the same place. My options were to write a script to change the BackupPC configuration each time a different drive was plugged in, or make the pool mount in the same location regardless of which drive I&#8217;m using. Because I was working with LUKS-encrypted volumes I faced additional complexities which made it  difficult to use other methods (like volume labeling) because of how Gnome handles and mounts such encrypted volumes.</p>
<p>While it took a while to make it work, once I figured it out it did exactly what I needed. Now, I&#8217;m sharing my results with you to save you the trouble of doing all the research yourself!</p>
<p><span id="more-150"></span> I found the easiest solution both for this problem and my next one (making eSATA drives auto mount) was to use HAL configuration files. HAL stands for &#8220;Hardware Abstraction Layer&#8221; and is one of the ways Linux interfaces with various hardware elements, including hard drives. Using XML it is easy to create custom policies to define how HAL handles particular devices.</p>
<p><em>(*Note: I have read that Ubuntu will soon be moving away from using HAL, possibly as soon as 9.10, Karmic Koala. I&#8217;ve tested this on Ubuntu 8.04, 8.10, and 9.04, but it should work with any distro that (still) uses HAL.)</em></p>
<p><em>(** Note 2: Having recently begun the process of rebuilding my server on Ubuntu 9.10/Karmic, I can verify that this method DOES NOT WORK. I am currently in the process of figuring out a solution, likely using udev and scripting, and will post my results as a post here &#8230;)</em></p>
<p>These configuration files are located in <em>/etc/hal/fdi/policy. </em>My installation included one existing file &#8211; <em>preferences.fdi</em> &#8211; which defines whether non-removable drives are auto-mounted. (We&#8217;ll get to eSATA auto mounting soon enough &#8230;)</p>
<p>Some quick notes on how<em> .fdi</em> files work: first devices are matched with pre-determined keys, defined through XML. Then, actions are taken by changing (or &#8220;merging&#8221;) other keys. A very basic <em>.fdi</em> file might consist of the following:</p>
<pre>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt; &lt;!-- -*- SGML -*- --&gt;
&lt;deviceinfo version="0.2"&gt;

 &lt;device&gt;
   &lt;match key="some.key" string="some_string"&gt;
     &lt;merge key="another.key" type="bool"&gt;true&lt;/merge&gt;
   &lt;/match&gt;
 &lt;/device&gt;</pre>
<p>So what&#8217;s the easiest way to find these keys to match and merge? In my experience, Gnome Device Manager (aka gnome-device-manager).</p>
<p>To see if you have Device Manager installed, check under &#8220;Applications -&gt; System Tools&#8221; or try to launch <em>gnome-device-manager</em> from the terminal. If it doesn&#8217;t work, install it using Synaptic or run:</p>
<pre>sudo apt-get install gnome-device-manager</pre>
<p>With your drive plugged in and turned on, open up the device manager and begin to look for your drive. You may have to expand some of the trees for &#8220;SCSI Host Adapters&#8221; and &#8220;SCSI Devices&#8221;, or possibly USB-related trees,  before you see the drive entries, usually titled &#8220;Mass Storage Drive&#8221; or something about removable storage.  There may be several of these entries. You will need to look at attributes like the model numbers and capacities to determine which drive it is you&#8217;re wanting.</p>
<p>Once you&#8217;ve identified the drive you want the information for, type <em>ctrl+p</em> or click on &#8220;View -&gt; Device Properties&#8221; which should make an additional &#8220;Properties&#8221; tab appear beside the previous &#8220;Summary&#8221; tab. Now you will be able to see the various keys, types, and values you can use when creating <em>.fdi</em> files. For our purposes here we will need to look at the properties not for the drive itself, but for the volume we want to create a mount point for.</p>
<div id="attachment_160" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.mattmckimmy.com/blog/wp-content/uploads/2009/09/dev_man.jpg"><img class="size-full wp-image-160" title="Device Manager" src="http://www.mattmckimmy.com/blog/wp-content/uploads/2009/09/dev_man.jpg" alt="Note: this is with drive attached via eSATA" width="450" height="344" /></a><p class="wp-caption-text">Note: this is with drive attached via eSATA</p></div>
<p>Our first order of business is to find a key that will provide a definitive match for each drive / volume. In my situation I was using two identical external enclosures with two identical drives. I <em>could</em> have simply created one rule that would specify the mount point based on any drive that matched some shared property, such as the model number (<em>storage.model</em>) but I wanted to make sure that these two volumes and <em>only</em> these volumes would share this mount point. In addition, I wanted to be able to tell at a glance which one was mounted, so I needed HAL to distinguish between them somehow.</p>
<p>Every volume has a distinctive UUID &#8211; kind of like a fingerprint that identifies it to the rest of the system. In the device manager, under the properties tab for the volume you&#8217;re working on, look for the <em>volume.UUID</em> key. Once you&#8217;ve found it you can begin to write your HAL policy file.</p>
<p>Create a new, blank text file in <em>/etc/hal/fdi/policy</em>. (You will probably need to do all this as root / sudo) Name it something like <em>30-sharedmounts.fdi</em>. (The &#8220;30&#8243; in the file name makes sure this policy is evaluated prior to the general preferences file.) Once you have created your file, open it in your favorite text editor and start with the following:</p>
<pre>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt; &lt;!-- -*- SGML -*- --&gt;
&lt;deviceinfo version="0.2"&gt;</pre>
<p>Now we need to specify the device and they keys we want to match and merge:</p>
<pre>&lt;device&gt;
 &lt;match key="block.is_volume" bool="true"&gt;
 &lt;match key="volume.uuid" string="7feeefbf-416b-4383-9bb3-7fd51cb3e702"&gt;
   &lt;merge key="volume.policy.desired_mount_point" type="string"&gt;ext_backup&lt;/merge&gt;
   &lt;merge key="volume.label" type="string"&gt;Ext Backup 1&lt;/merge&gt;
 &lt;/match&gt;
 &lt;/match&gt;
&lt;/device&gt;</pre>
<p>Here&#8217;s a quick explanation of what you see above, and what each does:</p>
<ul>
<li><em>&lt;match key=&#8221;block.is_volume&#8221; bool=&#8221;true&#8221;&gt;</em> &#8211; A little bit of insurance, to make sure we&#8217;re working with a volume and not a drive.</li>
<li><em>&lt;match key=&#8221;volume.uuid&#8221; string=&#8221;7feeefbf-416b-4383-9bb3-7fd51cb3e702&#8243;&gt;</em> &#8211; As described above, identifies the particular volume you want to specify the mount point for.</li>
<li><em>&lt;merge key=&#8221;volume.policy.desired_mount_point&#8221; type=&#8221;string&#8221;&gt;ext_backup</em> &#8211; This is the new mount point, which will appear beneath <em>/media/</em> , so this example would mount as <em>/media/ext_backup</em> .</li>
<li><em>&lt;merge key=&#8221;volume.label&#8221; type=&#8221;string&#8221;&gt;Ext Backup 1</em> &#8211; A little extra nicety. This is how we can identify between different volumes, even when they&#8217;re mounted at the same point in the filesystem.</li>
</ul>
<p>Now that you&#8217;ve got the mount point specified for your first volume, you&#8217;ll want to do the same for your second (and any other subsequent) volumes. For each volume, just find the UUID and create a new <em>&lt;device&gt;</em> section in the <em>.fdi</em> file. Be sure to specify the same mount point and unique volume labels (if you so desire.) Once you&#8217;re done, save your file and restart HAL (or just reboot.)</p>
<pre>sudo /etc/init.d/hal restart</pre>
<p>Now, whenever you plug in your drives and Gnome auto-mounts your volumes, they will mount in the same place every time.</p>
<p>What&#8217;s that, you say? You&#8217;re using eSATA drives and they don&#8217;t auto-mount? My next blog post will take care of that for you, and it shouldn&#8217;t take more than about 5 minutes of your time. As an added bonus, this method will mount the volumes in the same place regardless of whether they&#8217;re connected by USB or eSATA.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattmckimmy.com/blog/2009/09/23/specifying-a-shared-mount-point-in-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Setting up LUKS encryption on USB drives</title>
		<link>http://www.mattmckimmy.com/blog/2009/09/21/setting-up-luks-encryption-on-usb-drives/</link>
		<comments>http://www.mattmckimmy.com/blog/2009/09/21/setting-up-luks-encryption-on-usb-drives/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 16:38:41 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[eSATA]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[LUKS]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.mattmckimmy.com/blog/?p=129</guid>
		<description><![CDATA[Part of the "Upgraded Linux Backup" series.

After obtaining (and assembling) my new backup hardware my first order of business was to get the external hard drives formatted and set up with drive encryption. In Ubuntu, the easiest way to encrypt a whole drive is using LUKS - it is easily readable by most Linux computers and can even be set up on a Windows PC, if absolutely necessary. This post will walk through the (remarkably simple) process of setting up encryption and formatting for most any USB flash or hard drive]]></description>
			<content:encoded><![CDATA[<p><em>This post is part of my <a href="http://www.mattmckimmy.com/blog/2009/08/04/upgraded-linux-backu/">Upgraded Linux Backup</a> series.</em></p>
<p>After obtaining (and assembling) my new backup hardware my first order of business was to get the external hard drives formatted and set up with drive encryption. Since I&#8217;m swapping out one drive to store off-site I wanted to use drive encryption just in case it somehow ended up in someone else&#8217;s posession. In Ubuntu, the easiest way to encrypt a whole drive is using LUKS. I chose LUKS because it is easily readable by most Linux computers and can even be set up on a Windows PC, if absolutely necessary. This post will walk through the (remarkably simple) process of setting up encryption and formatting.</p>
<p><span id="more-129"></span>(Note: most of these instructions are condensed adaptations of articles I found <a href="https://help.ubuntu.com/community/EncryptedFilesystemsOnRemovableStorage">here</a> and <a href="https://help.ubuntu.com/community/EncryptedFilesystemHowto">here</a>. )</p>
<p>FYI: I set up my drives using these instructions on Ubuntu 8.10 &#8211; Intrepid Ibex. I was later able to successfully mount and access the drives using Ubuntu 8.04 &#8211; Hardy Heron on my server and 9.04 &#8211; Jaunty Jackalope on my laptop.</p>
<p>When setting up my drives I was using USB 2.0, therefore these directions reflect that. The process may have been faster using eSATA, but at the time I did not yet have a controller card. The directions <em>should</em> be applicable to eSATA as well (unless otherwise noted), but your mileage may vary. These instructions can also be easily adapted for creating a handy, encrypted USB &#8220;thumb&#8221; drive.</p>
<h3 id="Install cryptsetup">Necessary Software</h3>
<p>In order to proceed you must have the <em>cryptsetup</em> package installed:</p>
<pre>sudo apt-get install cryptsetup</pre>
<h3>Finding the drive</h3>
<p>After powering on the drive and hooking it up to the computer you need to identify the device:</p>
<pre>dmesg | tail -20

[33884.688746] usb 4-1: new high speed USB device using ehci_hcd ...
[33884.764079] usb 4-1: configuration #1 chosen from 1 choice
[33884.764868] scsi8 : SCSI emulation for USB Mass Storage devices
[33884.765316] usb-storage: device found at 9
[33884.765321] usb-storage: waiting for device to settle before scan...
[33888.042416] usb-storage: device scan complete
[33888.043707] scsi 8:0:0:0: Direct-Access     HDS72505 0KLA360 ...
[33888.047550] sd 8:0:0:0: [sdb] 976773168 512-byte hardware sectors
[33888.048292] sd 8:0:0:0: [sdb] Write Protect is off
[33888.048300] sd 8:0:0:0: [sdb] Mode Sense: 00 38 00 00
[33888.048305] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[33888.049648] sd 8:0:0:0: [sdb] 976773168 512-byte hardware sectors
[33888.050421] sd 8:0:0:0: [sdb] Write Protect is off
[33888.050428] sd 8:0:0:0: [sdb] Mode Sense: 00 38 00 00
[33888.050432] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[33888.050438]  sdb: unknown partition table
[33888.066470] sd 8:0:0:0: [sdb] Attached SCSI disk
[33888.066545] sd 8:0:0:0: Attached scsi generic sg2 type 0</pre>
<p>In the example above (from <a href="https://help.ubuntu.com/community/EncryptedFilesystemsOnRemovableStorage">this article</a>)  you can see that the drive has been recognized as <strong>/dev/sdb</strong>. Your drives may show up differently (mine appeared as /dev/sdd and /dev/sde.) I&#8217;ll continue to use /dev/sdb to refer to the drive we are working with, but you should replace it with whatever your result is.</p>
<h3>Create the partition</h3>
<p>Before you can actually set up encryption or format the drive, you must create a partition. This is simply a portion of the drive you intend to store data on. A single physical drive may contain multiple partitions (as is usually the case with a linux boot drive) or just one. At this point you could easily choose to set up both an encrypted and a non-encrypted partition on your drive. I didn&#8217;t have a need for this, so I&#8217;ll be continuing with a single partition.</p>
<p>While it can be accomplished via the command line, I chose to use the graphical GParted program, available under the &#8220;System -&gt; Administration -&gt; Partition Editor&#8221; menu.</p>
<p>Choose your device via the drop-down menu in the upper right-hand corner. Then, select the unallocated space and create a new partition that encompasses the entire available space. We do not want to format the partition, only create it, so select &#8220;unformatted&#8221; as the filesystem.</p>
<p><a href="http://www.mattmckimmy.com/blog/wp-content/uploads/2009/09/new_partition.jpg"><img class="aligncenter size-full wp-image-141" title="New Partition" src="http://www.mattmckimmy.com/blog/wp-content/uploads/2009/09/new_partition.jpg" alt="New Partition" width="450" height="227" /></a></p>
<p>Click &#8220;Apply&#8221; and your new partition will be created. You should now have a partition named something like /dev/sdb1 (notice there&#8217;s now a number added.) Once you have created the partition successfully, close GParted.</p>
<h3>Setting up encryption</h3>
<p>The next section is copied verbatim from the aforementioned article:</p>
<p class="line862">The <em>dm-crypt</em>, <em>sha256</em> and <em>aes</em> kernel modules will need to be loaded prior to encrypting the partition:</p>
<pre>sudo modprobe dm-crypt
sudo modprobe sha256
sudo modprobe aes</pre>
<p class="line862">If the following error messages appear when loading <em>sha256</em> and <em>aes</em>:</p>
<pre>sudo modprobe sha256
WARNING: Error inserting padlock_sha ... No such device

sudo modprobe aes
WARNING: Error inserting padlock_aes ... No such device</pre>
<p class="line862">it is an indication that the system does not have a hardware cryptographic device (source: <a class="https" href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/206129">Ubuntu Bug #206129</a>)</p>
<p class="line862">The workaround is to add the following lines (using your favorite editor) to the bottom of <em>/etc/modprobe.d/aliases</em> and re-run the <em>modprobe</em> commands for the <em>sha256</em> and <em>aes</em> kernel modules:</p>
<pre>alias sha256 sha256_generic
alias aes aes_generic</pre>
<p>Note that this is only necessary when we are setting up the drive. Later we will access them through Gnome and won&#8217;t need these modules.</p>
<h3>Encrypting the partition</h3>
<p>Finally, we can run the command to encrypt the /dev/sdb1 partition.</p>
<p>While there are other ways of securing your encrypted drive (such as key file stored locally or on a USB flash drive) I have chosen to use a strong passphrase. Mine is 23 characters long, but any password 12 characters or longer not consisting of dictionary-findable words should suffice.</p>
<p>The tutorial I used recommended the following command:</p>
<pre>sudo cryptsetup --verify-passphrase luksFormat /dev/sdb1 -c aes -s 256 -h sha256</pre>
<p>The LUKS-formatting command above has the following options:</p>
<ul>
<li><em>&#8211;verify-passphrase</em> &#8211; ensures the passphrase is entered twice to avoid an incorrect passphrase being used</li>
<li><em>-c aes &#8211; </em>specifies the use of <a href="http://en.wikipedia.org/wiki/Advanced_Encryption_Standard">AES</a> encryption (c for cipher)</li>
<li><em>-s 256</em> &#8211; specifies a 256-bit key size</li>
<li><em>-h sha256</em> &#8211; use 256-bit <a href="http://en.wikipedia.org/wiki/SHA">SHA</a> for password hashing</li>
</ul>
<p>However, after reading <a href="https://help.ubuntu.com/community/EncryptedFilesystemHowto">this article</a> I decided to go with 128-bit AES encryption instead, along with a strong passphrase, in hopes of reducing some computational overhead. Therefore, my command instead looked something like:</p>
<pre>sudo cryptsetup --verify-passphrase luksFormat /dev/sdb1 -c aes -s 128 -h sha256</pre>
<h3>Creating the filesystem</h3>
<p>After setting up the encrypted partition, you must open and map it in order to set up the filesystem and begin using it.</p>
<p>Start with:</p>
<pre>sudo cryptsetup luksOpen /dev/sdb1 secureUSB</pre>
<p>Which should prompt you for your passphrase and map the drive to <strong>/dev/mapper/secureUSB</strong>. Now you can format the encrypted partition with a filesystem using whatever method you prefer. I had good luck using GParted to format in ext3.</p>
<p>Like before, select the device you want to create the filesystem on &#8211; in this case /dev/mapper/secureUSB. You should again see a block of unallocated space, which you should select and create a new partition within. You may be presented with a big, scary message about setting a disklabel &#8211; tell it to create (since you have no data to lose on the drive at this point anyway!)</p>
<p>The create new partition screen will look just the same as before, only this time you will want to specify the filesystem type you want to use. Apply all the pending operations and wait for the formatting process &#8211; it can take quite a while, especially for large drives.</p>
<h3>Mounting the encrypted drive</h3>
<p>Having successfully set up encryption and created a filesystem, we&#8217;re almost ready to to mount the drive and begin using it! (Of course, this is still assuming you&#8217;re using USB. If you&#8217;re using eSATA then this won&#8217;t work as easily &#8211; that will come in a later post!)</p>
<p>Shut down the computer, disconnect the drive, and reboot. Once you&#8217;re back up and logged in, reconnect the drive and Gnome should prompt you for the passphrase and then mount automatically.</p>
<p><a href="http://www.mattmckimmy.com/blog/wp-content/uploads/2009/09/unlock.jpg"><img class="aligncenter size-full wp-image-143" title="unlock" src="http://www.mattmckimmy.com/blog/wp-content/uploads/2009/09/unlock.jpg" alt="unlock" width="425" height="260" /></a></p>
<p>If you want the drive to unlock automatically on this computer, select &#8220;remember forever.&#8221;</p>
<p>After you&#8217;re unlocked and mounted, the final step is to take ownership of the drive&#8217;s root folder with a user other than your sudo/root user:</p>
<pre>sudo chown youruser:youruser /media/disk</pre>
<p>where <em>youruser</em> is the user you want to have ownership and  <em>/media/disk</em> is where gnome auto-mounted the drive.</p>
<h3>Finished!</h3>
<p>Whew! I must say it has taken far longer to write this post than it did to actually perform these operations. The longest part of the entire process was creating the ext3 filesystem. If you&#8217;re using eSATA to set up the drive it will go much faster, however as I mentioned you will have a few more steps to take before you can easily hot-swap your drive. Stay tuned for the next post in this series for that how-to &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattmckimmy.com/blog/2009/09/21/setting-up-luks-encryption-on-usb-drives/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Upgraded Linux Backup</title>
		<link>http://www.mattmckimmy.com/blog/2009/08/04/upgraded-linux-backup/</link>
		<comments>http://www.mattmckimmy.com/blog/2009/08/04/upgraded-linux-backup/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 03:12:33 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[BackupPC]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[eSATA]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[LUKS]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.mattmckimmy.com/blog/?p=110</guid>
		<description><![CDATA[After taking a couple weeks to upgrade my home network backup system I feel I've learned some lessons that some other folks might benefit from. So many lessons, in fact, that one blog post seems inadequate to contain them all. With that in mind, I'm going to be authoring a series on all the steps along the way.]]></description>
			<content:encoded><![CDATA[<p>After taking a couple weeks to upgrade my home network backup system I feel I&#8217;ve learned some lessons that some other folks might benefit from. So many lessons, in fact, that one blog post seems inadequate to contain them all. With that in mind, I&#8217;m going to be authoring a series on all the steps along the way.</p>
<p>Over the next couple days (weeks?) you can expect more on the following topics:</p>
<ul>
<li><a href="http://www.mattmckimmy.com/blog/2009/08/10/new-backup-hardware/">New backup hardware: drives, enclosures, and controller card</a></li>
<li><a href="/2009/09/21/setting-up-luks-encryption-on-usb-drives/">Setting things up: LUKS encryption on external drives</a></li>
<li><a href="http://www.mattmckimmy.com/blog/2009/09/23/specifying-a-shared-mount-point-in-ubuntu-linux/">Specifying a shared mount point in Ubuntu Linux</a></li>
<li>Switching from USB to eSATA, making eSATA automount</li>
<li>Making external encrypted drives work with BackupPC</li>
</ul>
<p>As you can tell from this list I faced a lot of hoops to jump through in order to get this up and running. I&#8217;ll add links to the individual posts as I write them. Feel free to ask questions if you&#8217;ve got any!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattmckimmy.com/blog/2009/08/04/upgraded-linux-backup/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>7 Common Cooking Mistakes</title>
		<link>http://www.mattmckimmy.com/blog/2008/05/02/7-common-cooking-mistakes/</link>
		<comments>http://www.mattmckimmy.com/blog/2008/05/02/7-common-cooking-mistakes/#comments</comments>
		<pubDate>Fri, 02 May 2008 12:09:49 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Cooking]]></category>
		<category><![CDATA[food]]></category>
		<category><![CDATA[greens]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[mistakes]]></category>
		<category><![CDATA[pasta]]></category>

		<guid isPermaLink="false">http://www.mattmckimmy.com/blog/?p=56</guid>
		<description><![CDATA[I ran across a link to this article on Lifehacker yesterday and I think it&#8217;s worth sharing.With food prices on the rise many people are left with two options: 1) resort to buying less expensive (junkier) prepackaged foods or 2) cook more of their meals from scratch, which can often cost less. Recognizing these common [...]]]></description>
			<content:encoded><![CDATA[<p>I ran across a link to <a title="7 Common Cooking Mistakes - Real Simple" href="http://www.realsimple.com/realsimple/content/0,21770,1730751-1,00.html">this article</a> on <a title="Lifehacker" href="http://lifehacker.com">Lifehacker</a> yesterday and I think it&#8217;s worth sharing.With food prices on the rise many people are left with two options: 1) resort to buying less expensive (junkier) prepackaged foods or 2) cook more of their meals from scratch, which can often cost less. Recognizing these common mistakes can help remove some of the hurdles to success in cooking more of your own meals. Here&#8217;s a quick run-down of the 7 common mistakes listed in the article:</p>
<p><span id="more-56"></span></p>
<ol>
<li>Not reading through the recipe all the way before starting.</li>
<li>Overcrowding the pan.</li>
<li>Not preheating the pan.</li>
<li>Not using a large enough pot for cooking pasta.</li>
<li>Sautéing wet greens.</li>
<li>Substituting dried herbs for fresh without properly compensating.</li>
<li>Frying food in oil that is not hot enough</li>
</ol>
<p>Even as an experienced home cook I sometimes fall prey to a few of these easy-to-make mistakes, such as pan overcrowding and not waiting long enough for oil to come up to temperature. In addition to naming each mistake the article also goes on to give tips on how to avoid making the mistake in the future. It&#8217;s well worth reading, so check it out:</p>
<p><a title="7 Common Cooking Mistakes - Real Simple" href="http://www.realsimple.com/realsimple/content/0,21770,1730751-1,00.html">7 Common Cooking Mistakes &#8211; Real Simple</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattmckimmy.com/blog/2008/05/02/7-common-cooking-mistakes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What is RSS?</title>
		<link>http://www.mattmckimmy.com/blog/2008/03/15/what-is-rss/</link>
		<comments>http://www.mattmckimmy.com/blog/2008/03/15/what-is-rss/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 20:14:53 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[web-apps]]></category>

		<guid isPermaLink="false">http://evervis.com/matt/blog/2008/03/15/what-is-rss/</guid>
		<description><![CDATA[aka &#8220;How I Stopped Surfing the Web&#8221; All over the internet, little orange icons (like the one on the right) and invitations to &#8220;subscribe&#8221; to web sites are popping up everywhere. You may wonder what this is all about. RSS stands for &#8220;Really Simple Syndication.&#8221; But what is most important is that it literally turns [...]]]></description>
			<content:encoded><![CDATA[<h3>aka &#8220;How I Stopped Surfing the Web&#8221;</h3>
<p><img src="http://evervis.com/matt/blog/wp-content/uploads/2008/03/rss-glass-128.png" style="width: 128px; height: 128px" alt="rss-glass-128.png" align="right" height="128" width="128" />All over the internet, little orange icons (like the one on the right) and invitations to &#8220;subscribe&#8221; to web sites are popping up everywhere. You may wonder what this is all about. RSS stands for &#8220;Really Simple Syndication.&#8221; But what is most important is that it literally turns the experience of surfing the web upside down.</p>
<p>Think of how you go about browsing the web now. You might go to a bunch of different places such as news sites, blogs, forums,  or maybe even more &#8220;social&#8221; sites like MySpace, <a href="http://www.flickr.com" title="Flickr - Photo Sharing">Flickr</a>, or <a href="http://picasaweb.google.com/" title="PicasaWeb by Google">PicasaWeb</a>. Each time you visit these sites you check to see if there is anything new since the last time you visited. Sometimes there is, sometimes there isn&#8217;t. Wouldn&#8217;t it be nice to know before you go to those sites whether there is anything new waiting for you? That&#8217;s where RSS comes in. By using RSS to subscribe to websites you visit frequently you can make the web come to you.</p>
<p>One great analogy about understanding the concept of RSS that I heard recently is this: think about video rentals. Now days there are two main ways to rent videos. One method requires you to get in your car, drive to the local video rental shop, rent a movie, and then drive home to watch it. The other method, used by companies like <a href="http://www.netflix.com" title="Netflix online movie rentals">Netflix</a>, lets you decide what movies you want to watch, then Netflix will send them to you in the mail to watch whenever you want. RSS does for the surfing the web what Netflix does for movie rentals. You decide what websites you want to see and RSS sends them to you whenever they are updated! Cool.</p>
<p>Keep reading for instructions on how to get started.<br />
<span id="more-11"></span></p>
<h3>Getting Started</h3>
<p>In order to get started using RSS, let&#8217;s quickly talk about some definitions of words that you might encounter:</p>
<p><strong>Reader</strong> &#8211; A reader is how you actually receive and read information using RSS. There are many different readers, including separate programs that you run on your computer and sites on the web that serve as readers. Readers are also sometimes referred to as &#8220;news readers&#8221;, &#8220;feed readers&#8221;, or &#8220;aggregators.&#8221;</p>
<p><strong>Feed</strong> &#8211; A feed is a stream of items from a particular website. Some websites offer many different feeds that contain different items. For example, on this website there is a feed for all items, as well as feeds for each of the main categories.</p>
<p><strong>Subscribe</strong> &#8211; In order to receive feeds in your reader, you must subscribe to them. Each different feed has an address, just like a web page would (http://blah.blah.blah). Most modern web browsers and feed readers will allow you to subscribe to a feed by just clicking on a link. These links will often use some form of the standard RSS icon: <img src="http://evervis.com/matt/blog/wp-content/uploads/2008/03/rss.png" class="noborder" style="width: 14px; height: 14px" alt="rss.png" height="14" width="14" />.</p>
<p>The first thing you will need to do is get an RSS reader. Some popular options are <a href="http://www.bloglines.com" title="Bloglines">Bloglines</a>, <a href="http://www.newsgator.com/Individuals/Default.aspx" title="NewsGator Products for Individuals">NewsGator</a>, <a href="http://www.netvibes.com" title="NetVibes">NetVibes</a>, and <a href="http://www.google.com/reader" title="Google Reader">Google Reader</a>.  Each of these work slightly differently, but to get started you will need to either download and install the program or sign up for the online service. Another option is to use the built in feed-reading capability of Mozilla Firefox 2 (or newer) or Internet Explorer 7 (or newer.) Firefox uses a feature called &#8220;Live Bookmarks&#8221;, while IE&#8217;s reader works more like a &#8220;regular&#8221; feed reader. For the rest of this example I&#8217;ll be using Google Reader, since it is my favorite reader and widely regarded as one of the best.</p>
<p><img src="http://evervis.com/matt/blog/wp-content/uploads/2008/03/googlesignup.png" style="width: 150px; height: 60px" alt="googlesignup.png" align="left" height="60" width="150" />The first thing you&#8217;ll need to do is sign up for a Google account (if you don&#8217;t have one already.) It&#8217;s quick and relatively painless and also opens the door for you to be able to use other great Google services such as Gmail and Google Calendar. If you already have a Google account then you should be able to log in to the Google Reader site using your existing email address and password.</p>
<p>Once you&#8217;re set up with your reader, now it&#8217;s time to set up some subscriptions. Start off by surfing to some of your usual web sites and looking around for RSS icons or feed links.<img src="http://evervis.com/matt/blog/wp-content/uploads/2008/03/autodiscovery.gif" style="width: 150px; height: 94px" alt="autodiscovery.gif" align="right" height="94" width="150" /> Often these links will be on the side or near the bottom of a web page. A neat feature found in most modern browsers is called &#8220;feed autodiscovery.&#8221; This allows webmasters to make it even easier for you to subscribe by providing a link to their feeds in the tool bar of your browser (see photo on right.) When you click on any of these feed links your browser will display a preview of the feed. If you are using Mozilla Firefox (and if you&#8217;re not &#8230; why aren&#8217;t you?) the preview page will look like this:<br />
<img src="http://evervis.com/matt/blog/wp-content/uploads/2008/03/previewscreenshot.gif" alt="previewscreenshot.gif" /><br />
Choose &#8220;Google&#8221; from the drop-down menu and click &#8220;subscribe now.&#8221; You will then be asked whether you want to add the feed to your Google homepage or Google Reader. Click &#8220;Add to Google Reader.&#8221; You should then be taken to the main  Google Reader window where it will show that you are now subscribed to a new feed:</p>
<p><img src="http://evervis.com/matt/blog/wp-content/uploads/2008/03/readerscreenshot1.gif" alt="readerscreenshot1.gif" /></p>
<p>There is also a second way to subscribe to new feeds. This way is nearly universal, and the basic process should work regardless of which browser or reader you are using. <img src="http://evervis.com/matt/blog/wp-content/uploads/2008/03/addsubscription2.gif" style="width: 250px; height: 232px" alt="addsubscription2.gif" align="right" height="232" width="250" />Follow the same instructions for finding feeds as above, but when you click on the feed link, copy the link text from the address bar. Then open Google Reader (or your reader of choice) and click on &#8220;add subscription&#8221; or whatever similar option your reader provides. Paste the feed&#8217;s address into the box and click &#8220;add.&#8221; You should now be subscribed to the new feed.</p>
<h3>What Now?</h3>
<p>Now that you have the basic process down you can begin to add more feeds as you discover them during your regular web surfing. I&#8217;ve found that once I start to visit a page more than two or three times a week it is much more efficient to add an RSS feed from that site to my reader. By doing this I&#8217;ve discovered that I spend much less time sufing aimlessly and more time with content that I really care about.  So get out there and start subscribing! Why not start now with a <a href="http://evervis.com/matt/blog/feed/" title="Subscribe to From Bits to Bites">subscription to this blog</a>?</p>
<p>Happy feed-reading!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattmckimmy.com/blog/2008/03/15/what-is-rss/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

