<?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>zen.org Communal Weblog &#187; Technology</title>
	<atom:link href="http://www.zen.org/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zen.org</link>
	<description>The thoughts, ideas, habits, and interests of a sub-culture.</description>
	<lastBuildDate>Tue, 24 Jan 2012 23:08:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>VAX Assembly</title>
		<link>http://www.zen.org/2011/07/26/vax-assembly/</link>
		<comments>http://www.zen.org/2011/07/26/vax-assembly/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 02:56:05 +0000</pubDate>
		<dc:creator>Sven</dc:creator>
				<category><![CDATA[Leukemia]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.zen.org/?p=1629</guid>
		<description><![CDATA[I walked into the Kirkbride Widener CS lab one day as a second semester freshman, nej, maybe first semester sophomore. Brendan was staring at a VT101 with 4 or 5 VAX/VMS manuals, 4 inch binders each, laying open around him.  With a mean, sarcastic voice he looked up and said something like &#8220;history majors have nothing [...]]]></description>
			<content:encoded><![CDATA[<p>I walked into the Kirkbride Widener CS lab one day as a second semester freshman, nej, maybe first semester sophomore. Brendan was staring at a VT101 with 4 or 5 VAX/VMS manuals, 4 inch binders each, laying open around him.  With a mean, sarcastic voice he looked up and said something like &#8220;history majors have nothing on me&#8221;.  Before then I had set myself to try to survive college, as my grades where less then great.</p>
<p>It took a few day, maybe a few weeks, but something clicked. College isn&#8217;t meant to be survived.  I remember teaching myself Applesoft Basic on the Apple ][+ as a preteen.  On the Apple ][+ Beagle Bros kept me giggling and kept the docs fun to read.  With help of Brendan, el at, I made it fun.  It all started with a stack of VAX assembly language manuals piled around Mr. Kehoe.  It ended with me getting a most improved student award, then watching him leave Widener without his deserved degree.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zen.org/2011/07/26/vax-assembly/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MythTV for beginners</title>
		<link>http://www.zen.org/2011/07/25/mythtv-for-beginners/</link>
		<comments>http://www.zen.org/2011/07/25/mythtv-for-beginners/#comments</comments>
		<pubDate>Mon, 25 Jul 2011 06:15:31 +0000</pubDate>
		<dc:creator>elana</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[TV Hack]]></category>

		<guid isPermaLink="false">http://www.zen.org/?p=1621</guid>
		<description><![CDATA[B built us a MythTV box, and did a lot of the documenting here. Today P turned on the tv and found that the recording files were there, but were empty.  Now, I&#8217;ve only had one cup of tea, so I&#8217;m not firing on all cylinders, but something at the back of my mind said [...]]]></description>
			<content:encoded><![CDATA[<p>B built us a MythTV box, and did a lot of the documenting here. Today P turned on the tv and found that the recording files were there, but were empty.  Now, I&#8217;ve only had one cup of tea, so I&#8217;m not firing on all cylinders, but something at the back of my mind said &#8220;I bet the HD is full.&#8221;  And it was. Phew. /deletedeletedelete</p>
<p>I have  a lot of things I have to learn.  I know that B added some channels to the Myth setup a couple weeks ago, and it took him something like 2 hours.  There is going to be a day when I shut down the shuttlecraft (our Myth box), but I want to prolong that as long as possible. We&#8217;ve used the Myth interface for so long, it would be strange to move to something else.</p>
<p>Maybe I can teach P Unix, and he can play with MythBuntu?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zen.org/2011/07/25/mythtv-for-beginners/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Why WordPress can&#8217;t live without Akismet</title>
		<link>http://www.zen.org/2011/07/05/why-wordpress-cant-live-without-akismet/</link>
		<comments>http://www.zen.org/2011/07/05/why-wordpress-cant-live-without-akismet/#comments</comments>
		<pubDate>Tue, 05 Jul 2011 06:27:57 +0000</pubDate>
		<dc:creator>brendan</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.zen.org/?p=1539</guid>
		<description><![CDATA[Day before yesterday I tried to upgrade the Akismet plugin used by our website; it&#8217;s what stops spam from appearing all over the place on the blog. They&#8217;d changed their system a bit, to try to encourage more people to pay for their service (no blaming them).  This meant the existing plugin no longer worked, [...]]]></description>
			<content:encoded><![CDATA[<p>Day before yesterday I tried to upgrade the Akismet plugin used by our website; it&#8217;s what stops spam from appearing all over the place on the blog.</p>
<p>They&#8217;d changed their system a bit, to try to encourage more people to pay for their service (no blaming them).  This meant the existing plugin no longer worked, unfortunately.  But maybe it was a sign&#8212;I decided to try going without it, to see if we could just use the blog as-is.</p>
<p>Not a chance.  The spam comments started appearing so quickly, I couldn&#8217;t believe it.  We&#8217;re now giving Akismet $24 for a year&#8217;s subscription (they&#8217;re open to personal users picking $0, still, but we want them to stay in business, too, or we lose).  But it&#8217;s already paid off&#8212;since I activated it, their plugin has blocked <strong><em>more than</em></strong> <em><strong>12,000</strong></em> spam comments.  Had I not gotten it going, I&#8217;d be manually processing every, single, one, of them.</p>
<p>Screw that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zen.org/2011/07/05/why-wordpress-cant-live-without-akismet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Proxy thru the VPN, baby</title>
		<link>http://www.zen.org/2011/04/22/proxy-thru-the-vpn-baby/</link>
		<comments>http://www.zen.org/2011/04/22/proxy-thru-the-vpn-baby/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 06:53:51 +0000</pubDate>
		<dc:creator>brendan</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.zen.org/?p=1235</guid>
		<description><![CDATA[The Internet connection in the hospital can be really picky about what I can and cannot visit for a website.  e.g., anything with an mp3 to play is blocked.  I can see why it&#8217;s necessary to do this at a primary/elementary school, but in a hospital?  It has some odd side-effects (again that word), including [...]]]></description>
			<content:encoded><![CDATA[<p>The Internet connection in the hospital can be really picky about what I can and cannot visit for a website.  e.g., anything with an mp3 to play is blocked.  I can see why it&#8217;s necessary to do this at a primary/elementary school, but in a hospital?  It has some odd side-effects (again that word), including blocking at least part of what the <a href="http://www.tweetdeck.com/desktop/">TweetDeck </a>client for Twitter/Facebook/identi.ca/etc etc etc.</p>
<p>Up until now, I&#8217;ve been using an SSH tunnel to be able to have a proxy for Firefox to get around this.  But something this morning made my brain think a little bit further: I&#8217;m already bringing up a VPN connection to home in order to be able to do the SSH connection to my home desktop anyway.  So what if I look at using that same desktop as a formal proxy, and not just an SSH tunnel?</p>
<p>I&#8217;d forgotten that I have <a href="http://www.squid-cache.org/">squid</a> running on my Ubuntu desktop anyway, to take advantage of its caching of Web content.  So I logged into home, edited my /etc/squid/squid.conf to make sure the line</p>
<pre style="padding-left: 30px;">http_access allow localnet</pre>
<p>was uncommented, and did</p>
<pre style="padding-left: 30px;">sudo restart squid</pre>
<p>Since &#8216;localnet&#8217; is defined earlier via the &#8216;acl&#8217; setup to include the subnet used for my VPN, it&#8217;s pre-destined for exactly this task.</p>
<p>And it works, <em>perfectly</em>!  And all pages come up dramatically faster not only because my connection at home is fast (yay UPC), and because the traffic is LZO-compressed thru the VPN.  It&#8217;s also taking advantage of the squid caching so lots of the content is immediately available from the squid server.  And by configuring my laptop to use it as the system-level web proxy (not just in Firefox), it fixed TweetDeck, too.</p>
<p>No more SSHing, now I can just leave it on all the time.</p>
<p>Warning: this appears to make the AdBlock Plus plugin for Firefox unable to actually do its job.  I had to <a href="http://forum.zentyal.org/index.php?topic=4500.0">install adzapper</a> on my desktop at home and make squid use it.  I&#8217;m running Ubuntu 10.04, which changed the older approach to start scripts to instead do &#8220;service&#8221; things via &#8220;start&#8221;, &#8220;stop&#8221;, and &#8220;restart&#8221; scripts in /sbin.  So I had to adjust</p>
<pre style="padding-left: 30px;">/etc/init.d/squid</pre>
<p>to comment out one line and put in two replacements:</p>
<pre style="padding-left: 30px;">#start "$JOB"
 ( /sbin/stop "$JOB" || true ) &gt; /dev/null 2&gt;&amp;1
 /sbin/start "$JOB" &gt; /dev/null 2&gt;&amp;1</pre>
<p>so the adzapper install script, invoked by</p>
<pre style="padding-left: 30px;">sudo apt-get install adzapper</pre>
<p>can actually do its job properly.</p>
<p>It would appear I&#8217;m waking up here pre-loaded with geek urges. <img src='http://www.zen.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.zen.org/2011/04/22/proxy-thru-the-vpn-baby/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Firefox must-haves</title>
		<link>http://www.zen.org/2011/04/11/firefox-must-haves/</link>
		<comments>http://www.zen.org/2011/04/11/firefox-must-haves/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 08:01:40 +0000</pubDate>
		<dc:creator>brendan</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.zen.org/?p=1092</guid>
		<description><![CDATA[I had to reinstall Firefox 3.6.15 on my laptop (3.6.16 and 4.0 both crash when presented with a weird SSL certificate from the hospital&#8217;s Cisco wireless box).  As I went along trying to figure out a way to avoid the bug, I went with a fresh user profile.  I got my bookmarks via Bookmarks -&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>I had to reinstall Firefox 3.6.15 on my laptop (3.6.16 and 4.0 both crash when presented with a weird SSL certificate from the hospital&#8217;s Cisco wireless box).  As I went along trying to figure out a way to avoid the bug, I went with a fresh user profile.  I got my bookmarks via Bookmarks -&gt; Organize Bookmarks&#8230; -&gt; Import, pointing it at old profile under</p>
<pre style="padding-left: 30px;">C:\Users\Brendan Kehoe\AppData\Roaming\Mozilla\Firefox\Profiles\ngg032uh.default</pre>
<p>But I still had to redo all of my Add-Ons and such.  And later, when I decided I wanted to use Firefox 4.0 most of the time (much faster!), I needed the same list.</p>
<p>My list of must-haves, written down here so I won&#8217;t have to make as much of an effort next time I have to do this:</p>
<ol>
<li>FlashBlock</li>
<li>AdBlock Plus</li>
<li>NoScript</li>
<li>QuickProxy</li>
<li>BlockSite (to block the hospital wifi server at 1.1.1.1 which has a bad SSL cert causing versions other than Firefox 3.6.15 to crash; this way I can use Firefox 4.0 and keep 3.6.15 independently installed solely to authenticate on the wireless)</li>
<li>GreaseMonkey</li>
<li>GreaseMonkey user script <a href="http://userscripts.org/scripts/show/588">Allow Password Remembering</a>,   which overrides &#8216;autocomplete=&#8221;off&#8221;&#8216;.  That attribute appears in the   HTML of the hospital&#8217;s wireless server authentication page.  Without   this, I have to manually type in the username and password required to   be able to use the hospital&#8217;s wireless.  This great hack makes it   possible for Firefox to retain both and free me from having to type them   in constantly.</li>
<li>Better Gmail 2</li>
<li>DownloadThemAll! (batch downloading)</li>
<li>Add to Search Bar (so I can easily add www.google.ie)</li>
<li>F.B. Purity</li>
</ol>
<p>I wonder what I&#8217;ve forgotten? <img src='http://www.zen.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Are there any I should definitely add?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zen.org/2011/04/11/firefox-must-haves/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Debian Etch and rkhunter &#8212; hushing the daily email</title>
		<link>http://www.zen.org/2010/01/10/debian-etch-and-rkhunter-hushing-the-daily-email/</link>
		<comments>http://www.zen.org/2010/01/10/debian-etch-and-rkhunter-hushing-the-daily-email/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 11:49:16 +0000</pubDate>
		<dc:creator>brendan</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.zen.org/?p=867</guid>
		<description><![CDATA[I&#8217;ve got rkhunter installed on our Debian Etch box after a recent break-in on a home machine (long story, the short version involves silliness on my part changing to make my desktop receive incoming SSH connections&#8212;and leaving the patrick dummy account with its silly original password). Every day I was getting two separate messages: one [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got rkhunter installed on our Debian Etch box after a recent break-in on a home machine (long story, the short version involves silliness on my part changing to make my desktop receive incoming SSH connections&#8212;and leaving the patrick dummy account with its silly original password).</p>
<p>Every day I was getting two separate messages: one from rkhunter itself complaining<br />
<blockquote>           <code>Warning: This operating system is not fully supported!</code></p></blockquote>
<p>and the second from the daily cron job of running it, saying<br />
<blockquote>            <code>/etc/cron.daily/rkhunter:<br />
            lsmod: QM_MODULES: Function not implemented</code></p></blockquote>
<p>To hush the first, I edited the <code>/var/lib/rkhunter/db/os.dat</code> file and added the line<br />
<blockquote>           <code>156:Debian 4.0 (i386):/usr/bin/md5sum:/bin:</code></p></blockquote>
<p>I just read through the <code>/usr/bin/rkhunter</code> script to come up with the right syntax/values for this.</p>
<p>To make the daily cron mail stop, I edited the <code>/etc/cron.daily/rkhunter</code> script and changed the invocation line to redirect stderr to the log file (adding &#8216;<code><strong>2>&#038;1</strong></code>&#8216;) as well:<br />
<blockquote>        <code>$RKHUNTER --cronjob --report-warnings-only --createlogfile /var/log/rkhunter.log > $OUTFILE <strong>2>&#038;1</strong></code> </p></blockquote>
<p>Fingers crossed this does the trick.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zen.org/2010/01/10/debian-etch-and-rkhunter-hushing-the-daily-email/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cool improvement of rsync under Mac OS X</title>
		<link>http://www.zen.org/2009/12/17/cool-improvement-of-rsync-under-mac-os-x/</link>
		<comments>http://www.zen.org/2009/12/17/cool-improvement-of-rsync-under-mac-os-x/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 00:02:07 +0000</pubDate>
		<dc:creator>brendan</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.zen.org/?p=864</guid>
		<description><![CDATA[The version of rsync installed with Tiger Mac OS X 10.4.11 isn&#8217;t the best &#8230; you can followsome great instructions and build the 3.0.6 version instead, getting a bit of a speed boost-up. Anything to avoid typing commands you already know, and apply patches for changes someone else already did.]]></description>
			<content:encoded><![CDATA[<p>The version of rsync installed with Tiger Mac OS X 10.4.11 isn&#8217;t the best &#8230; you can follow<a href="http://www.bombich.com/mactips/rsync.html">some great instructions</a> and build the 3.0.6 version instead, getting a bit of a speed boost-up.</p>
<p>Anything to avoid typing commands you already know, and apply patches for changes someone else already did. <img src='http://www.zen.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.zen.org/2009/12/17/cool-improvement-of-rsync-under-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When your clicking dead hard drive isn&#039;t actually dead</title>
		<link>http://www.zen.org/2009/12/14/when-your-clicking-dead-hard-drive-isnt-actually-dead/</link>
		<comments>http://www.zen.org/2009/12/14/when-your-clicking-dead-hard-drive-isnt-actually-dead/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 10:58:42 +0000</pubDate>
		<dc:creator>brendan</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.zen.org/?p=860</guid>
		<description><![CDATA[Our LaCie 500GB Mac Mini Hub drive, now a few years old, started a horrid clicking noise recently, and wouldn&#8217;t mount. Try as I might, it just kept failing. Crap, we lost everything on it! But a bunch of posts in different places, including the Mac OS X Hints Forum, talked about the power supply [...]]]></description>
			<content:encoded><![CDATA[<p>Our LaCie 500GB Mac Mini Hub drive, now a few years old, started a horrid clicking noise recently, and wouldn&#8217;t mount.  Try as I might, it just kept failing.  Crap, we lost everything on it!  But a bunch of posts in different places, including the <a href="http://forums.macosxhints.com/archive/index.php/t-35760.html">Mac OS X Hints Forum</a>, talked about the power supply causing this sort of problem&#8212;and the disk itself is fine.</p>
<p>Elana had the great idea of taking the physical drive out of the LaCie case and putting it in an external drive enclosure.  (Cuz I&#8217;ve amassed far too much stuff.)  And <em>voila</em>, it worked just fine!  Now I just need to get a cheap 500GB disk which I can use to mirror the contents of this disk, responding to the harsh reminder of how easy it is to lose vast amounts of data.</p>
<p>Some of which actually matters.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zen.org/2009/12/14/when-your-clicking-dead-hard-drive-isnt-actually-dead/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Our network is driven by a teeny, tiny box</title>
		<link>http://www.zen.org/2009/11/21/our-network-is-driven-by-a-teeny-tiny-box/</link>
		<comments>http://www.zen.org/2009/11/21/our-network-is-driven-by-a-teeny-tiny-box/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 12:52:11 +0000</pubDate>
		<dc:creator>brendan</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.zen.org/?p=847</guid>
		<description><![CDATA[Earlier this year I got a SheevaPlug, a little box with some Flash memory and an ARM processor running Linux. It&#8217;s so friggin&#8217; awesome! (Technical term.) My main motivation for getting it, aside from a cool toy, was its much lower power consumption compared to the Mac Mini. For a few years now our Mini [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.marvell.com/products/embedded_processors/developer/kirkwood/sheevaplug.jsp"><img alt="" src="http://www.marvell.com/files/products/embedded_processors/developer/kirkwood/sheevaplug_product_shot.jpg" title="SheevaPlug" class="alignleft" width="148" height="200" /></a><br />
Earlier this year I got a <a href="http://www.marvell.com/products/embedded_processors/developer/kirkwood/sheevaplug.jsp">SheevaPlug</a>, a little box with some Flash memory and an ARM processor running Linux.  It&#8217;s so friggin&#8217; awesome!  (Technical term.)  My main motivation for getting it, aside from a cool toy, was its <a href="http://www.mail-archive.com/debian-arm@lists.debian.org/msg09589.html">much lower power consumption</a> compared to the Mac Mini.</p>
<p>For a few years now our Mini had been doing most of the maintenance efforts for our home network, including: DHCP; DNS; running the <a href="http://www.no-ip.com/">No-IP</a> client so I can SSH in via our dynamic DSL connection with its random addresses; acting as a printer server; and work as a local NTP server (<em>still to do</em>).  (My email folders were also on the Mini thru an IMAP server, but I&#8217;ve moved that onto my desktop for the moment.)</p>
<p>The SheevaPlug is now doing all of it.  In particular, I&#8217;m finding name lookups for Web browsing is vastly faster than when the Mini was doing the effort.</p>
<p>This list offers the details of what I&#8217;ve done to use the SheevaPlug.  I&#8217;ll add to it (to mirror my local ChangeLog) as we make any other tweaks or fixes.  It&#8217;s not a lot of effort and the end result is great.</p>
<p>(<em>Note</em>: I still need to finish fixing the formatting of this for readability.)</p>
<ul>
<ol><strong>Accessing the box</strong><br />
After initial power-on, logged in as <code>root</code> with the default password <code>nosoup4u</code>.  Then I changed the root password to something I&#8217;m used to typing.
</ol>
<ol><strong>General Usability</strong></p>
<li>As noted on <a href="http://www.theclonchs.com/wiki/SheevaPlug">&#8220;SheevaPlug&#8221;</a>, edit <code>/etc/dhcp3/dhclient.conf</code> and comment out the the line<br />
<blockquote><p>	  #OFF#supersede domain-name-servers 127.0.0.1;</p></blockquote>
</li>
<li>Ran <code>dhclient eth0</code></li>
<li>Make sure APT will work by doing:<code> mkdir -p /var/cache/apt/archives/partial</code></li>
<li>Install ntpdate with <code>apt-get install ntpdate</code>.
	</li>
<li>Edit <code>/etc/rc.local</code> and comment out the line<br />
<blockquote>	   <code>#date 012618002009</code></p></blockquote>
<p>and add<br />
<blockquote><code>	   ntpdate ntp.maths.tcd.ie</code></p></blockquote>
</li>
<li> Edit <code>/etc/hostname</code> and change the name from &#8216;<code>debian</code>&#8216; to &#8216;<a href="http://en.wikipedia.org/wiki/Inara_Serra#Inara_Serra"><code>inara</code></a>&#8216;. </li>
<li>I should note the boot sequence for the SheevaPlug still specifies a different subnet:<br />
<blockquote>	   Nov 14 13:52:19 inara kernel: Kernel command line: console=ttyS0,115200 mtdparts=nand_mtd:0&#215;400000@0&#215;100000(uImage),0x1fb00000@0&#215;500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none
</p></blockquote>
</li>
<li>	* /etc/rc.local: Comment out<br />
		#OFF#insmod /boot/fat.ko<br />
		#OFF#insmod /boot/vfat.ko<br />
	and add<br />
		chmod 1777 /tmp /var/tmp</li>
<li>Edit /etc/fstab and add the lines<br />
<blockquote><p>tmpfs      /var/log        tmpfs   defaults        0       0<br />
tmpfs      /tmp        tmpfs   defaults        0       0
</p></blockquote>
<p>to make the most frequent activity not actually write anything out to the flash memory.  Too many writes to flash can accelerate its demise.</li>
<li>Also change the root partition in /etc/fstab to specify noatime to also reduce unnecessary &#8220;disk&#8221; writes:<br />
<blockquote><p>rootfs / rootfs rw,noatime 0 0</p></blockquote>
</li>
<li>Install wget (to download stuff), sysstat (to see how things are running), and rsync (to download/upload stuff) with : sudo apt-get install wget sysstat rsync</li>
</ol>
<ol>
</ol>
<ol><strong>Network Time Support</strong></p>
<li>Update the list of packages, then install NTP: sudo apt-get update &#038;&#038; sudo apt-get install ntp</li>
<li>Edit /etc/ntp.conf and change the server line to be the Trinity College server: server ntp.maths.tcd.ie</li>
<li>As suggested on <a href="http://plugcomputer.org/plugwiki/index.php/New_Plugger_How_To">&#8220;New Plugger How To&#8221;</a>, ran dpkg-reconfigure tzdata<br />
	and selected Europe -> Dublin.</li>
</ol>
<ol><strong>Logging in over the USB serial port</strong></p>
<li>Follow the instructions at <a href="http://plugcomputer.org/plugwiki/index.php/Setting_up_Serial_Console_Under_Linux">&#8220;Setting Up Serial Console Under Linux&#8221;</a></li>
<li>On my desktop (running Ubuntu 9.04), ran<br />
	* On homer:<br />
	  sudo /sbin/modprobe -q ftdi-sio product=0x9e8f vendor=0x9e88<br />
	  sudo apt-get install cu<br />
	  sudo chown uucp /dev/ttyUSB1<br />
so I can then log into the SheevaPlug over a serial line with<br />
	* sudo cu -s 115200 -l /dev/ttyUSB1<br />
This is really helpful when you make a typo and the box is no longer getting on your network properly!</li>
</ol>
<ol><strong>Network Connection</strong></p>
<li>Edited /etc/network/interfaces and changed it from doing DHCP to a static address:<br />
<blockquote><p>auto eth0<br />
#iface eth0 inet dhcp<br />
# /usr/share/doc/ifupdown/examples for more information.<br />
iface eth0 inet static<br />
     address 192.168.20.8<br />
     network 192.168.20.0<br />
     netmask 255.255.255.0<br />
     broadcast 192.168.20.255<br />
     gateway 192.168.20.1
</p></blockquote>
</li>
</ol>
<ol><strong>DHCP Server</strong></p>
<li>Installed the DHCP server with: apt-get install dhcp3-server</li>
<li>Copied the /etc/dhcpd.conf file over from the Mini.</li>
</ol>
<ol><strong>DNS Server</strong></p>
<li>Install BIND with: apt-get install bind9</li>
<li>Edit /etc/bind/named.conf.local and add<br />
<blockquote><p>	  options {<br />
	            // use this to get faster lookups that we cache:<br />
		forward first;<br />
		forwarders {<br />
// Eircom:<br />
// BACKUP plan when DoS attacks hit eircom (2009-09-02)<br />
        	        159.134.237.6;<br />
               		159.134.248.17;<br />
// as per http://broadbandsupport.eircom.net/ under Broadband Settings:<br />
//			213.94.190.194;<br />
//			213.94.190.236;<br />
// Try going straight to the Netopia box<br />
//			192.168.20.1;<br />
			};<br />
		allow-query { localhost; 192.168.20.0/24; };<br />
		allow-transfer { localhost; };</p>
<p>	  };<br />
	  zone &#8220;20.168.192.in-addr.arpa&#8221; IN {<br />
         	type master;<br />
         	file &#8220;192.168.20&#8243;;<br />
	  };<br />
	  zone &#8220;network.home&#8221; IN {<br />
       	  	type master;<br />
	        notify no;<br />
        	file &#8220;network.home&#8221;;<br />
	  };
</p></blockquote>
</li>
<li>Add files /etc/bind/192.168.20 and /etc/bind/network.home from the Mini.</li>
</ol>
<ol><strong>No-IP Client</strong></p>
<li>Get GCC off the CD that comes with the SheevaPlug box in SheevaPlug_Host_SWsupportPackageLinuxHost.zip.</li>
<li>Extract gcc.tar.bz2 from it, then extract files from that.</li>
<li><a href="http://www.no-ip.com/downloads.php?page=linux">Download No-IP</a>.</li>
<li>Extract the noip sources; may be in a directory noip-2.1.9-1.</li>
<li>Expecting &#8216;gcc&#8217; and &#8216;noip-2.1.9-1&#8242; are in the same directory, edit the makefile to have<br />
<blockquote><p>	  CC=../gcc/bin/arm-none-linux-gnueabi-gcc -O3</p></blockquote>
</li>
<li>Do &#8216;cd noip-2.1.9-1&#8242; and &#8216;make&#8217;, then copy the binary to /usr/local/bin/noip2.</li>
<li>Run &#8220;/usr/local/bin/noip2 -C&#8221; and answer its questions; you&#8217;ll need to have registered on no-ip.com to have a username and password to use with this free client.</li>
<li>Create the file /etc/init.d/noip2 using the example at <a href="http://www.togaware.com/linux/survivor/No_IP.html">http://www.togaware.com/linux/survivor/No_IP.html</a>.</li>
<li>Do &#8220;chmod 755 /etc/init.d/noip2&#8243; and then &#8220;update-rc.d noip2 defaults&#8221; so it&#8217;ll run when you boot.</li>
</ol>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.zen.org/2009/11/21/our-network-is-driven-by-a-teeny-tiny-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Origin of the Species</title>
		<link>http://www.zen.org/2009/10/13/origin-of-the-species/</link>
		<comments>http://www.zen.org/2009/10/13/origin-of-the-species/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 23:19:19 +0000</pubDate>
		<dc:creator>brendan</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.zen.org/?p=841</guid>
		<description><![CDATA[The original IEEE Transactions on Communications paper A Protocol for Packet Network Intercommunication (as a PDF) by Vint Cerf and Bob Kahn describing the seed that made the Internet come to be. Geek mana. I don&#8217;t know how long Princeton will keep it up there before I&#8217;ll have to delete the link.]]></description>
			<content:encoded><![CDATA[<p>The original IEEE Transactions on Communications paper <i><a href="http://www.cs.princeton.edu/courses/archive/fall06/cos561/papers/cerf74.pdf">A Protocol for Packet Network Intercommunication</a></i> (as a PDF) by Vint Cerf and Bob Kahn describing the seed that made the Internet come to be.  Geek mana.  I don&#8217;t know how long Princeton will keep it up there before I&#8217;ll have to delete the link.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zen.org/2009/10/13/origin-of-the-species/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

