<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>[Insert Witty Title Here] &#187; Linux</title>
	<atom:link href="http://blog.colinashe.net/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.colinashe.net</link>
	<description>Ruminations from a Ruminator</description>
	<lastBuildDate>Sun, 28 Aug 2011 00:54:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.colinashe.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/2666f4b25f83dceb1d9d486f950215b2?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>[Insert Witty Title Here] &#187; Linux</title>
		<link>http://blog.colinashe.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.colinashe.net/osd.xml" title="[Insert Witty Title Here]" />
	<atom:link rel='hub' href='http://blog.colinashe.net/?pushpress=hub'/>
		<item>
		<title>Of Synergy and cross-over cables</title>
		<link>http://blog.colinashe.net/2010/07/01/of-synergy-and-cross-over-cables/</link>
		<comments>http://blog.colinashe.net/2010/07/01/of-synergy-and-cross-over-cables/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 00:17:17 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[command line]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.colinashe.net/?p=629</guid>
		<description><![CDATA[The last few months have been very eventful. I finished writing my thesis, did my thesis defense, graduated, moved, and started my new job.  I&#8217;m getting close to the end of my second week in the new position and during that time I&#8217;ve been gradually getting my office set up the way I want it. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=629&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The last few months have been very eventful. I finished writing my thesis, did my thesis defense, graduated, moved, and started my new job.  I&#8217;m getting close to the end of my second week in the new position and during that time I&#8217;ve been gradually getting my office set up the way I want it.</p>
<p>My main work computer is a Windows 7 PC but I also have a Mac Mini that I use for cross-platform testing and other various activities.  I have two monitors attached to my PC and one connected to my Mac.  Since I have two computers but I only want to use a single keyboard and mouse, I had two options: using a KVM switch with the V part disconnected (thereby only using the keyboard and mouse) or use <a href="http://synergy2.sourceforge.net" target="_blank">Synergy</a>.</p>
<p>I&#8217;ve used a KVM switch before without the video switching and it&#8217;s incredibly confusing.  I&#8217;ve also used a KVM switch with video switching and it&#8217;s pretty inconvenient.  So, I decided to use Synergy.  Read on for how I got it all set up.</p>
<p><span id="more-629"></span></p>
<p>For the uninitiated, Synergy is a program that allows you to use a single mouse and keyboard with a number of computers.  You choose one computer to be the Synergy server and you connect your mouse and keyboard to it.  All the other computers you want to use are clients and they receive mouse and keyboard input from the server over the network.  You do some configuration to tell Synergy about the size and placement of the screens, as well as some networking stuff, and you&#8217;re all set.  When you move your mouse off the side of the screen connected to one computer, it shows up on the screen of the adjacent computer.  Keyboard input is routed to the computer containing the mouse cursor.</p>
<p>All in all, it&#8217;s a great system.  It&#8217;s cross-platform, so it works on Windows, Linux, Mac, etc.  It&#8217;s much less confusing than using a KVM switch without video switching and it&#8217;s much faster and easier to use than a KVM switch with video switching, since all screens are viewable simultaneously.</p>
<p>However, it does have one drawback: all data transferred between linked machines is sent unencrypted.  So, if I try to log in to a website on one of the client machines, my password is sent in the clear over the network.  You can set up SSH tunneling if you want, and I&#8217;ve done this in the past, but it&#8217;s a pain.</p>
<p>This time around, since I&#8217;m using wireless network adapters to connect both my PC and Mac to the network, I have a spare ethernet port on both machines.  This made me think that maybe I could set up Synergy to work with a cross-over cable, meaning that all my Synergy data would travel over this cable and not the university network.  If the data isn&#8217;t traveling over the main network, there&#8217;s no need to encrypt it.</p>
<p>Of course, the same thing could be done with a cheap network switch, and this approach would be necessary if more than 2 computers were involved.  However, I don&#8217;t have a network switch or more than 2 computers and I do have a cross-over cable, so I thought I would give it a try.</p>
<p>It turned out to be easy. I just configured the wired ethernet adapters on both machines with local IP addresses.  I assigned 169.254.0.1 to the Synergy server and 169.254.0.2 to the client.  I gave them both a subnet mask of 255.255.255.0 and I didn&#8217;t enter any further information &#8211; no default gateway, no DNS servers, etc.</p>
<p>I tried pinging each machine from the other and they found each other with no difficulty.  Of course, in this case, I was using the IP addresses I had just assigned and not the hostname of the machine on the main network.  One big upside of this approach is that the ping times are tiny.  Since these machines are connected directly, there is no other network traffic to slow down the Synergy traffic.</p>
<p>With the machines connected and seeing each other, I just had to install and configure Synergy.  The Windows installer is pretty good and it automates the creation of the config file.  I basically just followed the directions in the configuration utility and I looked up some stuff in the online documentation, as needed.</p>
<p>I did have one difficulty.  Initially, I couldn&#8217;t get my Mac to connect to the PC.  In the config file on my Windows machine I had used the name I had given my Mac.  However, the Synergy client on my Mac kept telling me that the connection attempts were being refused by the Synergy server.   It turns out that, while I had given my Mac a name manually, because it was getting its IP address via DHCP, it was getting another hostname on the network. So, I changed the hostname for the Mac in the configuration file on my Windows machine to reflect the hostname the Mac received from the DHCP server.  This fixed the problem.</p>
<p>With the Synergy server and client talking to each other, one thing that I needed to deal with was  the possibility that Synergy traffic would be sent over the main network despite the presence of the cross-over cable.  This can be addressed in two ways.  1) When invoking the Synergy client, you supply the hostname or IP address of the server.  So, you just make sure that you use the local (non-globally routable) IP address of the ethernet adapter on the server.  The client won&#8217;t be able to reach a local IP address over a network populated with globally routable IP addresses.  2) For an extra level of security, you can specify that the Synergy server only listens on a particular network adapter. So, I told the server to only listen for connections on the ethernet port with the local address.  Thus, it will ignore any traffic that comes in over the wireless adapter.</p>
<p>To verify that these measures worked, I turned off the wireless adapter on the server and tested whether the setup still worked.  It did!  As a final step, I configured the links between the monitors to deal better with the difference in size between them.  On my windows machine I have two 1680&#215;1050 monitors in portrait orientation.  My Mac is connected to a 1280&#215;1024 monitor in landscape orientation.  So, at the place where one of my Windows monitors meets the Mac monitor, I have 1680 pixels meeting 1024 pixels.  I just played around with the settings until it looked good.  Useful hint: 0% means the top of the screen; 100% means the bottom.</p>
<p>One final tip is that Synergy appears to not need to know anything about multi-monitor setups.  As far as Synergy is concerned, my Windows computer has a single monitor that is 2100 pixels wide and 1680 pixels high.  Initially, I was concerned that dealing with the two monitors on my Windows machine was going to make things hard, but it turned out to be a non-issue.  However, if, for whatever reason, you wanted to interleave monitors like (from left to right) monitor 1 from computer A, monitor 1 from computer B, monitor 2 from computer A, monitor 2 from computer B, I have no idea how to do that, if it&#8217;s even possible.</p>
<p>To sum up, I&#8217;m very pleased with my new set up.  It was easy to configure and it works great.  If you routinely work with more than computer, I recommend you give Synergy a try.  If your computers are at home and all the machines have local IP addresses, you probably don&#8217;t need to worry about the traffic being unencrypted.  However, if you&#8217;re at work in a large company or university like I am, it&#8217;s probably not the greatest idea to send your Synergy data over that network in the clear.  So, if you have spare network adapters and want to avoid tunneling over SSH, the approach described here might work well for you.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colinaashe.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colinaashe.wordpress.com/629/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colinaashe.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colinaashe.wordpress.com/629/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colinaashe.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colinaashe.wordpress.com/629/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colinaashe.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colinaashe.wordpress.com/629/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colinaashe.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colinaashe.wordpress.com/629/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colinaashe.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colinaashe.wordpress.com/629/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colinaashe.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colinaashe.wordpress.com/629/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=629&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colinashe.net/2010/07/01/of-synergy-and-cross-over-cables/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ee26997b5a0d9e7b34f7782cc84a2078?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Colin</media:title>
		</media:content>
	</item>
		<item>
		<title>Adventures in awk</title>
		<link>http://blog.colinashe.net/2010/01/19/adventures-in-awk/</link>
		<comments>http://blog.colinashe.net/2010/01/19/adventures-in-awk/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 20:55:54 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[command line]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[kludge]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[thesis]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.colinashe.net/?p=594</guid>
		<description><![CDATA[I&#8217;ve been working on a literature review lately so I&#8217;ve been sifting through tons of articles.  In my search, I&#8217;ve come across a few bibliographies of papers on specific topics which were compiled by researchers interested in those topics.  When the bibliography is reasonably small (in the case of a very narrowly defined topic), it&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=594&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a literature review lately so I&#8217;ve been sifting through tons of articles.  In my search, I&#8217;ve come across a few bibliographies of papers on specific topics which were compiled by researchers interested in those topics.  When the bibliography is reasonably small (in the case of a very narrowly defined topic), it&#8217;s usually fastest to sift through it by hand to find articles that might be of interest.  However, <a href="http://www.ipn.uni-kiel.de/aktuell/stcse/stcse.html" target="_blank">the most recent bibliography</a> I found contains 8342 papers.  I am definitely not about to print that out and go through it by hand.</p>
<p>This bibliography is available as an <a href="http://en.wikipedia.org/wiki/EndNote" target="_blank">EndNote</a> library file and as a <a href="http://en.wikipedia.org/wiki/Rich_Text_Format" target="_blank">Rich Text Format (rtf)</a> document.  Apparently, if you have a recent version of EndNote installed you can use its search features to sift through the data.  However, the file won&#8217;t open in EndNote 6, which is what I have on my laptop.  <a href="http://www.zotero.org/" target="_blank">Zotero</a> wouldn&#8217;t import it either.  I tried using the built-in search capabilities in Word and even <a href="http://www.jedit.org" target="_blank">jEdit</a> on the rtf but nothing could provide me with what I wanted.  Basically, I wanted the ability to export entries that matched a given search criterion to a separate file.  Presumably, there are programs that can do this for you, but I don&#8217;t know of them and don&#8217;t have them installed.</p>
<p>In the end, I decided to convert the rtf to a simple txt file.  This put each entry on its own line.  With each entry occupying a single line in the text file, I just needed some way to search for a given term and then output each line that contains that term.  I have used <a href="http://en.wikipedia.org/wiki/Sed" target="_blank">sed</a> and <a href="http://en.wikipedia.org/wiki/Awk" target="_blank">awk</a> a little bit in the past and I knew that there must be some way to do that with either or both of those, so I looked into their syntax online.  I found <a href="http://www.vectorsite.net/tsawk_1.html#m1" target="_blank">this awk tutorial</a> and, using the examples there, I was able to put together a command that does exactly what I needed:</p>
<p><big><code>awk '/term/ {print $0}' &lt; bibliography.txt &gt; term.txt</code></big></p>
<p>where &#8220;term&#8221; is replaced by whatever term you want to match.  You can further automate this by putting a bunch of these commands into a shell script or writing a little Perl program that will take a command line argument and insert it as &#8220;term&#8221; in the command.</p>
<p>Now I have a list of papers related to all the terms I&#8217;m interested in and I&#8217;ve got a fast way to search for further terms in the future if I need to.  The approach is a little &#8220;awk&#8221;ward (groan!) because I have to run it in Linux and I use Windows most of the time.  I no longer have Linux installed as a virtual machine on my laptop and I don&#8217;t even have <a href="http://en.wikipedia.org/wiki/Cygwin" target="_blank">Cygwin</a> installed anymore.  So, I had to upload my text file to one my research group&#8217;s Linux servers, run the scripts, and download the results back to my laptop.  Once I figured out what I needed to do it took me less than half an hour to do it, though, so even if it&#8217;s kludgy, it&#8217;s still a lot faster than reading through the bibliography manually.</p>
<p><strong>UPDATE:</strong> I just realized that all I did was replicate the functionality of <a href="http://en.wikipedia.org/wiki/Grep" target="_blank">grep</a> using awk.  That is, I could achieve the same result with the following code:</p>
<p><big><code>grep term &lt; bibliography.txt &gt; term.txt</code></big></p>
<p>Additionally, it turns out that you can produce this functionality <a href="http://www.grymoire.com/Unix/Sed.html#toc-uh-15" target="_blank">with sed</a> as well, using the following code:</p>
<p><big><code>sed -n 's/term/&amp;/p' &lt; bibliography.txt &gt; term.txt</code></big></p>
<p>I guess I missed the fact that I could use grep because I started thinking about using sed or awk before I converted the file to plain text.  Each entry was spread over multiple lines so I was thinking about needing something fairly sophisticated.  I know that grep can do regular expressions but my first thought went to sed and awk, which are like one logical unit in my brain because of the O&#8217;Reilly books that cover both.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colinaashe.wordpress.com/594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colinaashe.wordpress.com/594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colinaashe.wordpress.com/594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colinaashe.wordpress.com/594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colinaashe.wordpress.com/594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colinaashe.wordpress.com/594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colinaashe.wordpress.com/594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colinaashe.wordpress.com/594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colinaashe.wordpress.com/594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colinaashe.wordpress.com/594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colinaashe.wordpress.com/594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colinaashe.wordpress.com/594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colinaashe.wordpress.com/594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colinaashe.wordpress.com/594/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=594&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colinashe.net/2010/01/19/adventures-in-awk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ee26997b5a0d9e7b34f7782cc84a2078?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Colin</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows 7 woes</title>
		<link>http://blog.colinashe.net/2009/12/11/windows-7-woes/</link>
		<comments>http://blog.colinashe.net/2009/12/11/windows-7-woes/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 19:01:28 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[purchases]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.colinashe.net/?p=557</guid>
		<description><![CDATA[We recently got a new computer to replace Rechner.  It came with Windows Vista but since MIT has a site license to Windows 7, I installed that immediately after receiving the computer.  It&#8217;s been running fine for about a week, I guess, but today it started acting up.  I was using it this morning and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=557&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We recently got a new computer to replace <a href="http://blog.colinashe.net/2009/09/11/happy-birthday-rechner/" target="_blank">Rechner</a>.  It came with Windows Vista but since MIT has a site license to Windows 7, I installed that immediately after receiving the computer.  It&#8217;s been running fine for about a week, I guess, but today it started acting up.  I was using it this morning and the system hung a couple of times for 20-30 seconds each time.  I didn&#8217;t know what the problem was, so I used the tried and true approach: reboot.</p>
<p>However, upon rebooting, I was greeted with a message that Windows Explorer had crashed.  I tried restarting Explorer but it crashed again.  I tried rebooting a couple more times but to no avail.</p>
<p>So far, each crash has been one of two types:</p>
<blockquote><p>Problem Event Name: APPCRASH<br />
Application Name: Explorer.EXE<br />
Application Version: 6.1.7600.16404<br />
Application Timestamp: 4a765771<br />
Fault Module Name: ntdll.dll<br />
Fault Module Version: 6.1.7600.16385<br />
Fault Module Timestamp: 4a5be02b<br />
Exception Code: c000041d<br />
Exception Offset: 000000000003d8db<br />
OS Version: 6.1.7600.2.0.0.256.4<br />
Locale ID: 1033</p></blockquote>
<p>or</p>
<blockquote><p>Problem Event Name: InPageCoFire<br />
Error Status Code: c000009c<br />
Faulting Media Type: 00000003<br />
Damaged File Name: SyncCenter.dll<br />
OS Version: 6.1.7600.2.0.0.256.4<br />
Locale ID: 1033</p></blockquote>
<p>The second one has been more prevalent by far.  Generally, if the first one is observed, it occurs first thing after a reboot.  All subsequent crashes are of the second type.  So, I searched for this information online.</p>
<p>Unfortunately, I haven&#8217;t been able to locate any information on this particular type of error.  A search of &#8220;Windows 7&#8243; + InPageCoFire + SyncCenter.dll returns no hits on Google.  However, I did find some general advice, suggesting that reverting to an older known-good restore point could help.</p>
<p>So, I got out the install DVD and used it to go back to an earlier restore point.  I noticed that there was a restore point from early this morning, just prior to a critical update having been installed. I figured this must of have caused the problem so surely, reverting to the restore point prior to the update would fix it.  Unfortunately, it did not.</p>
<p>I tried reverting to an even earlier restore point.  That still didn&#8217;t help.  So, I tried running the built-in memory diagnostics.  That didn&#8217;t appear to produce any errors but I can&#8217;t be sure because it&#8217;s supposed to give you a report once you restart the machine and log in to Windows.  I can never get far enough to see the report.</p>
<p>I just downloaded <a href="http://www.memtest.org/" target="_blank">memtest86+</a> and I&#8217;m running that right now.  My current expectation, however, is that there are no problems with the memory.  Rather, I expect that somehow SyncCenter.dll (and possibly ntdll.dll)  got corrupted.  I don&#8217;t know how to fix that.  I had a similar problem back in Windows 95 with some corrupted DLLs.  I ended up solving the problem by copying the affected DLLs from a friend&#8217;s computer.  However, I don&#8217;t know if I&#8217;ll be able to take that approach this time because I can&#8217;t even use Windows Explorer.  Perhaps I could use a Linux Live CD and the necessary DLLs on a USB drive to make the switch.</p>
<p>Or, I could just reinstall the OS.  When I installed the OS, I partitioned the 640GB drive into two partitions: 150GB for the OS and programs (on C:) and about 450GB for my data (on D:).  This would enable me to wipe the C drive and reinstall without requiring me to recopy all my data.  We&#8217;ll see.  If I end up having to spend much more time on this, I&#8217;m just going to wipe the drive and start over.</p>
<p>If anyone reading this has any suggestions on things I could try, please let me know in the comments.  Thanks!</p>
<p><strong>UPDATE 1:</strong> According to <a href="http://www.win7dll.info/synccenter_dll.html" target="_blank">this site</a>, SyncCenter.dll is statically linked to ntdll.dll and won&#8217;t run properly if ntdll.dll is corrupt or missing.  So, maybe SyncCenter.dll is OK and the real problem is ntdll.dll.  I&#8217;ll have to see if I can find a way to replace this file.  Also, memtest86+ completed with no errors, so the problem doesn&#8217;t appear to be RAM-related.</p>
<p><strong>UPDATE 2: </strong>After a bit more digging online, I found some references to problems with Windows Explorer crashing because of a weird interaction with Firefox.  I tried to uninstall Firefox but Windows Explorer crashed too rapidly for me to even open the Uninstall Programs window.  So, I booted into Safe Mode.  I was curious to see whether I still got the crashes.  I did.  Fortunately, in Safe Mode I managed to uninstall Firefox.  I rebooted into regular Windows, but much to my chagrin, Windows Explorer crashed again.</p>
<p>Earlier in the evening I had <a href="http://social.answers.microsoft.com/Forums/en-US/w7repair/thread/0095280a-6502-486e-b7dd-a5901efffc1f" target="_blank">posted my problem on a Microsoft forum</a> but I subsequently decided that all this troubleshooting was for the birds and that I should just go ahead and reinstall the OS.  The last time around, I had used my university&#8217;s site license to install Windows 7 Enterprise.  However, with the possibility that my problem was due to the corruption of a file, I wondered about how reliable it was to download a nearly 3GB ISO file via wireless, burn it on a DVD and then install it.  Fortunately, I had also bought a copy of Windows 7 Professional from Win741.com for $30 earlier this fall.  I paid a bit extra and had them send me a disc.  I decided I would use this disc to reinstall Windows 7 since it was a pressed DVD and is probably more reliable from a data integrity standpoint than a downloaded 3GB ISO image burned on a DVD.</p>
<p>The installation went fine.  A clean install seems to generally take 20-30 minutes, which I think is pretty reasonable for an operating system.  I used <a href="http://ninite.com/" target="_blank">Ninite</a> to install a bunch of software we use.  Importing all my music into iTunes was easy &#8211; I had spent some time cleaning up my iTunes library with my last install and since I had put all that data on my data partition, it was easy to import again.</p>
<p>Importing photos into Picasa looks like it&#8217;ll take a bit more work.  The photos themselves are no problem; the problem lies with the face recognition.  When I copied all our pictures over from the old hard drive, the face &#8220;groups&#8221; were preserved (in the .picasa.ini files in each folder containing photos) but the names associated with those groups were not.  So, I didn&#8217;t have to do any obnoxious manual sorting like I did when I first installed Picasa on our old machine but I did have to input names to go with those face groups or at least connect those face groups to contacts from my wife&#8217;s set of Gmail contacts.</p>
<p>This time around, it looks as though the face who were connected to Gmail contacts have had those connections preserved while it looks like I&#8217;ll need to reenter the names of people (mostly children) who weren&#8217;t in my wife&#8217;s contact list and whose names I had entered manually.  I&#8217;m going to let it crank over night and in the morning I&#8217;ll see what needs to be done.</p>
<p>In any case, I hope the curious case of the crashing Windows Explorer doesn&#8217;t rear its ugly head again.  Though, if it does, hopefully, by then I&#8217;ll have received a useful answer to the question I posted on the forum.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colinaashe.wordpress.com/557/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colinaashe.wordpress.com/557/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colinaashe.wordpress.com/557/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colinaashe.wordpress.com/557/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colinaashe.wordpress.com/557/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colinaashe.wordpress.com/557/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colinaashe.wordpress.com/557/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colinaashe.wordpress.com/557/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colinaashe.wordpress.com/557/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colinaashe.wordpress.com/557/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colinaashe.wordpress.com/557/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colinaashe.wordpress.com/557/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colinaashe.wordpress.com/557/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colinaashe.wordpress.com/557/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=557&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colinashe.net/2009/12/11/windows-7-woes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ee26997b5a0d9e7b34f7782cc84a2078?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Colin</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing CUPS on Ubuntu 9.04 (jaunty)</title>
		<link>http://blog.colinashe.net/2009/09/30/installing-cups-on-ubuntu-9-04-jaunty/</link>
		<comments>http://blog.colinashe.net/2009/09/30/installing-cups-on-ubuntu-9-04-jaunty/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 14:39:49 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[projects]]></category>

		<guid isPermaLink="false">http://blog.colinashe.net/?p=518</guid>
		<description><![CDATA[In my last post I mentioned that I completed the migration of this blog from the old host machine (called imladris) to WordPress.com. This is part of a larger effort to retire that machine altogether. It had been hosting my blog, my photoblog, our family photo gallery, and my wife&#8217;s old blog for years. In [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=518&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In my last post I mentioned that I completed the migration of this blog from the old host machine (called <a href="http://blog.colinashe.net/2007/01/12/the-computers-of-middle-earth/" target="_blank">imladris</a>) to WordPress.com.  This is part of a larger effort to retire that machine altogether.  It had been hosting my blog, my photoblog, our family photo gallery, and my wife&#8217;s old blog for years.  In addition, for the last few months I&#8217;ve been running a <a href="http://en.wikipedia.org/wiki/CUPS" target="_blank">CUPS</a> server on it so we could easily use our printer from any of our machines (we have 4 computers in the house, not including imladris).  However, last night I pulled the plug on imladris.  So, if we want to have our printer on the network again, I either need to buy a dedicated print server or I need to install CUPS on a different machine.  Fortunately, we have another Linux machine in the apartment: <a href="http://blog.colinashe.net/2007/01/12/the-computers-of-middle-earth/" target="_blank">orthanc</a>, which I use as my <a href="http://blog.colinashe.net/index.php?s=mythtv" target="_blank">MythTV</a> machine.</p>
<p>I had installed CUPS on imladris only a few months ago, so the process should still be fresh in my mind.  However, imladris ran <a href="http://en.wikipedia.org/wiki/Ubuntu_%28operating_system%29" target="_blank">Ubuntu</a> <a href="http://en.wikipedia.org/wiki/List_of_Ubuntu_releases#Ubuntu_6.06_LTS_.28Dapper_Drake.29" target="_blank">6.06 LTS</a>, whereas orthanc runs Ubuntu <a href="http://en.wikipedia.org/wiki/List_of_Ubuntu_releases#Ubuntu_9.04_.28Jaunty_Jackalope.29" target="_blank">9.04</a>.  I&#8217;m not exactly sure whether 3 years* has made much of a difference but I&#8217;m going to try to follow online explanations to get it working.  As I work on this, I&#8217;m just going to give an account of what I&#8217;m doing, where I found instructions, etc. until I get it working.  If you&#8217;re interested in this, read on.  If you&#8217;re not, maybe you can find a more entertaining way to spend your time, like playing <a href="http://adamatomic.com/canabalt/" target="_blank">Canabalt</a>.</p>
<p><span id="more-518"></span></p>
<p>Last night I disconnected the printer from imladris and connected it up to orthanc. I also installed CUPS using the following command:</p>
<blockquote><p><span style="font-size:medium;"><code>$ sudo apt-get install cupsys cupsys-client</code></span></p></blockquote>
<p>I don&#8217;t actually know what the cupsys-client package does or whether I need it at all. Looking around at the <a href="http://packages.ubuntu.com" target="_blank">Ubuntu package repository</a>, it appears that cupsys provides the daemon and cupsys-client provides client software for the local machine.  Thus, since I don&#8217;t care about being able to print from orthanc itself, I probably don&#8217;t need cupsys-client.  Oh well.</p>
<p>Ok, so I&#8217;ve got the printer connected and CUPS installed.  What now?  I recall from the last time I installed CUPS, using the web interface was pretty easy.  So, let me try to get that set up.  First, I tried to simply enter what I thought was the correct URL and I got nothing.  So, I did a quick search online.  <a href="http://ubuntu-tutorials.com/2009/03/19/configuring-printers-via-the-cups-web-interface/" target="_blank">This site</a> suggests editing <span style="font-size:medium;"><code>/etc/cups/cupsd.conf</code></span> and replacing the following line:</p>
<blockquote><p><span style="font-size:medium;"><code>Listen localhost:631</code></span></p></blockquote>
<p>with</p>
<blockquote><p><span style="font-size:medium;"><code>Listen 0.0.0.0:631</code></span></p></blockquote>
<p>I made this change and restarted CUPS by typing:</p>
<blockquote><p><span style="font-size:medium;"><code>$ sudo /etc/init.d/cups restart</code></span></p></blockquote>
<p>When I did this, rather than getting nothing when I pointed my browser to <span style="font-size:medium;"><code>that same URL</code></span>, I got <span style="font-size:medium;"><code>403 Forbidden</code></span>.  So, that&#8217;s a start.  At least the web server is returning something.</p>
<p>Up to this point I had been working remotely on my laptop using the command line via <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank">PuTTY</a>.  I was doing this because I don&#8217;t have a high resolution monitor attached to my MythTV machine; it&#8217;s only connected to my TV.  However, I decided that using the browser locally might make things easier.</p>
<p>So, I shut down the MythTV frontend on orthanc and opened up Firefox.  I pointed it to <span style="font-size:medium;"><code>http://localhost:631</code></span>, at which point I was greeted by the CUPS administration page.  Hooray!  Using the CUPS administration page I searched for detectable printers.  It detected my printer (HP LaserJet 6MP &#8211; old school, I know) and allowed me to add it.  I could then pick the driver I wanted.  On imladris I had used the Gutenprint driver.  However, this time around there was a postscript driver available, so I chose that.  I don&#8217;t know if it&#8217;ll be better than the Gutenprint driver &#8211; only time will tell.  I printed a test page from the adminstration site and it came out very nicely.</p>
<p>So, it appears to work locally.  Now, I need to knuckle down and actually figure out how to access the CUPS server remotely.  To figure this out, I consulted the <a href="http://www.cups.org/documentation.php/ref-cupsd-conf.html" target="_blank">official documentation for <span style="font-size:medium;"><code>cupsd.conf</code></span></a>.</p>
<p>Basically, I was able to figure out that I needed to change something in the following code block:</p>
<blockquote><p><span style="font-size:medium;"><code>&lt;Location /&gt;<br />
Order allow,deny<br />
&lt;/Location&gt;</code></span></p></blockquote>
<p>This governs access to the main part of the server.  There are separate, more restrictive blocks for the admin and config sections of the server.  For now, I&#8217;m not going to worry about being able to access the administrative or configuration functions remotely.</p>
<p>From the documentation, I found that <span style="font-size:medium;"><code>Order allow,deny</code></span> rejects requests by default then applies additional rules starting with <span style="font-size:medium;"><code>allow</code></span> lines first, followed by <span style="font-size:medium;"><code>deny</code></span> lines.  The other order, namely <span style="font-size:medium;"><code>Order deny,allow</code></span> accepts requests by default then applies rules specified in any <span style="font-size:medium;"><code>deny</code></span> lines followed by rules in any <span style="font-size:medium;"><code>allow</code></span> lines.  I don&#8217;t really understand this fully because I tried a few things that didn&#8217;t have the results I expected.  However, for now, changing the original block of code above to the following got things working:</p>
<blockquote><p><span style="font-size:medium;"><code>&lt;Location /&gt;<br />
Order deny,allow<br />
&lt;/Location&gt;</code></span></p></blockquote>
<p>I think that with this configuration, anyone in the world could print on my printer.  That&#8217;s probably not a great situation.  However, I think it may have been the situation with my CUPS installation on imladris as well.  I never had any problems with it, so hopefully, I won&#8217;t have any problems with this new installation.</p>
<p>Ok, so now I can access the CUPS server from my laptop and presumably any other computer.  The last step is installing the printer on each computer I want to be able to print from.  I started with my laptop.  I did a quick search to see how I should do it.  I came across <a href="http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/f5e69f33-29ff-4c86-a7ed-3b066f0b642d" target="_blank">this site</a> and tried their recommendation, which is to install the printer as a local printer using a new local port.  However, when I tried to enter the URL of my printer, it told me it was an invalid port name.  So, I looked around a little more and found <a href="http://www.freebsd.org/doc/en/articles/cups/article.html" target="_blank">this site</a>.  They recommend setting it up as a network printer.  I tried this and it worked!  I chose the appropriate driver and printed out a test page.  Sweet.</p>
<p>Now, I just have to install this printer on our other two Windows machines and we&#8217;re all set.  It actually didn&#8217;t take very long to get this all set up.  Like I said, the CUPS configuration might not be the most robust but I think it&#8217;ll get the job done for now.</p>
<p>If anyone reading this has any suggestions for a more robust <span style="font-size:medium;"><code>cupsd.conf</code></span> setup, please leave me a note in the comments.  Thanks!</p>
<p>________________________________________</p>
<p>*For the uninitiated, <a href="http://en.wikipedia.org/wiki/Canonical_Ltd." target="_blank">Canonical</a> releases a new version of Ubuntu every 6 months.  Recently, these versions have been released in April and October.  The version numbers use the year and month of release.  So, 6.06 means it was released in June of 2006, where 9.04 means it was release in April of 2009.  Each release is also named after an animal preceded by an adjective beginning with the same letter as the animal&#8217;s name.  These names have progressed in alphabetical order since 6.06 (Dapper Drake).  9.04 is called Jaunty Jackalope, while the upcoming version will be called Karmic Koala.  The next long-term support (LTS) release will be 10.04, called Lucid Lynx.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colinaashe.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colinaashe.wordpress.com/518/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colinaashe.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colinaashe.wordpress.com/518/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colinaashe.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colinaashe.wordpress.com/518/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colinaashe.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colinaashe.wordpress.com/518/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colinaashe.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colinaashe.wordpress.com/518/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colinaashe.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colinaashe.wordpress.com/518/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colinaashe.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colinaashe.wordpress.com/518/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=518&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colinashe.net/2009/09/30/installing-cups-on-ubuntu-9-04-jaunty/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ee26997b5a0d9e7b34f7782cc84a2078?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Colin</media:title>
		</media:content>
	</item>
		<item>
		<title>Happy Birthday Rechner</title>
		<link>http://blog.colinashe.net/2009/09/11/happy-birthday-rechner/</link>
		<comments>http://blog.colinashe.net/2009/09/11/happy-birthday-rechner/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 16:33:04 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[purchases]]></category>

		<guid isPermaLink="false">http://blog.colinashe.net/?p=393</guid>
		<description><![CDATA[My wife and I celebrated our 7th anniversary in August this year.  Since our wedding, we&#8217;ve resided in 3 different places and encountered numerous other changes.  However, one of the constants for most of that time has been our main desktop computer, which is called &#8220;Rechner&#8221; on the network. I just checked my records and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=393&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My wife and I celebrated our 7th anniversary in August this year.  Since our wedding, we&#8217;ve resided in 3 different places and encountered numerous other changes.  However, one of the constants for most of that time has been our main desktop computer, which is <a href="http://blog.colinashe.net/2007/01/12/the-computers-of-middle-earth/" target="_self">called &#8220;Rechner&#8221;</a> on the network.</p>
<p>I just checked my records and it shipped from Dell on September 5th, 2003.  We likely received it about a week later.  So, we&#8217;ve had it almost exactly 6 years.</p>
<p>Over the years, it has undergone quite a  few changes.  It&#8217;s a 2.4GHz Pentium 4 with a 800MHz front-side bus.  The processor, the motherboard, and the case are about the only components that are original but they have been a solid core around which to build.  A new graphics card required that I upgrade the power supply (now 500 W).  I expanded the RAM from 512MB to 1.5GB.  I&#8217;ve upgraded or swapped out hard drives a couple of times.  I&#8217;ve upgraded or swapped out optical drives a couple of times as well.  The floppy drive was replaced due to fatal dust intake but its replacement has also succumbed&#8230;</p>
<p>Despite the upgrades, the fact remains that it is a single core processor with an 800MHz FSB connecting to pretty slow RAM and it&#8217;s definitely showing its age in terms of performance.  When we finally retire it, it will likely find new life as a Linux machine for my daughter.  Until then, I expect it will continue to chug along like it has been doing almost uninterrupted for 6 years.  Thank you, Rechneer, you&#8217;ve served us well.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colinaashe.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colinaashe.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colinaashe.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colinaashe.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colinaashe.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colinaashe.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colinaashe.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colinaashe.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colinaashe.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colinaashe.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colinaashe.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colinaashe.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colinaashe.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colinaashe.wordpress.com/393/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=393&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colinashe.net/2009/09/11/happy-birthday-rechner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ee26997b5a0d9e7b34f7782cc84a2078?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Colin</media:title>
		</media:content>
	</item>
		<item>
		<title>MythTV upgrade</title>
		<link>http://blog.colinashe.net/2009/05/07/mythtv-upgrade/</link>
		<comments>http://blog.colinashe.net/2009/05/07/mythtv-upgrade/#comments</comments>
		<pubDate>Thu, 07 May 2009 18:17:32 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[purchases]]></category>

		<guid isPermaLink="false">http://imladris.mit.edu/blog/?p=357</guid>
		<description><![CDATA[In February of last year, I finally succeeded in installing MythTV on a computer that a friend gave me.  I used Mythbuntu, which (in my admittedly limited experience) is the best way to install MythTV.  It&#8217;s been working pretty well since last February but recently a number of issues cropped up that made me decide [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=357&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In February of last year, I finally <a href="http://blog.colinashe.net/2008/02/04/3rd-times-a-charm/" target="_blank">succeeded in installing MythTV</a> on a computer that a friend gave me.  I used <a href="http://www.mythbuntu.com/" target="_blank">Mythbuntu</a>, which (in my admittedly limited experience) is the best way to install MythTV.  It&#8217;s been working pretty well since last February but recently a number of issues cropped up that made me decide to do an upgrade of both the software and the hardware.  What follows is the reasons behind the upgrade, a description of the upgrade, and a few pitfalls and solutions that I experienced along the way.<span id="more-357"></span></p>
<p>First the issues that motivated me to upgrade:</p>
<p>1) I wanted to use Netbeans 6.5.  This requires Subversion 1.5 or higher.  I had Ubuntu 7.10 installed and the package repository for that version contains only version 1.4 or something. I probably could have forced it to use a version from a different repository, but I didn&#8217;t know what the dependencies would be and this approach usually leads to a broken or less stable system.</p>
<p>2) We&#8217;ve been playing our music from iTunes on our Windows computer through our stereo via a USB FM transmitter.  The sound quality isn&#8217;t great and occasionally the reception is really dependent on where people are standing in the room &#8211; not ideal.  So, I copied all our music over to our MythTV machine with the idea that we could play all our music from it.  However, I couldn&#8217;t install the Songbird .deb file on 7.10 and I couldn&#8217;t get the regular version to play anything other than MP3s.  Since most of our tracks are (unencrypted) AAC, this is a problem.  By upgrading to a more recent version of Ubuntu, I hoped to solve this problem.</p>
<p>3) The fan on the graphics card I had been using (NVidia GeForce 5200) died due to <a href="http://blog.colinashe.net/2009/01/24/computer-case-designs-are-foolish/" target="_blank">excessive dust intake</a>.  I wanted to replace it with a better card that has passive cooling (i.e. no fan but a good heat sink).</p>
<p>4) We started watching Hulu using this machine.  Under my old setup, the TV-out functionality had been handled by the MPEG-2 decoder on my Hauppauge PVR-350.  While this looks good for watching shows in MythTV, it&#8217;s pretty jerky if you try to watch other video.  So, I wanted to stop relying on my PVR-350 for TV-out and move it to the graphics card. I probably could have made this change without upgrading the software, but it&#8217;s just easier to let the installer auto-detect everything.  Also, some MythTV functions are not supported by the PVR-350 TV-out, so pressing certain buttons on the remote would cause the system to freeze or crash &#8211; not good.</p>
<p>The upgrade:</p>
<p>I ordered a new graphics card (NVidia GeForce 6200 4x AGP) and a new hard drive (320GB Western Digital EIDE) from GovConnection.  Let me say that I love GovConnection because I get a discount as well as free shipping due to my affiliation with MIT.  Plus, we have an account manager, so if I have any questions, I can send him an email or call him.  It&#8217;s great.  Anyway, I got a new hard drive because my preferred method of installing a new operating system is to take out the old drive and put it away for safe keeping, install the OS on the new drive, and then copy over any files I need.  This method works well if the installation takes too long and you need to use your computer again &#8211; just pop the old drive back in and you&#8217;re good to go.  This time around, I used an old drive I had put away for safe keeping from a previous OS installation (80GB Western Digital EIDE) as the boot drive and the new drive I ordered to store all my media.</p>
<p>I opened up the case, vacuumed it out, installed the graphics card, installed the drives, cut my hand on a sharp edge of the case, and put the case back together.  I decided to do a clean install rather than a version upgrade because I would have needed to do 3 consecutive version upgrades to get to the most recent version (7.10 -&gt; 8.04 -&gt; 8.10 -&gt; 9.04). Using the Mythbuntu 9.04 ISO I had burned earlier, I started up the installer.  Everything went smoothly until I got to the partitioner.  I learned to install Linux back in 2002-2003 on old versions of Debian so I&#8217;m most comfortable with the manual partitioner, however, I got momentarily tripped up while trying to partition the disk.  I made 2 swap partitions on the 80GB boot drive &#8211; one at the beginning and one at the end.  I made an ext3 partition in the middle with the remaining space.  Then, I formatted my 320GB drive using XFS (because it does really fast deletes on large files &#8211; necessary for a DVR).  I told the partitioner to mount this disk at <strong>/media</strong>, since it would be storing all my DVR recordings and music.  However, I got an error saying that I was trying to install a separate filesystem on <strong>/media</strong> and that it needed to be part of the root filesystem.  I couldn&#8217;t figure out what the problem was.  Finally, after maybe 20 minutes, I realized that Ubuntu uses the <strong>/media</strong> mount point to mount removable disks when they are plugged into the system.  So, I changed the mount point of my 320GB drive to <strong>/data</strong> and everything worked.  <strong>Lesson learned: Don&#8217;t try to create a partition and mount it at /media &#8211; that mount point is reserved by the operating system. </strong></p>
<p>Once the partitioner has done its thing, the installer copies over all the files you need.  Mythbuntu installs XFCE by default since it is less resource intensive than KDE or Gnome.  It also basically takes care of almost everything you need that is related to MythTV.  In addition to installing and partially configuing MythTV, it installs MySQL and creates the appropriate user and database, it installs Apache2 and configures MythWeb to communicate with MySQL, it installs and configures LIRC with a little input from you.  You still have to do some configuration of your MythTV backend and frontend, though.  I had some recordings on my previous MythTV installation that I didn&#8217;t want to lose so I followed <a href="http://www.mythpvr.com/mythtv/tips/migrate-recordings.html" target="_blank">these instructions</a> to migrate the recordings over into my new setup.  They worked perfectly!  Also, when the installer was setting up the remote control (LIRC), I didn&#8217;t see my particular remote in the list of options, so I picked the one that seemed closest.  I still had my config files from the old setup, so I figured I could just copy those over.  However, once I started up the MythTV frontend, I was shocked to find the remote already worked!  When I was setting up my tuner, the default was V4L something.  I picked that but it didn&#8217;t work.  So, I switched to the MPEG-2 ivtv tuner and that seems to work.  <strong>Lessonss learned: 1) if you have a PVR-350, don&#8217;t pick V4L as your tuner type.  2) if you have a PVR-350 do choose the generic Hauppauge remote when you&#8217;re asked to choose a remote &#8211; it&#8217;ll work without any further intervention. </strong></p>
<p>The installer asks about how you want the video to be displayed.  I choose TV-out via S-Video.  After everything was setup and I rebooted the system, everything was displayed on my TV.  This was great but I also have an LCD monitor that I want to use for other tasks.  Unfortunately, I had a really hard time getting a picture back on my LCD monitor.  I didn&#8217;t want to edit any files manually because I didn&#8217;t know whether the settings were now automatically managed by some program since a lot has changed in Ubuntu since 2007.  So, I tried the display configuration utilities in XFCE &#8211; no dice.  I installed Gnome and tried its display configuration utilities &#8211; no dice.  I installed KDE and tried its display configuration utilities &#8211; no dice.  I tried the NVidia display utilities (in package &#8220;nvidia-settings&#8221;) &#8211; no dice.  In the end, I had to edit <strong>/etc/X11/xorg.conf </strong>manually and fiddle with the nvidia settings utility.  It turns out that you need to set up 2 devices in the config file.  Since both displays are running off the same card with a single bus id, you need to specify a screen in each entry as well. Initially this didn&#8217;t work because I had set the S-Video port as screen 0 and the VGA port as screen 1.  These need to be reversed.  Then, you have to go into the NVidia utilities and enable the 2nd display (the TV), which, for some reason is disabled by default.  After some tweaking I got it all to work.  <strong>Lessons learned: 1) don&#8217;t be afraid to manually edit your xorg.conf file. 2) separate ports on a graphics card are accessed using two separate device entries in xorg.conf &#8211; both have the same busid entry but different screen numbers. </strong></p>
<p>Finally, I had things mostly working.  I could start MythTV up on my TV screen and watch TV or a recorded show.  However, when I exited out of watching either live TV or a show, MythTV crashed.  I looked around online and found a group of people complaining about the same problem.  Fortunately, they had a solution: remove pulseaudio.  This fixes the problem but limits what your system can do.  So, if you reinstall pulseaudio, also mark libavcodec and libavutil for reinstallation.  This fixed the problem for others and it worked for me as well. <strong> Lesson learned: if you install Mythbuntu 9.04, reinstall pulseaudio, libavcodec and libavutil to fix problems with MythTV crashing. </strong></p>
<p>I think the upgrade has already accomplished most of what I set out to accomplish when I undertook this project.  MythTV works, the remote works, the MythTV features that I couldn&#8217;t use before (like fast forward) now work, watching shows on Hulu is now much smoother, I have Subversion 1.5 installed along with Netbeans 6.5.  There are still a couple of things on my to do list, however.  I haven&#8217;t installed Songbird yet, so I don&#8217;t know if we&#8217;ll be able to stop using the FM transmitter just yet.  Also, I am still having a problem with the wireless networking.  When I reboot, my wireless card doesn&#8217;t work.  I have to type <strong>&gt;sudo ifup wlan0</strong> to get the network to work.  Perhaps I need to put that in a startup script or something.  On the other hand, I have the wireless card in the bottom-most PCI slot in my computer.  The ethernet card, which is in the slot above it, is enabled when the machines boots.  Maybe if I just swap the cards&#8217; slots, the wireless card will be enabled and the ethernet card disabled.  I&#8217;ll have to give that a try.</p>
<p>As a last note, working with old hardware is a pain.  This computer was bought in September of 2002, so it&#8217;s nearly 7 years old.  Nowadays, graphics cards almost exclusively use the PCIe interface; my computer uses AGP (4x AGP at that!).  Nowadays, many computers use serial ATA connections exclusively to connect to hard drives and optical drives; my computer uses exclusively IDE.  What I found in pricing components is that antiquated technology is more expensive than current technology.  That is, low-end AGP graphics cards are more expensive than low-end PCIe cards.  Similarly, all the good deals on hard drives are on SATA drives, not IDE.  In fact, the selection of IDE drives available at all is very small.  Hopefully, though, I won&#8217;t have to deal with this old hardware much longer.  I look forward to ultimately replacing this machine either with a more powerful MythTV box or with a Windows Media Center machine hopefully with CableCard tuners.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colinaashe.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colinaashe.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colinaashe.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colinaashe.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colinaashe.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colinaashe.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colinaashe.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colinaashe.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colinaashe.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colinaashe.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colinaashe.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colinaashe.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colinaashe.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colinaashe.wordpress.com/357/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=357&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colinashe.net/2009/05/07/mythtv-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ee26997b5a0d9e7b34f7782cc84a2078?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Colin</media:title>
		</media:content>
	</item>
		<item>
		<title>Migrating photo galleries</title>
		<link>http://blog.colinashe.net/2008/09/04/migrating-photo-galleries/</link>
		<comments>http://blog.colinashe.net/2008/09/04/migrating-photo-galleries/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 15:14:00 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[blogosphere]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[family]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://imladris.mit.edu/blog/?p=313</guid>
		<description><![CDATA[If you have kids and live away from your extended family, online photo galleries are pretty much a necessity these days. I&#8217;ve been running one on this server since 2004, when our daughter was born. I&#8217;ve been using Gallery v.1 and it&#8217;s worked out pretty well for me. However, as I get closer to graduating, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=313&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you have kids and live away from your extended family, online photo galleries are pretty much a necessity these days.  I&#8217;ve been running one on this server since 2004, when our daughter was born.  I&#8217;ve been using <a href="http://gallery.menalto.com/" target="_blank">Gallery</a> v.1 and it&#8217;s worked out pretty well for me.  However, as I get closer to graduating, I&#8217;m aware that my ability to host this site will change.  Figuring out what changes to make and actually making those changes could be both time-consuming and headache-inducing.</p>
<p><span id="more-313"></span>At the very least, the URL will need to change.  However, I&#8217;d like to stop having to do admin work on the computer, like dealing with upgrading to the latest version of the software or <a href="http://blog.colinashe.net/2008/08/13/back-online/" target="_blank">troubleshooting hardware problems</a>.  So, ideally, I&#8217;d like to migrate all my photos to an online photo sharing site.  I&#8217;ve been looking at the various options but none has really jumped out as a the logical choice.  I have a lot of pictures, so I&#8217;m resigned to paying for a &#8220;pro account&#8221;, as they&#8217;re called on many sites.  Generally, this amounts to $20-25/year, so it&#8217;s no big deal.  There are a bunch of criteria that I&#8217;m judging the sites on but I won&#8217;t get into details now &#8211; I&#8217;ll save that for a later post.</p>
<p>In the meantime, I&#8217;ll focus on one criterion: that a tool exists that would allow me to automatically migrate my existing albums to a new location.  I was aware of a <a href="http://sourceforge.net" target="_blank">sourcforge </a>project called <a href="http://sourceforge.net/projects/gallery2flickr/" target="_blank">gallery2flickr</a>, which will migrate your Gallery v.2 albums to Flickr.  However, it&#8217;s nice to have choices and I was afraid that I would be locked into Flickr because it was the only service with a migration tool.  However, today, I discovered <a href="http://www.callingshotgun.net/about/migratr/" target="_blank">Migratr</a>, which will convert between any of 10 different photo sites, including Gallery v.2, Flickr, Zooomr, and Picasa Web.  This gives me a lot more options.</p>
<p>Unfortunately, as you may have noticed, all these migration tools work with Gallery v.2 while I run Gallery v.1.  So, I&#8217;ll need to migrate my Gallery v.1 albums to Gallery v.2 albums.  I&#8217;m not sure how difficult this will be.  I&#8217;m pretty sure that it will involve at least two steps, though: 1) upgrade from my current Gallery version to the latest version in the v.1 line and then 2) convert that installation into Gallery 2.  This could be complicated by the fact that Gallery 2 uses a MySQL database and I&#8217;m not sure if I remember the root password for the MySQL server on the machine, which I&#8217;ll need in order to create a new user, which, in turn, I&#8217;ll need to give Gallery 2 access to the database and the appropriate tables.  If things don&#8217;t go smoothly, this could turn into a huge pain since I need my MySQL installation for my blog, which, incidentally, is something further that I will need to migrate before too long&#8230;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/colinaashe.wordpress.com/313/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/colinaashe.wordpress.com/313/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colinaashe.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colinaashe.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colinaashe.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colinaashe.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colinaashe.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colinaashe.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colinaashe.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colinaashe.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colinaashe.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colinaashe.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colinaashe.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colinaashe.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colinaashe.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colinaashe.wordpress.com/313/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=313&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colinashe.net/2008/09/04/migrating-photo-galleries/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ee26997b5a0d9e7b34f7782cc84a2078?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Colin</media:title>
		</media:content>
	</item>
		<item>
		<title>Back online</title>
		<link>http://blog.colinashe.net/2008/08/13/back-online/</link>
		<comments>http://blog.colinashe.net/2008/08/13/back-online/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 21:24:09 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[blogosphere]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Pittsburgh]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://imladris.mit.edu/blog/?p=308</guid>
		<description><![CDATA[If you&#8217;re one of my, say, 3 regular readers, you probably noticed that the blog was down for the last few days.  On Thursday morning I flew to Pittsburgh for some meetings but before I left, I checked my server machine to see if it seemed safe to leave on for about 5 days with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=308&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re one of my, say, 3 regular readers, you probably noticed that the blog was down for the last few days.  On Thursday morning I flew to Pittsburgh for some meetings but before I left, I checked my server machine to see if it seemed safe to leave on for about 5 days with no one home.</p>
<p>Upon inspection, I discovered that the power supply fan had died.  The computer was still working but the fan in the power supply had given up the ghost.  It wasn&#8217;t too surprising, actually, since it had been chirping on and off for probably 2 years.  In fact, I had bought <a href="http://blog.colinashe.net/2006/07/16/more-recent-aquisitions/" target="_blank">2 replacement power supplies</a> in July of 2006 just in case the existing power supply would fail &#8211; an occurrence that actually took a lot longer than I expected.  In any case, I discovered this problem about 15 minutes before the taxi was supposed to pick me up, so I had to just shut everything down.  After returning late on Monday night, I spent some time on Tuesday trying to get things fixed.  However, things weren&#8217;t quite as easy as I expected.<span id="more-308"></span></p>
<p>Replacing the power supply was easy since I had replacements on hand.  I also took the opportunity to clean the case out properly since it was full of dust.  I expected that after replacing the power supply and cleaning everything I would just power the machine on and everything would be back to normal.  Unfortunately, the network interface didn&#8217;t work.  I was getting some kind of IRQ conflict.  If I brought the interface up, I could ping it for awhile from a different machine and then it would stop responding.  I wasn&#8217;t able to figure it out yesterday so I just left it and worked on some other, more pressing things.  I took a look at the issue this morning again and this time, the network interface wasn&#8217;t showing up at all.  The IRQ conflicts were gone since the system was no longer seeing the network hardware.  So, I turned off the machine, opened it up, and put in an old ethernet card I had lying around.  This was recognized by the system as eth1 so I made a quick change to /etc/network/interfaces to move all of my previous settings from eth0 to eth1.  I restarted the machine and everything worked!</p>
<p>I think there are two lessons to be learned from this story.  One is that keeping spare computer components around pays off.  I fixed the problem with a spare power supply and ethernet card that I had on hand.  I didn&#8217;t need to go to any store or order anything online.  I probably saved myself a bunch of money and I definitely saved myself a bunch of time by hanging on to old stuff.  The second lesson is that this machine may go completely belly up before too long.  When motherboard components (like my ethernet port) start failing, the computer may not be too much longer for this world.  That said, as a 500MHz Pentium III from 1999, I&#8217;d say it&#8217;s had a good run.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/colinaashe.wordpress.com/308/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/colinaashe.wordpress.com/308/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colinaashe.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colinaashe.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colinaashe.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colinaashe.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colinaashe.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colinaashe.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colinaashe.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colinaashe.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colinaashe.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colinaashe.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colinaashe.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colinaashe.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colinaashe.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colinaashe.wordpress.com/308/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=308&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colinashe.net/2008/08/13/back-online/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ee26997b5a0d9e7b34f7782cc84a2078?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Colin</media:title>
		</media:content>
	</item>
		<item>
		<title>3rd time&#8217;s a charm?</title>
		<link>http://blog.colinashe.net/2008/02/04/3rd-times-a-charm/</link>
		<comments>http://blog.colinashe.net/2008/02/04/3rd-times-a-charm/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 03:44:22 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[purchases]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://imladris.mit.edu/blog/?p=247</guid>
		<description><![CDATA[About a year and a half ago, a friend of mine gave me a computer he was no longer using.  I went ahead and bought a Hauppauge PVR-350 TV tuner card with onboard MPEG-2 encoding and decoding with the hopes of turning the computer into a nice PVR.  Tonight marks the third time (at least) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=247&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>About a year and a half ago, a friend of mine gave me a computer he was no longer using.  I went ahead and bought a Hauppauge PVR-350 TV tuner card with onboard MPEG-2 encoding and decoding with the hopes of turning the computer into a nice PVR.  Tonight marks the third time (at least) that I have tried to set up this program.  I tried once using KnoppMyth, a Linux distribution based on Knoppix (which is based on Debian) that is meant to simplify the task of setting up MythTV (which is notoriously difficult).  I got to, I don&#8217;t know, 75% perhaps and then ran into some snags and gave up for awhile.  Some time later, I tried installing Ubuntu and then installing MythTV on top of that.  I got to probably 90% and then hit snags, got sick of working on it, and gave up.   Over the weekend, I decided I would try installing it again.  So, today I downloaded the installation ISO for Mythbuntu.  I&#8217;m in the process of trying to get everything working.  I&#8217;ll let you know how it turns out.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/colinaashe.wordpress.com/247/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/colinaashe.wordpress.com/247/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colinaashe.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colinaashe.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colinaashe.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colinaashe.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colinaashe.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colinaashe.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colinaashe.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colinaashe.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colinaashe.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colinaashe.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colinaashe.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colinaashe.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colinaashe.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colinaashe.wordpress.com/247/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=247&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colinashe.net/2008/02/04/3rd-times-a-charm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ee26997b5a0d9e7b34f7782cc84a2078?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Colin</media:title>
		</media:content>
	</item>
		<item>
		<title>Crisis averted</title>
		<link>http://blog.colinashe.net/2007/12/18/crisis-averted-2/</link>
		<comments>http://blog.colinashe.net/2007/12/18/crisis-averted-2/#comments</comments>
		<pubDate>Tue, 18 Dec 2007 05:37:24 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[holidays]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://imladris.mit.edu/blog/?p=243</guid>
		<description><![CDATA[Heather woke me up this morning to tell me that the computer was beeping incessantly and that the image had disappeared from the monitor. This is not how I like to start my morning. In any case, I thought the problem might be related to our KVM switch. I have a Linux machine (hosting this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=243&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Heather woke me up this morning to tell me that the computer was beeping incessantly and that the image had disappeared from the monitor.  This is not how I like to start my morning.</p>
<p>In any case, I thought the problem might be related to our KVM switch.  I have a Linux machine (hosting this blog) and a Windows machine in our computer desk and I use a KVM switch to share the keyboard, mouse, and monitor between the two computers.  It&#8217;s really convenient most of the time, but every so often, it flakes out and has to be reset.  So, I tried that (which involves unplugging it from both computers, since it draws power from the computers&#8217; PS/2 ports), but it didn&#8217;t help.  Then, I cut the KVM switch out of the equation and plugged the keyboard, mouse and monitor directly into the still incessantly beeping computer.  This solved the problem of the blank monitor.  Unfortunately, the monitor now showed me that my machine was hopelessly locked up.</p>
<p><span id="more-243"></span></p>
<p>Seeing the computer frozen was painful because I had been performing a 35GB online backup operation since 3AM last Thursday that was about 90% complete at the time of my rude awakening.  With online backup services like Mozy (which I&#8217;m using), the first backup takes the longest (often about 1 day for every 3-5 GB being backed up) and I had read some reports online that when these backups are interrupted they often must be started again from the beginning.  I was not excited about the prospect of losing 4 days&#8217; progress.  Not only that, we&#8217;re leaving for the holidays soon and I would have been unable to get things backed up before leaving.  Unfortunately, I felt like I had no choice but to turn off the computer and hope for the best.</p>
<p>While the computer was loading the BIOS, the beeping began again, I got an onscreen message: &#8220;Keyboard Failure&#8221;, and then a blank screen plus lots of beeping.  So, I shut down the computer again, swapped out the keyboard (which I had salvaged from the hallway near my office during a building cleanup campaign) and tried again with a different keyboard.  I still got the beeping and the keyboard failure.  I started thinking that perhaps the PS/2 ports on my computer had failed, so I planned to head into my office to borrow a USB keyboard and mouse.  If the PS/2 ports had failed but the computer was otherwise fine, a USB keyboard and mouse would help me figure that out.  Before heading into work, however, I took a shower.</p>
<p>I&#8217;m convinced that most of my big breakthroughs come in the shower and today was no exception.  It occurred to me that perhaps the problem was related to the cheapo optical mouse we have.  It flakes out probably twice a week but it behaves itself again if we unplug it and then plug it back in.  So, I thought maybe it had finally gone belly up.  I swapped it out with another PS/2 mouse I happened to have on hand and restarted the computer (after finishing my shower and getting dressed).  It worked!  No beeping, no blank screen!  Windows booted up fine and I was able to resume the backup where things had left off, rather than having to start over from the beginning.  The mouse promptly found its way to the trash and everyone lived happily ever after.</p>
<p>When I got into work, I was talking with a friend of mine about this problem and he mentioned that he thinks his keyboard is failing.  Apparently, by pressing the Alt key a couple of times, he can get the X-server on his Linux machine to crash.  I guess the moral of the story is that even the most unlikely parts of your system can fail and you need to be careful not to quickly assume that the problem is a part that has a bigger reputation for failure.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/colinaashe.wordpress.com/243/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/colinaashe.wordpress.com/243/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colinaashe.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colinaashe.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colinaashe.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colinaashe.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colinaashe.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colinaashe.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colinaashe.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colinaashe.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colinaashe.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colinaashe.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colinaashe.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colinaashe.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colinaashe.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colinaashe.wordpress.com/243/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colinashe.net&amp;blog=9064895&amp;post=243&amp;subd=colinaashe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colinashe.net/2007/12/18/crisis-averted-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ee26997b5a0d9e7b34f7782cc84a2078?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Colin</media:title>
		</media:content>
	</item>
	</channel>
</rss>
