<?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>Denis Lemire&#039;s Site &#187; FreeBSD</title>
	<atom:link href="http://www.denis.lemire.name/category/technology/freebsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.denis.lemire.name</link>
	<description>Random musings of a technophile.</description>
	<lastBuildDate>Mon, 23 Jan 2012 05:00:41 +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>Inferno3</title>
		<link>http://www.denis.lemire.name/2012/01/18/inferno3/</link>
		<comments>http://www.denis.lemire.name/2012/01/18/inferno3/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 03:46:49 +0000</pubDate>
		<dc:creator>Denis Lemire</dc:creator>
				<category><![CDATA[Boring Site Trivia]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.denis.lemire.name/?p=398</guid>
		<description><![CDATA[The goal was rather simple, take my infinitely useful FreeBSD box and scale it down to more practical metrics. Less space, less energy, no noise. The tool for the job: 10 years of technological progress. Well, I&#8217;m not sure if that was the goal or the excuse, sometimes one simply gets an itch. An urge [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin: 10px"><a href="http://www.fractal-design.com/?view=product&#038;category=2&#038;prod=42"><img src="/images/posts/array1.jpg" alt="" /></a></div>
<p> The goal was rather simple, take my infinitely useful FreeBSD box and scale it down to more practical metrics. Less space, less energy, no noise. The tool for the job: 10 years of technological progress.</p>
<p>Well, I&#8217;m not sure if that was the goal or the excuse, sometimes one simply gets an itch. An urge to integrate new hardware and drag old and reliable but bulky and power hungry hardware to the curb.</p>
<p>Maybe I&#8217;m being too specific in the details to label this as a recurring rite&#8230; but a good intro is a good intro, I&#8217;m sticking with it.</p>
<p><span id="more-398"></span></p>
<p><a href="http://www.supermicro.nl/products/motherboard/ATOM/ICH9/X7SPA-H-D525.cfm"><img style="float: left; margin-right: 20px" src="/images/posts/X7SPA-H.jpg"></a></p>
<h3>Requirements</h3>
<p>I had enough specifics in mind that I&#8217;m still a little surprised I was able to satisfy every quirky demand. I wanted an Atom based system for the ideal balance of performance and efficiency. I wanted the system to be as ridiculously compact as 2012 technology would allow.</p>
<p>My first thought was the <a href="http://event.asus.com/eeepc/microsites/eeebox/en/">Asus Eee Box</a>. Their size and cost would have been ideal, but contradicting my small form factor requirement was the desire to migrate my existing mirrored 3.5&#8243; tera-byte drives.</p>
<p>Replacing my storage wouldn&#8217;t have been a deal breaker, but as I use the FreeBSD box as my gateway, dual high quality NICs was a must.</p>
<p>What started as a few innocent, curiosity driven Google queries quickly escalated into incurable gadget lust when I stumbled on a Mini-ITX board that looked perfect for the task at hand&#8230;</p>
<p>Wait, what&#8217;s this? A Mini-ITX case that can hold six (<strong>six!</strong>) 3.5&#8243; drives and an SSD?!</p>
<p>&#8230;and it still maintains a sleek minimalistic design?</p>
<p>&#8230;also&#8230; silent?</p>
<p>These are some of my favourite attributes&#8230; I can&#8217;t stop now!</p>
<h3>The toys for the job</h3>
<ul>
<li>Super Micro X7SPA-H-D525</li>
<li>A pair of 2 GB Kingston KVR800D3S8S6/2G modules</li>
<li>Fractal Design Array R2 Mini ITX NAS Case</li>
<li>An Intel 311 Series 20 GB SSD, SSDSA2VP020G201, for the OS &#8211; just because.</li>
</ul>
<h3>Results</h3>
<p>Two weeks impatiently awaiting the arrival of my backordered board from NCIX (everything else was in stock), some quick assembly, hours of migration work and endless compiling later&#8230;</p>
<p>Inferno is now replaced, upgraded to FreeBSD 9.0 and back to his regular duties (including hosting this very site). Everything is running stable and I couldn&#8217;t be happier with the difference in power consumption!</p>
<p>The Athlon Thunderbird 850 MHz system this replaced loaded my UPS to 17% of its capacity. This system&#8230; Only 2%! Run time estimates on battery backup have gone from just over an hour to over four hours! This kind of difference in power consumption alone probably justifies the exercise. If nothing else, I can now just play the &#8220;going green&#8221; card.</p>
<p>Even a lowly Atom runs circles around the ancient ol&#8217; T-Bird. All else being equal, how can you go wrong with more clock speed, an extra core and Hyper-threading?</p>
<p>To summarize: everything went according to my diabolical plan. Let&#8217;s see if I can run on this for the <strong>next</strong> decade.</p>
<p><img src="/images/posts/new-inferno.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.denis.lemire.name/2012/01/18/inferno3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Banishing Inferno to the Basement</title>
		<link>http://www.denis.lemire.name/2009/06/01/banishing-inferno/</link>
		<comments>http://www.denis.lemire.name/2009/06/01/banishing-inferno/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 02:53:29 +0000</pubDate>
		<dc:creator>Denis Lemire</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Household]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.denis.lemire.name/?p=121</guid>
		<description><![CDATA[I&#8217;m now back to my regular ol&#8217; routine, just finished a week long &#8220;staycation.&#8221; So other than spend quality time with the family, what does a system administrator who doesn&#8217;t have to go to work for a week do with his time? Pull some CAT5 and clean up my home network, of course! Inferno, my [...]]]></description>
			<content:encoded><![CDATA[<div><a href="http://www.freebsd.og"><img src="/images/posts/freebsd.png" alt="" style="float: right; margin: -10px 0px 10px 10px;" /></a></div>
<p> I&#8217;m now back to my regular ol&#8217; routine, just finished a week long <em>&#8220;staycation.&#8221;</em> So other than spend quality time with the family, what does a system administrator who doesn&#8217;t have to go to work for a week do with his time? Pull some CAT5 and clean up my home network, of course!</p>
<p>Inferno, my FreeBSD home gateway, file, web and everything else server has been irritating me with its typical PC fan whirring for too long. It was high time to uproot the beast from its cozy spot on my office floor, where it sat for nearly eight years and drag it to the basement and finally bring tranquility to my office.</p>
<p><span id="more-121"></span></p>
<p>This involved running six new cables from my electrical/laundry room to its new home in the basement&#8217;s spare bedroom. One Ethernet run to its LAN interface, one for its WiFi interface (I keep WiFi access to my network on a separate segment), one for my recently acquired Xerox Phaser 8400 printer and one spare for future use. I also needed two RG-6 runs, one for the cable modem which now sits downstairs and one for an old spare CRT TV as per the wife&#8217;s request.</p>
<p>After a long day of running and terminating cable and dragging equipment around, I ran into one snag: the NIC for the WiFi segment of my network was not seeing my piece of junk Tranzeo AP. I mistakingly saved this AP from AirSurfer&#8217;s dumpster several years ago and have been looking for an excuse to get rid of it ever since. After testing the cable run to the opposite side of the basement where the AP resides, I determined all was well and the Tranzeo pile of garbage was the worthy owner of the blame.</p>
<p>Upon hearing my tales of woe and coming to terms with what this meant for her iPod touch web-surfing habit, Jessie was quick to suggest we give the Tranzeo AP the fate it deserves and replace it with a far more capable AirPort Extreme. Who was I to argue? The Airport has been configured in bridge mode as I still intend to leave the routing duties to Inferno.</p>
<p><img src="/images/posts/inferno-setup.png" alt='' /></p>
<p>In my twisted reality, the aging beige Antec case in combination with the old 19&#8243; CRT I dug up, alongside the Phaser, plain old Fujitsu keyboard and ancient desk (also saved from AirSurfer&#8217;s dumpster years ago) give the corner an almost retro-computing look. Somehow I find the whole setup appealing in contrast to my shinier, sleeker, far more modern and most importantly far quieter collection of Apple desktops upstairs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.denis.lemire.name/2009/06/01/banishing-inferno/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgrades</title>
		<link>http://www.denis.lemire.name/2008/02/19/upgrades-2/</link>
		<comments>http://www.denis.lemire.name/2008/02/19/upgrades-2/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 03:05:05 +0000</pubDate>
		<dc:creator>Denis Lemire</dc:creator>
				<category><![CDATA[Boring Site Trivia]]></category>
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://www.denis.lemire.name/2008/02/19/upgrades-2/</guid>
		<description><![CDATA[Like every other Maxtor I&#8217;ve deployed in the last several years, the Maxtor DiamondMax Plus 9 (6Y120L0) 120 GB drive in this server was throwing multiple read errors and threatening to fail at any moment. As opposed to waiting for its imminent death, I decided it was time to do some upgrades. Not wanting to [...]]]></description>
			<content:encoded><![CDATA[<div><a href="http://www.freebsd.og"><img src="/images/posts/freebsd.png" alt="" style="float: right; margin: -10px 0px 10px 10px;" /></a></div>
<p> Like every other Maxtor I&#8217;ve deployed in the last several years, the <em>Maxtor DiamondMax Plus 9</em> (6Y120L0) 120 GB drive in this server was throwing multiple read errors and threatening to fail at any moment. </p>
<p>As opposed to waiting for its imminent death, I decided it was time to do some upgrades.</p>
<p>Not wanting to invest in a <a href="http://en.wikipedia.org/wiki/AT_Attachment">PATA</a> drive in 2008, I added a <a href="http://www.promise.com/product/product_detail_eng.asp?segment=Non-RAID%20HBAs&#038;product_id=138">Promise SATA300 TX2</a> <a href="http://en.wikipedia.org/wiki/SATA">SATA</a> PCI controller card and a <em>Seagate Barracuda 7200.11</em> 750GB (<a href="http://www.seagate.com/ww/v/index.jsp?vgnextoid=1cd981f8c0f43110VgnVCM100000f5ee0a0aRCRD&#038;locale=en-US">ST3750330AS</a>)</p>
<p>No hardware upgrade is ever complete without the complementing software upgrade. During the procedure I also opted to upgrade the system from FreeBSD 6.2 to the nearly production ready <a href="http://www.freebsd.org/">FreeBSD</a> 7.0 RC2.</p>
<p>In spite of the long hours of work required to completely setup a new FreeBSD installation, everything went smooth. FreeBSD plays nice with the new controller card and everything is now up and running and back to normal. The old 120 GB drive was getting a little cramped anyway, the extra breathing room is going to be nice!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.denis.lemire.name/2008/02/19/upgrades-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun with FreeBSD Serial Consoles</title>
		<link>http://www.denis.lemire.name/2007/07/12/serial-consoles/</link>
		<comments>http://www.denis.lemire.name/2007/07/12/serial-consoles/#comments</comments>
		<pubDate>Fri, 13 Jul 2007 03:53:59 +0000</pubDate>
		<dc:creator>Denis Lemire</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.denis.lemire.name/2007/07/12/serial-consoles/</guid>
		<description><![CDATA[Like most whom are geeky enough to run a home server, I run my server headless (no keyboard or display attached). This is convenient 99% of the time (namely for everything excluding operating system upgrades or occasions where you firewall yourself out of your own machine while tweaking IPFW rules)&#8230; Traditionally I avoided this problem [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/images/posts/freebsd.png" alt="" style="float: right; margin: 10px;" /> Like most whom are geeky enough to run a home server, I run my server headless (no keyboard or display attached). This is convenient 99% of the time (namely for everything excluding operating system upgrades or occasions where you firewall yourself out of your own machine while tweaking IPFW rules)&#8230;</p>
<p>Traditionally I avoided this problem via a PS/2 KVM switch between my server and desktop PC. That solution met it&#8217;s end when I ousted my last desktop PC. In order to continue with the KVM style setup I would need to find a KVM equipped with USB keyboard and mouse ports and both VGA and DVI display ports, which apparently is not   easy to come by short of some very high end setups.</p>
<p>It seems more often then not, the old fashioned strategies yield the greatest success. I opted for a NULL Modem cable (1969 called, they want their <a href="http://en.wikipedia.org/wiki/RS-232">RS-232</a> back) and a <a href="http://www.keyspan.com/products/usb/usa19hs/homepage.spml">Keyspan USA-19HS</a> USB to Serial adapter for the Mac Mini.</p>
<p><span id="more-55"></span></p>
<p>I specifically opted for the Keyspan product as it is one of the few USB serial adapters with adequate drivers. Every other generic USB serial adapter I&#8217;ve stumbled apon has defined adequate as <em>&#8220;Windows only&#8221;</em> where as the Keyspan has drivers for Windows, Macintosh and Linux.</p>
<h3>Enabling serial console on FreeBSD</h3>
<p>Like every other task involving Unix derivatives in general and FreeBSD in specific, the setup is dead simple if you know how to do it:</p>
<ol>
<li>
<p>Find the entry for <em>ttyd0</em> in <em>/etc/ttys</em> and change it to approximate:</p>
<pre>ttyd0   "/usr/libexec/getty std.9600"   vt100   on secure</pre>
</li>
<li>
<p>Add <em>console=&#8221;comconsole&#8221;</em> to <em>/boot/loader.conf</em>:</p>
<pre>echo console=\"comconsole\" &gt;&gt; /boot/loader.conf</pre>
</li>
<li>
<p>Send <em>init(8)</em> the HUP signal for the changes to be applied:</p>
<pre>kill -HUP 1</pre>
</li>
</ol>
<h3>Connecting from the Client Machine</h3>
<p>Connecting to the FreeBSD server from my Mac Mini (lilpapa) is as simple as using GNU Screen from the Terminal application. In my case:</p>
<pre>screen /dev/tty.KeySerial1</pre>
<h3>Testing my New Setup</h3>
<p>Using this new setup I have successfully upgraded Inferno (this server) from FreeBSD 6.1 to FreeBSD 6.2-RELEASE-p5. What better way to test this setup then running <em>make installworld</em> in single user mode via the serial console?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.denis.lemire.name/2007/07/12/serial-consoles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PNGOUT Binaries for FreeBSD</title>
		<link>http://www.denis.lemire.name/2007/04/30/pngout-bsd/</link>
		<comments>http://www.denis.lemire.name/2007/04/30/pngout-bsd/#comments</comments>
		<pubDate>Tue, 01 May 2007 04:29:46 +0000</pubDate>
		<dc:creator>Denis Lemire</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.denis.lemire.name/2007/04/30/pngout-bsd/</guid>
		<description><![CDATA[After writing my previous post on Batch PNG Optimization, I decided to e-mail the author of PNGOUT, Ken Silverman, to see if there was any hope of a future FreeBSD port. Ken was impressively quick to respond and forward my request to Jonathon Fowler whom previously handled porting PNGOUT to other platforms. Well lo and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.freebsd.org"><img src="/images/posts/freebsd.png" alt="" style="float: right; margin: 10px;" /></a> After writing my previous post on <a href="/2007/04/24/pngout/">Batch PNG Optimization</a>, I decided to e-mail the author of PNGOUT, Ken Silverman, to see if there was any hope of a future FreeBSD port.</p>
<p>Ken was impressively quick to respond and forward my request to <a href="http://jonof.edgenetwork.org/">Jonathon Fowler</a> whom previously handled porting PNGOUT to other platforms.</p>
<p>Well lo and behold, as of today <a href="http://jonof.edgenetwork.org/pngout">PNGOUT binaries for FreeBSD</a> are available!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.denis.lemire.name/2007/04/30/pngout-bsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

