<?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>t.rolled &#187; Linux</title>
	<atom:link href="http://johnlange.wordpress.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://johnlange.wordpress.com</link>
	<description>Technology unrolled</description>
	<lastBuildDate>Tue, 03 Jan 2012 16:57:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='johnlange.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>t.rolled &#187; Linux</title>
		<link>http://johnlange.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://johnlange.wordpress.com/osd.xml" title="t.rolled" />
	<atom:link rel='hub' href='http://johnlange.wordpress.com/?pushpress=hub'/>
		<item>
		<title>SNMP on Tomato</title>
		<link>http://johnlange.wordpress.com/2011/05/06/snmp-on-tomato/</link>
		<comments>http://johnlange.wordpress.com/2011/05/06/snmp-on-tomato/#comments</comments>
		<pubDate>Fri, 06 May 2011 18:23:04 +0000</pubDate>
		<dc:creator>johnlange</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech Tip]]></category>

		<guid isPermaLink="false">http://johnlange.wordpress.com/?p=613</guid>
		<description><![CDATA[I just published some instructions for getting SNMP running on Tomato so it can be monitored from something like cacti. The complete instructions are here.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=613&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just published some instructions for getting SNMP running on Tomato so it can be monitored from something like cacti.</p>
<p>The complete instructions are <a href="http://www.johnlange.ca/tech-tips/linux/snmp-on-tomato/">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/johnlange.wordpress.com/613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/johnlange.wordpress.com/613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/johnlange.wordpress.com/613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/johnlange.wordpress.com/613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/johnlange.wordpress.com/613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/johnlange.wordpress.com/613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/johnlange.wordpress.com/613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/johnlange.wordpress.com/613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/johnlange.wordpress.com/613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/johnlange.wordpress.com/613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/johnlange.wordpress.com/613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/johnlange.wordpress.com/613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/johnlange.wordpress.com/613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/johnlange.wordpress.com/613/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=613&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://johnlange.wordpress.com/2011/05/06/snmp-on-tomato/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/551eb266c4929bf6e5479e7228e48311?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnlange</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux vs. Microsoft: It&#8217;s over&#8230;</title>
		<link>http://johnlange.wordpress.com/2011/04/06/linux-vs-microsoft-its-over/</link>
		<comments>http://johnlange.wordpress.com/2011/04/06/linux-vs-microsoft-its-over/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 17:59:51 +0000</pubDate>
		<dc:creator>johnlange</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Trends]]></category>

		<guid isPermaLink="false">http://johnlange.wordpress.com/?p=601</guid>
		<description><![CDATA[Linux Foundation Executive Director Jim Zemlin said in a recent interview that Microsoft is increasingly irrelevant. &#8220;I think we just don&#8217;t care that much [about Microsoft] anymore &#8230; They used to be our big rival, but now it&#8217;s kind of like kicking a puppy.&#8221; Zemlin points out that Linux is dominant in every sector except [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=601&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Linux Foundation Executive Director Jim Zemlin said in <a href="http://www.networkworld.com/news/2011/040511-linux-vs-microsoft.html?hpg1=bn">a recent interview</a> that Microsoft is increasingly irrelevant. &#8220;I think we just don&#8217;t care that much [about Microsoft] anymore &#8230; They used to be our big rival, but now it&#8217;s    kind of like kicking a puppy.&#8221;</p>
<p>Zemlin points out that Linux is dominant in every sector except the Desktop. And while the desktop is certainly not an insignificant portion of the market, this is also likely to change dramatically over the next 5  years as mobile devices start to replace laptops and desktops.</p>
<p>Think of it this way, is your next purchase likely to be another $1000 home computer with windows, or with some other device like a $300 tablet? There is no longer any compelling reason to buy a home computer with Windows so the trend is inevitably away from desktop PCs.</p>
<p>It won&#8217;t happen overnight but I&#8217;ll bet that sometime over the next couple years you&#8217;ll cast your gaze over to your home PC and realize it has a layer of dust on it. At that point you&#8217;ll realize that your beloved PC, the one that you thought you could never live without hasn&#8217;t even been turned on for weeks.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/johnlange.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/johnlange.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/johnlange.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/johnlange.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/johnlange.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/johnlange.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/johnlange.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/johnlange.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/johnlange.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/johnlange.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/johnlange.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/johnlange.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/johnlange.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/johnlange.wordpress.com/601/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=601&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://johnlange.wordpress.com/2011/04/06/linux-vs-microsoft-its-over/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/551eb266c4929bf6e5479e7228e48311?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnlange</media:title>
		</media:content>
	</item>
		<item>
		<title>Starting a command in a new TTY</title>
		<link>http://johnlange.wordpress.com/2010/12/28/starting-a-command-in-a-new-tty/</link>
		<comments>http://johnlange.wordpress.com/2010/12/28/starting-a-command-in-a-new-tty/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 19:53:51 +0000</pubDate>
		<dc:creator>johnlange</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech Tip]]></category>

		<guid isPermaLink="false">http://www.johnlange.ca/?p=481</guid>
		<description><![CDATA[Here is a nifty tip. If you want to run a command but have all its output displayed on a diferent console, just use openvt. For example, here is how to run top in tty9: # openvt -c 9 top<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=481&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a nifty tip. If you want to run a command but have all its output displayed on a diferent console, just use openvt. For example, here is how to run top in tty9:</p>
<pre># openvt -c 9 top</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/johnlange.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/johnlange.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/johnlange.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/johnlange.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/johnlange.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/johnlange.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/johnlange.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/johnlange.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/johnlange.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/johnlange.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/johnlange.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/johnlange.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/johnlange.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/johnlange.wordpress.com/481/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=481&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://johnlange.wordpress.com/2010/12/28/starting-a-command-in-a-new-tty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/551eb266c4929bf6e5479e7228e48311?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnlange</media:title>
		</media:content>
	</item>
		<item>
		<title>Using udev to automount devices</title>
		<link>http://johnlange.wordpress.com/2010/12/13/using-udev-to-automount-devices/</link>
		<comments>http://johnlange.wordpress.com/2010/12/13/using-udev-to-automount-devices/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 22:52:50 +0000</pubDate>
		<dc:creator>johnlange</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech Tip]]></category>

		<guid isPermaLink="false">http://www.johnlange.ca/?p=465</guid>
		<description><![CDATA[&#1075;&#1077;&#1086;&#1083;&#1086;&#1078;&#1082;&#1080; &#1087;&#1088;&#1086;&#1091;&#1095;&#1074;&#1072;&#1085;&#1080;&#1103;Most desktop Linux systems now auto-mount any removable media by sending a trigger to the Window-manager (KDE or Gnome for example). But in some cases you might want to do the auto-mounting using udev instead (for example on a server where you don&#8217;t have x-windows installed). This can be done quite easily using udev [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=465&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font><a href="http://www.piks1.com/">&#1075;&#1077;&#1086;&#1083;&#1086;&#1078;&#1082;&#1080; &#1087;&#1088;&#1086;&#1091;&#1095;&#1074;&#1072;&#1085;&#1080;&#1103;</a></font>Most desktop Linux systems now auto-mount any removable media by sending a trigger to the Window-manager (KDE or Gnome for example). But in some cases you might want to do the auto-mounting using udev instead (for example on a server where you don&#8217;t have x-windows installed).</p>
<p>This can be done quite easily using udev and there are a variety of <a href="https://wiki.archlinux.org/index.php/Udev#Auto_mounting_USB_devices">great examples on the udev wiki</a>. Here is one I modified slightly which could act as a simple way to do backups to an external USB device without having to manually mount the device each time.</p>
<p>Create the file &#8220;<strong><tt>/etc/udev/rules.d/11-backup-auto-mount.rules"</tt></strong></p>
<pre><strong>--start--
</strong></pre>
<pre>
<pre>KERNEL!="sd[a-z][0-9]", GOTO="backup_auto_mount_end"</pre>
<p># Import FS infos<br />
IMPORT{program}="/sbin/blkid -o udev -p %N"</p>
<p># Global mount options<br />
ACTION=="add", ENV{mount_options}="relatime"<br />
# Filesystem-specific mount options<br />
ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,gid=100,umask=002"</p>
<p># Mount the device<br />
ACTION=="add", RUN+="/bin/mount -o $env{mount_options} /dev/%k /backup"</p>
<p># Clean up after removal<br />
ACTION=="remove", ENV{dir_name}!="", RUN+="/bin/umount -l /backup"</p>
<p># Exit<br />
LABEL="backup_auto_mount_end"</p>
<p>--end--</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/johnlange.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/johnlange.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/johnlange.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/johnlange.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/johnlange.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/johnlange.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/johnlange.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/johnlange.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/johnlange.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/johnlange.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/johnlange.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/johnlange.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/johnlange.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/johnlange.wordpress.com/465/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=465&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://johnlange.wordpress.com/2010/12/13/using-udev-to-automount-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/551eb266c4929bf6e5479e7228e48311?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnlange</media:title>
		</media:content>
	</item>
		<item>
		<title>ntp on virtual machines</title>
		<link>http://johnlange.wordpress.com/2010/11/23/ntp-on-virtual-machines/</link>
		<comments>http://johnlange.wordpress.com/2010/11/23/ntp-on-virtual-machines/#comments</comments>
		<pubDate>Tue, 23 Nov 2010 15:34:56 +0000</pubDate>
		<dc:creator>johnlange</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.johnlange.ca/?p=448</guid>
		<description><![CDATA[If you&#8217;ve ever run a virtual machine you&#8217;ve no doubt encountered a problem with the clock skewing badly to the point where you can be hours out of date in only a few days. On non-visualized systems minor clock skew is also a problem that is easily solved using ntp (network time protocol). Unfortunately the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=448&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever run a virtual machine you&#8217;ve no doubt encountered a problem with the clock skewing badly to the point where you can be hours out of date in only a few days.</p>
<p>On non-visualized systems minor clock skew is also a problem that is easily solved using ntp (network time protocol). Unfortunately the default behavior of ntp causes it to give up if the clock gets too far out. In ntp.log you&#8217;ll see a message such as:</p>
<pre> ntpd[16182]: time correction of -1135 seconds exceeds sanity limit (1000)</pre>
<p>The solution to this problem is to tell ntp not to &#8220;panic&#8221; and give up no matter how bad the clock gets.</p>
<p>At the top of ntp.conf just add the line:</p>
<pre>tinker panic 0</pre>
<p>ntp will not give up no matter how badly the clock skews. Also, make sure that the startup options for ntp include the &#8220;-g&#8221; flag. On most modern Linux distributions you&#8217;ll find the options in /etc/sysconfig/ntp. e.g.:</p>
<pre>NTPD_OPTIONS="-g -u ntp:ntp"
<em>
update: corrected to say "setvar panic 0". was "panic 0".
update#2: ok, this is frustrating but the config command is actually "tinker panic 0". There is also <a href="http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=1006427&amp;sliceId=1&amp;docTypeID=DT_KB_1_1&amp;dialogID=23956052&amp;stateId=1%200%2023952415">a document from VMWare</a> on this topic.</em></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/johnlange.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/johnlange.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/johnlange.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/johnlange.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/johnlange.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/johnlange.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/johnlange.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/johnlange.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/johnlange.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/johnlange.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/johnlange.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/johnlange.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/johnlange.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/johnlange.wordpress.com/448/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=448&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://johnlange.wordpress.com/2010/11/23/ntp-on-virtual-machines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/551eb266c4929bf6e5479e7228e48311?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnlange</media:title>
		</media:content>
	</item>
		<item>
		<title>Mounting disks by label; A cautionary tale</title>
		<link>http://johnlange.wordpress.com/2010/07/21/mounting-disks-by-label-a-cautionary-tale/</link>
		<comments>http://johnlange.wordpress.com/2010/07/21/mounting-disks-by-label-a-cautionary-tale/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 15:30:33 +0000</pubDate>
		<dc:creator>johnlange</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech Tip]]></category>

		<guid isPermaLink="false">http://www.johnlange.ca/?p=396</guid>
		<description><![CDATA[I was migrating some data to some new disks and since the drive letters would be changing once the old disks were removed, I partitioned them and then gave them label names so they could be mounted by label. The original disks had labels like: boot srv tmp On the new disks I thought good [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=396&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was migrating some data to some new disks and since the drive letters would be changing once the old disks were removed, I partitioned them and then gave them label names so they could be mounted by label.</p>
<p>The original disks had labels like:<br />
boot<br />
srv<br />
tmp</p>
<p>On the new disks I thought good names would be:<br />
/boot<br />
/srv<br />
/tmp</p>
<p>(I think Redhat actually names things this way by default?)</p>
<p>Anyhow, to make a long story short, mount by label ignores the leading slash. When the system rebooted, as predicted the drives came up in a different order so a &#8220;mount LABEL=srv&#8221; will actually mount the first disk named either &#8220;/srv&#8221; or &#8220;srv&#8221;.</p>
<p>Moral of the story; it&#8217;s probably a good idea not to use any strange characters when naming disks.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/johnlange.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/johnlange.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/johnlange.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/johnlange.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/johnlange.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/johnlange.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/johnlange.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/johnlange.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/johnlange.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/johnlange.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/johnlange.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/johnlange.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/johnlange.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/johnlange.wordpress.com/396/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=396&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://johnlange.wordpress.com/2010/07/21/mounting-disks-by-label-a-cautionary-tale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/551eb266c4929bf6e5479e7228e48311?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnlange</media:title>
		</media:content>
	</item>
		<item>
		<title>UPS Monitoring with SUSE. Quick &amp; Dirty</title>
		<link>http://johnlange.wordpress.com/2009/12/07/ups-monitoring-with-suse-quick-dirty/</link>
		<comments>http://johnlange.wordpress.com/2009/12/07/ups-monitoring-with-suse-quick-dirty/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 21:50:32 +0000</pubDate>
		<dc:creator>johnlange</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SUSE]]></category>
		<category><![CDATA[Tech Tip]]></category>

		<guid isPermaLink="false">http://www.johnlange.ca/?p=347</guid>
		<description><![CDATA[I recently had the need to query a bunch of UPSes to gather their current statistics using openSUSE. The Network UPS Tools packages (NUT for short) are available for openSUSE and that&#8217;s all you need (assuming your UPS is one of the supported ones). # zypper install nut Next you need to edit /etc/ups/ups.conf and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=347&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently had the need to query a bunch of UPSes to gather their current statistics using openSUSE. The Network UPS Tools packages (NUT for short) are available for openSUSE and that&#8217;s all you need (assuming your UPS is one of the supported ones).</p>
<p># zypper install nut</p>
<p>Next you need to edit /etc/ups/ups.conf and make an entry for your UPS driver and serial port.</p>
<p>[myups]<br />
driver = bcmxcp<br />
port = /dev/ttyUSB0<br />
desc = &#8220;Local UPS&#8221;</p>
<p>Next I started the UPS driver manually in debug mode so I could see what was going on. The nice thing about this driver is it will auto-discover the UPS serial port speed.</p>
<p># /usr/lib/ups/driver/bcmxcp -a myups -D</p>
<p>In a separate terminal window, start upsd.</p>
<p># upsd</p>
<p>Now you should be able to query the UPS:</p>
<p># upsc myups@localhost</p>
<p>Because I was just collecting statistics, I wasn&#8217;t interested in using upsd to automatically shutdown servers or anything fancy but that is possible.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/johnlange.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/johnlange.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/johnlange.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/johnlange.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/johnlange.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/johnlange.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/johnlange.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/johnlange.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/johnlange.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/johnlange.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/johnlange.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/johnlange.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/johnlange.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/johnlange.wordpress.com/347/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=347&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://johnlange.wordpress.com/2009/12/07/ups-monitoring-with-suse-quick-dirty/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/551eb266c4929bf6e5479e7228e48311?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnlange</media:title>
		</media:content>
	</item>
		<item>
		<title>SUSE 11.2 Tweak &#8211; Show all tasks on Gnome Panel</title>
		<link>http://johnlange.wordpress.com/2009/11/16/suse-11-2-tweak-show-all-tasks-on-gnome-panel/</link>
		<comments>http://johnlange.wordpress.com/2009/11/16/suse-11-2-tweak-show-all-tasks-on-gnome-panel/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 16:26:36 +0000</pubDate>
		<dc:creator>johnlange</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SUSE]]></category>
		<category><![CDATA[Tech Tip]]></category>

		<guid isPermaLink="false">http://www.johnlange.ca/?p=329</guid>
		<description><![CDATA[The Gnome desktop in OpenSUSE 11.2 is beautiful (much nicer than the clunky KDE IMHO), but there are a few things that I don&#8217;t like about the default settings. I use 8 virtual desktops to keep my desktop organized but I like the taskbar to show all tasks. By default, the gnome panel&#8217;s task bar [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=329&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The Gnome desktop in OpenSUSE 11.2 is beautiful (much nicer than the clunky KDE IMHO), but there are a few things that I don&#8217;t like about the default settings. I use 8 virtual desktops to keep my desktop organized but I like the taskbar to show all tasks. By default, the gnome panel&#8217;s task bar shows only the windows in the current workspace and for some reason you can&#8217;t just right-click the panel to change this setting.</p>
<p>Instead, it&#8217;s buried in the Gnome Configuration Editor which makes it really hard to find so here are the steps to fix this:</p>
<p>1) Computer -&gt; More Applications</p>
<p>2) System -&gt; Gnome Configuration Editor</p>
<p>The setting that needs to be changed is:</p>
<p>3) /apps/panel/applets/window_list_screen0/prefs/display_all_workspaces</p>
<p>You can navigate down the tree or use the &#8220;Find&#8221; function.</p>
<p>That&#8217;s it! Have a lot of fun!</p>
<p><strong>Update:</strong> see the first comment for an equally obscure but perhaps easier method.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/johnlange.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/johnlange.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/johnlange.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/johnlange.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/johnlange.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/johnlange.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/johnlange.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/johnlange.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/johnlange.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/johnlange.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/johnlange.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/johnlange.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/johnlange.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/johnlange.wordpress.com/329/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=329&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://johnlange.wordpress.com/2009/11/16/suse-11-2-tweak-show-all-tasks-on-gnome-panel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/551eb266c4929bf6e5479e7228e48311?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnlange</media:title>
		</media:content>
	</item>
		<item>
		<title>SUSE Studio &#8211; First impression&#8230; WOW!</title>
		<link>http://johnlange.wordpress.com/2009/10/07/suse-studio-first-impression-wow/</link>
		<comments>http://johnlange.wordpress.com/2009/10/07/suse-studio-first-impression-wow/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 15:31:39 +0000</pubDate>
		<dc:creator>johnlange</dc:creator>
				<category><![CDATA[Cool Tech]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SUSE]]></category>

		<guid isPermaLink="false">http://www.johnlange.ca/?p=303</guid>
		<description><![CDATA[Someone finally took pity on me and sent me an invite for  SUSE Studio. My first impression &#8211; Wow! SUSE Studio lets you build your own custom linux distribution using SUSE as the starting point. The process requires only a few mouse clicks and is so fast and simple any Geeko can do it Step [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=303&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Someone finally took pity on me and sent me an invite for  SUSE Studio. My first impression &#8211; Wow!</p>
<p>SUSE Studio lets you build your own custom linux distribution using SUSE as the starting point. The process requires only a few mouse clicks and is so fast and simple any Geeko can do it <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Step 1: choose a starting point for your build. Options range from bare-bones (Just Enough OS) OpenSUSE 11, to a full blown SUSE Enterprise Server.</p>
<p>Step 2: Add additional packages. Of course the full SUSE package list is available which includes everything you would normally find on the DVD. But, you can add any repository from the internet including your own custom ones either uploaded as an RPM or downloaded automatically from your own site.</p>
<p>But the goodness doesn&#8217;t end there&#8230; All of the respositories from the SUSE build service are also avaialble. You&#8217;ll be hard pressed to find a package that isn&#8217;t already available in Studio giving unprecidented flexability for building custom appliances.</p>
<p>Step 3: Next you configure some basic options such as Language, Timezone, Networking, and the default users and groups.</p>
<p>Step 4: Overylay files. If you need to add some files to your distro, just tar them up and they will be automatically un-tared in the directory specified.</p>
<p>Step 5: Create your applicance. You can pick one of 4 target formats. USB/Disk image, ISO, VMWare/VirtualBox, or XEN. Then click &#8220;Build&#8221;.</p>
<p>It typically takes less than 5 minutes to build the appliance and when you&#8217;re done you are presented with 2 options: Test Drive, or Download.</p>
<p>Test drive is really neat. Your appliance launches right in your browser window. You can watch it boot up, login, and test things out. The full desktop is there! Really cool! You can go back at any time and make changes.</p>
<p>Once you&#8217;re satisfied with your appliance click the download link and you&#8217;re done!</p>
<p>SUSE Studio is truly amazing.</p>
<p>I have only one small dissapointment; it only supports x86 archetectures and I had wanted to use it to build a PPC appliance that would run on the Sony PS3. I suspect they&#8217;ll add support for other CPUs in the future. Afterall, most small appliances don&#8217;t run full blown processors.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/johnlange.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/johnlange.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/johnlange.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/johnlange.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/johnlange.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/johnlange.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/johnlange.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/johnlange.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/johnlange.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/johnlange.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/johnlange.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/johnlange.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/johnlange.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/johnlange.wordpress.com/303/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=303&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://johnlange.wordpress.com/2009/10/07/suse-studio-first-impression-wow/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/551eb266c4929bf6e5479e7228e48311?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnlange</media:title>
		</media:content>
	</item>
		<item>
		<title>Is Redhat giving Linux a bad name?</title>
		<link>http://johnlange.wordpress.com/2009/09/04/is-redhat-giving-linux-a-bad-name/</link>
		<comments>http://johnlange.wordpress.com/2009/09/04/is-redhat-giving-linux-a-bad-name/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 20:17:55 +0000</pubDate>
		<dc:creator>johnlange</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>

		<guid isPermaLink="false">http://www.johnlange.ca/?p=299</guid>
		<description><![CDATA[RedHat put out a new release this week. Redhat Enterprise 5.4. Here is a summary of the important changes: - Nothing About all they could muster in their press release was driver updates and something about KVM replacing XEN. Yawn&#8230; KVM is arguable a backwards step over XEN at this point so my guess is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=299&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>RedHat put out a new release this week. Redhat Enterprise 5.4. Here is a summary of the important changes:</p>
<p>- Nothing</p>
<p>About all they could muster in their press release was driver updates and something about KVM replacing XEN. Yawn&#8230; KVM is arguable a backwards step over XEN at this point so my guess is the change has more to do with Citrix buying XEN than any real technical advantage.</p>
<p>Setting aside the KVM vs. XEN argument; When is RedHat going to do a major update on its &#8220;look &amp; feel&#8221; ? The biggest difference from RH4 to RH5? The background color changed from blue to red. wow.</p>
<p>In fact, RedHat has not changed in any significant way since before RHEL 4. It still has the same horrendous system admin tools and awful menu layout. It is now been way surpassed by its competition, SUSE Linux Enterprise Server 11 (which has improved leaps and bounds since SLES 9), and upstarts like Ubuntu.</p>
<p>On top of that, the anaconda installer is a dog and I&#8217;m fairly certain FEMA could come up with a better &#8220;rescue mode&#8221; than the one on the RH5 media.</p>
<p>And the desktop? Come on Redhat! You&#8217;ve got to step up! You&#8217;re giving Linux a bad name. As a Linux advocate, I&#8217;d be flat-out embarrassed to put RedHat beside Windows7 or Mac OSX.</p>
<p>Yes it&#8217;s still Linux and yes it&#8217;s still stable and great in many ways, but Redhat must do better. Much much better.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/johnlange.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/johnlange.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/johnlange.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/johnlange.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/johnlange.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/johnlange.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/johnlange.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/johnlange.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/johnlange.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/johnlange.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/johnlange.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/johnlange.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/johnlange.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/johnlange.wordpress.com/299/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnlange.wordpress.com&amp;blog=21506840&amp;post=299&amp;subd=johnlange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://johnlange.wordpress.com/2009/09/04/is-redhat-giving-linux-a-bad-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/551eb266c4929bf6e5479e7228e48311?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnlange</media:title>
		</media:content>
	</item>
	</channel>
</rss>
