<?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>SysAdmin Adventures &#187; Hardware</title>
	<atom:link href="http://blog.tpa.me.uk/category/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tpa.me.uk</link>
	<description>Tech notes from a Systems Administrator</description>
	<lastBuildDate>Mon, 31 Oct 2011 11:09:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Migrating Slackware to New Hardware</title>
		<link>http://blog.tpa.me.uk/2009/12/03/migrating-slackware-to-new-hardware/</link>
		<comments>http://blog.tpa.me.uk/2009/12/03/migrating-slackware-to-new-hardware/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 16:51:37 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Slackware]]></category>
		<category><![CDATA[interfaces]]></category>
		<category><![CDATA[migrating]]></category>
		<category><![CDATA[net]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[persistent]]></category>
		<category><![CDATA[rules]]></category>
		<category><![CDATA[udev]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=272</guid>
		<description><![CDATA[Sometimes it is necessary to retain a Slackware installation, but change the hardware it runs on: Migrating to or from virtual hardware (VirtualBox, VMware etc) Duplicating an installation across multiple new servers Using temporary hardware to set up a new OS for a server to minimise downtime Plain old hardware failure etc. Under many other [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes it is necessary to retain a Slackware installation, but change the hardware it runs on:</p>
<ul>
<li>Migrating to or from virtual hardware (VirtualBox, VMware etc)</li>
<li>Duplicating an installation across multiple new servers</li>
<li>Using temporary hardware to set up a new OS for a server to minimise downtime</li>
<li>Plain old hardware failure</li>
<li>etc.</li>
</ul>
<p>Under many other Operating Systems, <em>especially</em> Windows, this can be painful and perhaps not even worth doing. As usual it is easy with Slackware.</p>
<p>In the simplest case (default install, default kernel, desktop environment) there&#8217;s literally nothing you need to do. Just put the disk or image in the new hardware and boot.</p>
<p>If you are using a custom kernel (<a href="http://blog.tpa.me.uk/slackware-kernel-compile-guide/">as you should be</a>) then you will need to create a new kernel and update lilo either before or after you do the migration. If you have any sense of self-preservation, your lilo config will include the default &#8220;huge&#8221; kernel and so the minimum you need to do is just boot the huge kernel on the new hardware, then you can go about making a new custom kernel later.</p>
<p><strong>The bit that will catch you out:</strong><br />
There is one thing that might make you stumble: you moved the installation, booted up and all is well.. but the network isn&#8217;t working. You run `ifconfig -a` and find your two network interfaces are now called eth2 and eth3 and neither is configured.. &#8220;What&#8217;s going on?&#8221;, you ask. The answer is udev.</p>
<p>udev knows that your two new network interfaces are different to your old ones because they have different MAC addresses and decides you might not want to have them configured the same; perhaps you are going to swap in the old cards later and have four, so it reserves the previously used &#8220;ethX&#8221; labels in case it sees those cards again.</p>
<p>Since you are migrating to new hardware, you want it to forget about your previous network interfaces and re-use the labels with your new hardware. Head to <em>/etc/udev/rules.d</em> and find the file called 70-persistent-net.rules. Take a look at it.. it should look something like this:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># This file was automatically generated by the //lib/udev/write_net_rules</span><br />
<span style="color: #666666; font-style: italic;"># program, run by the persistent-net-generator.rules rules file.</span><br />
<span style="color: #666666; font-style: italic;">#</span><br />
<span style="color: #666666; font-style: italic;"># You can modify it, as long as you keep each rule on a single</span><br />
<span style="color: #666666; font-style: italic;"># line, and change only the value of the NAME= key.</span><br />
<br />
<span style="color: #666666; font-style: italic;"># PCI device 0x10de:0x0373 (forcedeth)</span><br />
<span style="color: #007800;">SUBSYSTEM</span>==<span style="color: #ff0000;">&quot;net&quot;</span>, <span style="color: #007800;">ACTION</span>==<span style="color: #ff0000;">&quot;add&quot;</span>, <span style="color: #007800;">DRIVERS</span>==<span style="color: #ff0000;">&quot;?*&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>address<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;00:18:f3:7c:75:31&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">type</span><span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;1&quot;</span>, <span style="color: #007800;">KERNEL</span>==<span style="color: #ff0000;">&quot;eth*&quot;</span>, <span style="color: #007800;">NAME</span>=<span style="color: #ff0000;">&quot;eth0&quot;</span><br />
<br />
<span style="color: #666666; font-style: italic;"># PCI device 0x10de:0x0373 (forcedeth)</span><br />
<span style="color: #007800;">SUBSYSTEM</span>==<span style="color: #ff0000;">&quot;net&quot;</span>, <span style="color: #007800;">ACTION</span>==<span style="color: #ff0000;">&quot;add&quot;</span>, <span style="color: #007800;">DRIVERS</span>==<span style="color: #ff0000;">&quot;?*&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>address<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;00:18:f3:7c:75:32&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">type</span><span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;1&quot;</span>, <span style="color: #007800;">KERNEL</span>==<span style="color: #ff0000;">&quot;eth*&quot;</span>, <span style="color: #007800;">NAME</span>=<span style="color: #ff0000;">&quot;eth1&quot;</span><br />
<br />
<span style="color: #666666; font-style: italic;"># PCI device 0x10de:0x0373 (forcedeth)</span><br />
<span style="color: #007800;">SUBSYSTEM</span>==<span style="color: #ff0000;">&quot;net&quot;</span>, <span style="color: #007800;">ACTION</span>==<span style="color: #ff0000;">&quot;add&quot;</span>, <span style="color: #007800;">DRIVERS</span>==<span style="color: #ff0000;">&quot;?*&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>address<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;00:18:f3:7c:75:b7&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">type</span><span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;1&quot;</span>, <span style="color: #007800;">KERNEL</span>==<span style="color: #ff0000;">&quot;eth*&quot;</span>, <span style="color: #007800;">NAME</span>=<span style="color: #ff0000;">&quot;eth2&quot;</span><br />
<br />
<span style="color: #666666; font-style: italic;"># PCI device 0x10de:0x0373 (forcedeth)</span><br />
<span style="color: #007800;">SUBSYSTEM</span>==<span style="color: #ff0000;">&quot;net&quot;</span>, <span style="color: #007800;">ACTION</span>==<span style="color: #ff0000;">&quot;add&quot;</span>, <span style="color: #007800;">DRIVERS</span>==<span style="color: #ff0000;">&quot;?*&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>address<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;00:18:f3:7c:75:b8&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">type</span><span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;1&quot;</span>, <span style="color: #007800;">KERNEL</span>==<span style="color: #ff0000;">&quot;eth*&quot;</span>, <span style="color: #007800;">NAME</span>=<span style="color: #ff0000;">&quot;eth3&quot;</span></div></div>
<p>See how it has an entry for both the old interfaces and the new ones? That&#8217;s what&#8217;s meant by <em>persistent net rules</em>. If you moved to a new machine again, it would add the two new interfaces as eth4 and eth5.</p>
<p>You have two choices for fixing the situation:</p>
<ol>
<li>Delete the file. It will be re-created on next boot and start again from eth0.</li>
<li>Manually modify the file to reflect the configuration you want.</li>
</ol>
<p><em>Note: There is also a 70-persistent-cd.rules file that it&#8217;s worth keeping an eye on during hardware migration, but usually it&#8217;s only the net rules that actually cause people problems.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2009/12/03/migrating-slackware-to-new-hardware/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dvorak: Just Inherently Better.</title>
		<link>http://blog.tpa.me.uk/2009/09/23/dvorak-just-inherently-better/</link>
		<comments>http://blog.tpa.me.uk/2009/09/23/dvorak-just-inherently-better/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 09:59:20 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[dvorak]]></category>
		<category><![CDATA[keyboard]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=166</guid>
		<description><![CDATA[I thought I should mention that I have taken the decision to teach myself to be capable of swapping between QWERTY and Dvorak keyboard layouts. There are a number of goals here, primarily to learn a new skill and to give myself the ability to swap to pure Dvorak later on if I want to [...]]]></description>
			<content:encoded><![CDATA[<p>I thought I should mention that I have taken the decision to teach myself to be capable of swapping between QWERTY and Dvorak keyboard layouts. There are a number of goals here, primarily to learn a new skill and to give myself the ability to swap to pure Dvorak later on if I want to or medically need to, but also because I like the idea that it was designed for typing. QWERTY is obsolete and is still being used because it&#8217;s what people are used to and the general public are always scared of change. Dvorak was scientifically designed to help people to type better &#8211; I can&#8217;t think of a better reason to try it! I can&#8217;t remember exactly when I started, I&#8217;m guessing it was about a year ago now and it&#8217;s coming along nicely.</p>
<p>On my desk, I have two machines, both with identical Big Ol&#8217; Dell Keyboards. But I have swapped the keys around on the one on the left to make it a Dvorak-UK layout. The box on the right is my main working desktop (Slackware-13.0) and the one on the left is mainly for IRC run out of tty2 although I also use it for live testing when writing code. Because the IRC box is the Dvorak box, all I do is type which gives me a lot of practice.</p>
<p>I got past the hunt-and-peck stage in about 6 weeks, and slowly started getting better from there. I still have trouble with M and W being next to each other, and I often grab the wrong vowel, but other than that I&#8217;ve gotten pretty good. Sometimes I get so comfortable I reach over to the QWERTY keyboard and momentarily forget how to type; but that&#8217;s only occasionally. I think I do pretty well swapping between the two.</p>
<p>I now have a new skill for my CV and the ability to fend off RSI later in life. I feel I have accomplished something.</p>
<p>Some notes:</p>
<ul>
<li>Do not bother trying to find a Dvorak keyboard &#8211; people just don&#8217;t sell them &#8211; rearrange one you have.</li>
<li>Pick a good keyboard to re-arrange. Try to find one that has no curvature so the keys are all the same dimensions and set at the same angle.</li>
<li>In a linux console: `loadkeys dvorak` will give you a Dvorak (US) layout instantly.</li>
<li>In Slackware 13.0, tell hald about your new keyboard as in my earlier <a href="http://blog.tpa.me.uk/2009/08/30/slackware-13-0-xorg-hal/">post</a> so it works in X.</li>
</ul>
<p>I urge everyone to spend a little time reading <a href="http://dvzine.org" onclick="pageTracker._trackPageview('/outgoing/dvzine.org?referer=');">DVZine</a> to rid you of fear, uncertainty and doubt (FUD) about Dvorak. There&#8217;s a lot of misinformation out there and <a href="http://dvzine.org" onclick="pageTracker._trackPageview('/outgoing/dvzine.org?referer=');">DVZine</a> will put you straight.</p>
<p>Have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2009/09/23/dvorak-just-inherently-better/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Save me from Allied Telesyn</title>
		<link>http://blog.tpa.me.uk/2009/09/07/save-me-from-allied-telesyn/</link>
		<comments>http://blog.tpa.me.uk/2009/09/07/save-me-from-allied-telesyn/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 12:12:37 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[allied]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[telesis]]></category>
		<category><![CDATA[telesyn]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=113</guid>
		<description><![CDATA[Another Monday morning, another failed fibre GBIC in an Allied Telesyn switch. Yay(!). And so cheap at £80 apiece to replace. I wouldn&#8217;t mind so much if these switches worked well, but they really really don&#8217;t. Web interface sometimes works, sometimes doesn&#8217;t. If it can be arsed to provide the images (because ALL links are [...]]]></description>
			<content:encoded><![CDATA[<p>Another Monday morning, another failed fibre GBIC in an Allied Telesyn switch. Yay(!). And so cheap at £80 apiece to replace. I wouldn&#8217;t mind so much if these switches worked well, but they really really don&#8217;t.</p>
<ul>
<li>Web interface sometimes works, sometimes doesn&#8217;t. If it can be arsed to provide the images (because ALL links are image links), it does so at its own discretion and provides no guarantee the right image will be in the right place.</li>
<li>Switches enjoy failing completely at random intervals prompting a hard-reset.</li>
<li>Sometimes, when they feel like challenging me, a single port will have a hissy-fit requiring that I reallocate the device plugged into the port, or hard-reset the whole switch.</li>
<li>Upon reboot, the switch with the VLAN suddenly has a selective memory and forgets to put the VLAN back in place and so the segregated customer network suddenly has full internal network access.</li>
<li>And, of course, there&#8217;s the GBICs, which die on average once every three months or so.</li>
</ul>
<p>Thanks SO much Allied Telesyn,<br />
No love.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2009/09/07/save-me-from-allied-telesyn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Avoid UPGuards PSUs. You have been warned.</title>
		<link>http://blog.tpa.me.uk/2009/09/01/avoid-upguards-psus-you-have-been-warned/</link>
		<comments>http://blog.tpa.me.uk/2009/09/01/avoid-upguards-psus-you-have-been-warned/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 11:39:05 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[beware]]></category>
		<category><![CDATA[hec]]></category>
		<category><![CDATA[psu]]></category>
		<category><![CDATA[upguards]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=89</guid>
		<description><![CDATA[Many manufacturers make low-quality hardware because it&#8217;s cheaper and they can sell it for less. Often, cheap hardware is just what you need; unless you&#8217;re buying UPGuards branded equipment. In this building we have a little bit of a power issue because instead of 230V we get between 240V and 255V depending on which way [...]]]></description>
			<content:encoded><![CDATA[<p>Many manufacturers make low-quality hardware because it&#8217;s cheaper and they can sell it for less. Often, cheap hardware is just what you need; unless you&#8217;re buying UPGuards branded equipment. In this building we have a little bit of a power issue because instead of 230V we get between 240V and 255V depending on which way the wind is blowing. This may be the cause this may not be the cause, but the fact of the matter is, we have had somewhere in the region of 80 UPGuards PSUs, and I have replaced approximately 65-70 of them so far, and more die every month. Every time I have replaced one of these it has been with a bog-standard HEC 350W PSU and, let me be clear on this, <strong>not one</strong> of the HEC PSUs has failed on me yet. Not a single solitary one. These are not expensive or high quality PSUs, just cheap bog-standard quality. </p>
<p>If the HEC PSUs are fine, there is NO excuse for UPGuards to have nearly a 90% failure rate.</p>
<p>Buyer beware!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2009/09/01/avoid-upguards-psus-you-have-been-warned/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

