<?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>Thomas Mathiesen's Blog</title>
	<atom:link href="http://thomasmathiesen.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thomasmathiesen.wordpress.com</link>
	<description>A Linux geek in the wild</description>
	<lastBuildDate>Thu, 05 Jan 2012 12:04:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='thomasmathiesen.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Thomas Mathiesen's Blog</title>
		<link>http://thomasmathiesen.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://thomasmathiesen.wordpress.com/osd.xml" title="Thomas Mathiesen&#039;s Blog" />
	<atom:link rel='hub' href='http://thomasmathiesen.wordpress.com/?pushpress=hub'/>
		<item>
		<title>SSH authorized_keys command per key</title>
		<link>http://thomasmathiesen.wordpress.com/2009/12/17/ssh-authorized_keys-command-per-key/</link>
		<comments>http://thomasmathiesen.wordpress.com/2009/12/17/ssh-authorized_keys-command-per-key/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 11:06:28 +0000</pubDate>
		<dc:creator>thomasmathiesen</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://thomasmathiesen.wordpress.com/2009/12/17/ssh-authorized_keys-command-per-key/</guid>
		<description><![CDATA[Almost Christmas and we&#8217;ve got some snow here in The Netherlands!!!! Ever wanted to authenticate ssh using keys, but allowing only a specific command to be run? It&#8217;s actually very easy: Forced command If the options phrase at the beginning of a line (in authorized_keys) contains the keyword command=&#8221;string&#8221;, then any ssh connection that authenticates [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=53&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Almost Christmas and we&#8217;ve got some snow here in The Netherlands!!!!</p>
<p>Ever wanted to authenticate ssh using keys, but allowing only a specific command to be run? It&#8217;s actually very easy:</p>
<p>Forced command</p>
<p>If the options phrase at the beginning of a line (in authorized_keys) contains the keyword command=&#8221;string&#8221;, then any ssh connection that authenticates using that particular key will only run the command specified, even if the command line it was given specified another command. </p>
<p>Nice <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thomasmathiesen.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thomasmathiesen.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thomasmathiesen.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thomasmathiesen.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thomasmathiesen.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thomasmathiesen.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thomasmathiesen.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thomasmathiesen.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thomasmathiesen.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thomasmathiesen.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thomasmathiesen.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thomasmathiesen.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thomasmathiesen.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thomasmathiesen.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=53&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thomasmathiesen.wordpress.com/2009/12/17/ssh-authorized_keys-command-per-key/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/307657d9859fa5e97a1e3768cd14e36e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasmathiesen</media:title>
		</media:content>
	</item>
		<item>
		<title>CentOS 5.3 and Acer Power 1000</title>
		<link>http://thomasmathiesen.wordpress.com/2009/11/22/centos-5-3-and-acer-power-1000/</link>
		<comments>http://thomasmathiesen.wordpress.com/2009/11/22/centos-5-3-and-acer-power-1000/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 17:16:18 +0000</pubDate>
		<dc:creator>thomasmathiesen</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://thomasmathiesen.wordpress.com/?p=47</guid>
		<description><![CDATA[Ever come across a Acer Power 1000 not wanting to run CentOS 5.3 installer? It just hangs? Well, enter this at the prompt: linux noapic acpi=off ..and it works<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=47&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ever come across a Acer Power 1000 not wanting to run CentOS 5.3 installer? It just hangs?<br />
Well, enter this at the prompt: linux noapic acpi=off</p>
<p>..and it works <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thomasmathiesen.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thomasmathiesen.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thomasmathiesen.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thomasmathiesen.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thomasmathiesen.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thomasmathiesen.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thomasmathiesen.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thomasmathiesen.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thomasmathiesen.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thomasmathiesen.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thomasmathiesen.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thomasmathiesen.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thomasmathiesen.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thomasmathiesen.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=47&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thomasmathiesen.wordpress.com/2009/11/22/centos-5-3-and-acer-power-1000/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/307657d9859fa5e97a1e3768cd14e36e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasmathiesen</media:title>
		</media:content>
	</item>
		<item>
		<title>Careful with Carparc in Haaksbergen (NL)</title>
		<link>http://thomasmathiesen.wordpress.com/2009/11/20/warning-careful-with-carparc-in-haaksbergen-nl/</link>
		<comments>http://thomasmathiesen.wordpress.com/2009/11/20/warning-careful-with-carparc-in-haaksbergen-nl/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 09:38:32 +0000</pubDate>
		<dc:creator>thomasmathiesen</dc:creator>
				<category><![CDATA[Life in general]]></category>
		<category><![CDATA[carparc]]></category>

		<guid isPermaLink="false">http://thomasmathiesen.wordpress.com/?p=41</guid>
		<description><![CDATA[We&#8217;re looking for a new car, and Kia Sorento seems to be the best choice for us and the to-be-born baby. Trying to get a good car for a good price has taken us on quite a trip around The Netherlands. Here&#8217;s a story about one of the dealers we visited&#8230; My wife and I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=41&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>We&#8217;re looking for a new car</strong>, and Kia Sorento seems to be the best choice for us and the to-be-born baby. Trying to get a good car for a good price has taken us on quite a trip around The Netherlands. <strong>Here&#8217;s a story about one of the dealers we visited&#8230;</strong></p>
<p>My wife and I drove 2 hours (from The Hague) to <a href="http://www.carparc.nl">Carparc</a> (Haaksbergen) and had a look at a Kia Sorento.</p>
<p>..and then my story ends because..</p>
<p><strong>Reviewing Carparc got us a fax from their lawyer, threatening to take us to court!!</strong> I still believe that it should be allowed to give your opinion about dealers and their behavior, but I simply do not want to have to get a lawyer to prove my case.</p>
<p>So, my new review is: I do not like Carparc due to their attitude and they will send a lawyer if you try to write a negative review.. Saying this can&#8217;t be illegal?</p>
<p>Cheers<br />
/Thomas Mathiesen</p>
<p>&nbsp;</p>
<p><strong>January 5th 2012 (UPDATE)</strong></p>
<p>Good news: The company Carparc went bankrupt in September 2010!! <a href="http://www.automotive-online.nl/home/7760-carparc_oost_failliet.html">Here is some info in Dutch.</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thomasmathiesen.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thomasmathiesen.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thomasmathiesen.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thomasmathiesen.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thomasmathiesen.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thomasmathiesen.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thomasmathiesen.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thomasmathiesen.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thomasmathiesen.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thomasmathiesen.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thomasmathiesen.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thomasmathiesen.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thomasmathiesen.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thomasmathiesen.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=41&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thomasmathiesen.wordpress.com/2009/11/20/warning-careful-with-carparc-in-haaksbergen-nl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/307657d9859fa5e97a1e3768cd14e36e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasmathiesen</media:title>
		</media:content>
	</item>
		<item>
		<title>Centos:Xen cannot connect to console</title>
		<link>http://thomasmathiesen.wordpress.com/2009/09/28/centosxen-cannot-connect-to-console/</link>
		<comments>http://thomasmathiesen.wordpress.com/2009/09/28/centosxen-cannot-connect-to-console/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 09:21:06 +0000</pubDate>
		<dc:creator>thomasmathiesen</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://thomasmathiesen.wordpress.com/?p=38</guid>
		<description><![CDATA[I have seen a nasty issue with Xen; trying to connect to a vm guest console, and it spits out this error: [root@server ~]# xm console myserver xenconsole: Could not open tty `/dev/pts/4&#8242;: No such file or directory The problem is fixed by running xenconsoled command /Thomas<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=38&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have seen a nasty issue with Xen; trying to connect to a vm guest console, and it spits out this error:</p>
<p>[root@server ~]# xm console myserver<br />
xenconsole: Could not open tty `/dev/pts/4&#8242;: No such file or directory</p>
<p>The problem is fixed by running xenconsoled command <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>/Thomas</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thomasmathiesen.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thomasmathiesen.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thomasmathiesen.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thomasmathiesen.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thomasmathiesen.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thomasmathiesen.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thomasmathiesen.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thomasmathiesen.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thomasmathiesen.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thomasmathiesen.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thomasmathiesen.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thomasmathiesen.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thomasmathiesen.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thomasmathiesen.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=38&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thomasmathiesen.wordpress.com/2009/09/28/centosxen-cannot-connect-to-console/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/307657d9859fa5e97a1e3768cd14e36e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasmathiesen</media:title>
		</media:content>
	</item>
		<item>
		<title>KVM USB passthrough</title>
		<link>http://thomasmathiesen.wordpress.com/2009/09/26/kvm-usb-passthrough/</link>
		<comments>http://thomasmathiesen.wordpress.com/2009/09/26/kvm-usb-passthrough/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 16:28:26 +0000</pubDate>
		<dc:creator>thomasmathiesen</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://thomasmathiesen.wordpress.com/?p=34</guid>
		<description><![CDATA[This is just a note to self.. as I sometimes need to access USB devices on a KVM virtual guest. This time it&#8217;s actually for a freaking Scandisk USB device with something called U3. I need to use the USB stick to install easypeasy on my asus eeepc.. and I need to use the USB [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=34&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is just a note to self.. as I sometimes need to access USB devices on a KVM virtual guest. This time it&#8217;s actually for a freaking Scandisk USB device with something called U3. I need to use the USB stick to install easypeasy on my asus eeepc.. and I need to use the USB stick as a normal stick &#8230;<br />
<a href="http://david.wragg.org/blog/2009/03/using-usb-pass-through-under-libvirt.html">See this page for instructions</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thomasmathiesen.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thomasmathiesen.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thomasmathiesen.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thomasmathiesen.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thomasmathiesen.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thomasmathiesen.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thomasmathiesen.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thomasmathiesen.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thomasmathiesen.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thomasmathiesen.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thomasmathiesen.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thomasmathiesen.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thomasmathiesen.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thomasmathiesen.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=34&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thomasmathiesen.wordpress.com/2009/09/26/kvm-usb-passthrough/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/307657d9859fa5e97a1e3768cd14e36e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasmathiesen</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu 9.04 + KVM + Networking</title>
		<link>http://thomasmathiesen.wordpress.com/2009/06/30/ubuntu-9-04-kvm-networking/</link>
		<comments>http://thomasmathiesen.wordpress.com/2009/06/30/ubuntu-9-04-kvm-networking/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 19:42:11 +0000</pubDate>
		<dc:creator>thomasmathiesen</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://thomasmathiesen.wordpress.com/?p=32</guid>
		<description><![CDATA[KVM seems to be the hot thing for the future, so I had to dig into it.. giving up VMWare and Virtualbox (keeping Xen knowledge as I work with it daily). KVM with virtual manager is a breeze on Ubuntu 9.04, but if you want bridging it&#8217;s a whole different story. So, here&#8217;s a note-to-self; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=32&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>KVM seems to be the hot thing for the future, so I had to dig into it.. giving up VMWare and Virtualbox (keeping Xen knowledge as I work with it daily).</p>
<p>KVM with virtual manager is a breeze on Ubuntu 9.04, but if you want bridging it&#8217;s a whole different story.</p>
<p>So, here&#8217;s a note-to-self;</p>
<p>1. Setup br0 on Ubuntu (https://help.ubuntu.com/community/KVM)<br />
2. Add your user to group libvirt and tun (create if needed)<br />
3. run virsh<br />
4. dump xml file of virtual guest<br />
5. change from &#8216;user&#8217; to &#8216;bridge&#8217;:</p>
<p>6. import xml (define /path/to/xml/file)<br />
7. start virtual machine</p>
<p>ta-ta</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thomasmathiesen.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thomasmathiesen.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thomasmathiesen.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thomasmathiesen.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thomasmathiesen.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thomasmathiesen.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thomasmathiesen.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thomasmathiesen.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thomasmathiesen.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thomasmathiesen.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thomasmathiesen.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thomasmathiesen.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thomasmathiesen.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thomasmathiesen.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=32&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thomasmathiesen.wordpress.com/2009/06/30/ubuntu-9-04-kvm-networking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/307657d9859fa5e97a1e3768cd14e36e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasmathiesen</media:title>
		</media:content>
	</item>
		<item>
		<title>borther mfc-5490cn unknown option calibration-cache</title>
		<link>http://thomasmathiesen.wordpress.com/2009/06/30/borther-mfc-5490cn-unknown-option-calibration-cache/</link>
		<comments>http://thomasmathiesen.wordpress.com/2009/06/30/borther-mfc-5490cn-unknown-option-calibration-cache/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 18:29:47 +0000</pubDate>
		<dc:creator>thomasmathiesen</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://thomasmathiesen.wordpress.com/?p=29</guid>
		<description><![CDATA[Brother is really linux friendly, but using gscan2pdf is a bit of a pain when you have a webcam and two scanners. My canon has an option called &#8220;calibration-cache&#8221;, which Brother doesn&#8217;t understand. If you run Ubuntu and gscan2pdf, just do this to get rid of the problem: 1. Open gscan2pdf 2. Click &#8220;scan&#8221; 3. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=29&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Brother is really linux friendly, but using gscan2pdf is a bit of a pain when you have a webcam and two scanners.</p>
<p>My canon has an option called &#8220;calibration-cache&#8221;, which Brother doesn&#8217;t understand. If you run Ubuntu and gscan2pdf, just do this to get rid of the problem:</p>
<p>1. Open gscan2pdf<br />
2. Click &#8220;scan&#8221;<br />
3. If the new window starts by showing the canon scanner, change that to Brother.<br />
4. Try to scan.. you will probably see the error &#8220;unknown option&#8230;&#8221;.<br />
5. Close gscan2pdf and start it again..</p>
<p>After restarting gscan2pdf, it&#8217;ll default to the Brother scanner if that was the last one that you had chosen.. and only the Brother options are loaded.</p>
<p>Happy Linux&#8217;ing <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>/Thomas</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thomasmathiesen.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thomasmathiesen.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thomasmathiesen.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thomasmathiesen.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thomasmathiesen.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thomasmathiesen.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thomasmathiesen.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thomasmathiesen.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thomasmathiesen.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thomasmathiesen.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thomasmathiesen.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thomasmathiesen.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thomasmathiesen.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thomasmathiesen.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=29&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thomasmathiesen.wordpress.com/2009/06/30/borther-mfc-5490cn-unknown-option-calibration-cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/307657d9859fa5e97a1e3768cd14e36e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasmathiesen</media:title>
		</media:content>
	</item>
		<item>
		<title>Expanding xen disk file image</title>
		<link>http://thomasmathiesen.wordpress.com/2009/05/10/expanding-xen-disk-file-image/</link>
		<comments>http://thomasmathiesen.wordpress.com/2009/05/10/expanding-xen-disk-file-image/#comments</comments>
		<pubDate>Sun, 10 May 2009 13:10:34 +0000</pubDate>
		<dc:creator>thomasmathiesen</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://thomasmathiesen.wordpress.com/?p=23</guid>
		<description><![CDATA[If you run out of diskspace on a xen virtual machine (guest), it&#8217;s quite easy to expand the image file. I stole this receipt from here, just to make sure that I have a copy in case his/her website goes offline: 1. Stop the virtual server that is using the loop filesystem 2. Add some [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=23&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you run out of diskspace on a xen virtual machine (guest), it&#8217;s quite easy to expand the image file. I stole this receipt from <a href="http://mediakey.dk/~cc/howto-resize-xen-loop-disk-image/">here</a>, just to make sure that I have a copy in case his/her website goes offline:</p>
<p>1. Stop the virtual server that is using the loop filesystem<br />
2. Add some extra space to your loop filesystem file<br />
# dd if=/dev/zero bs=1024k count=1024 &gt;&gt; loop_image_file</p>
<p>This adds 1GB to the end of a file called loop_image_file (make sure to use the append output redirector &gt;&gt; not a single &gt;, otherwise you’ll have an empty 1GB file!)</p>
<p>3. Force a check on the resized/increased filesystem<br />
# e2fsck -f loop_image_file</p>
<p>4. Resize the filesystem within the loop filesystem file<br />
# resize2fs loop_image_file</p>
<p>5. Start the virtual server again</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thomasmathiesen.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thomasmathiesen.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thomasmathiesen.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thomasmathiesen.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thomasmathiesen.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thomasmathiesen.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thomasmathiesen.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thomasmathiesen.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thomasmathiesen.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thomasmathiesen.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thomasmathiesen.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thomasmathiesen.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thomasmathiesen.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thomasmathiesen.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=23&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thomasmathiesen.wordpress.com/2009/05/10/expanding-xen-disk-file-image/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/307657d9859fa5e97a1e3768cd14e36e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasmathiesen</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding poweroff icon to Gnome desktop</title>
		<link>http://thomasmathiesen.wordpress.com/2009/04/30/adding-poweroff-icon-to-gnome-desktop/</link>
		<comments>http://thomasmathiesen.wordpress.com/2009/04/30/adding-poweroff-icon-to-gnome-desktop/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 19:43:23 +0000</pubDate>
		<dc:creator>thomasmathiesen</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://thomasmathiesen.wordpress.com/?p=20</guid>
		<description><![CDATA[I have been trying to add a &#8220;shutdown icon&#8221; to the gnome desktop on Ubuntu 8.10. The goal is for the user to just double-click that icon, and the machine shuts down. My issue was that triggering the /sbin/poweroff binary would only ask for my password: myuser@mydesktop:/tmp$ sudo /sbin/poweroff password: So, I added myself to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=20&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been trying to add a &#8220;shutdown icon&#8221; to the gnome desktop on Ubuntu 8.10. The goal is for the user to just double-click that icon, and the machine shuts down.<br />
My issue was that triggering the /sbin/poweroff binary would only ask for my password:</p>
<p>myuser@mydesktop:/tmp$ sudo /sbin/poweroff<br />
password:</p>
<p>So, I added myself to the /etc/sudoers file:<br />
myuser   ALL = NOPASSWD: /sbin/poweroff</p>
<p>and it simply DID NOT work!</p>
<p>I came across a post telling me why&#8230;<br />
The reason is that /etc/sudoers is being read from the bottom and up. So, I was in a group that was mentioned on the bottom, which required passwords for everything. Now I move the line (myuser   ALL = NOPASSWD: /sbin/poweroff) to the bottom of the file, and my gnome launcher works fine!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thomasmathiesen.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thomasmathiesen.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thomasmathiesen.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thomasmathiesen.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thomasmathiesen.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thomasmathiesen.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thomasmathiesen.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thomasmathiesen.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thomasmathiesen.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thomasmathiesen.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thomasmathiesen.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thomasmathiesen.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thomasmathiesen.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thomasmathiesen.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=20&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thomasmathiesen.wordpress.com/2009/04/30/adding-poweroff-icon-to-gnome-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/307657d9859fa5e97a1e3768cd14e36e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasmathiesen</media:title>
		</media:content>
	</item>
		<item>
		<title>CentOS Xen: Error: 4 Out of memory</title>
		<link>http://thomasmathiesen.wordpress.com/2009/04/28/centos-xen-error-4-out-of-memory/</link>
		<comments>http://thomasmathiesen.wordpress.com/2009/04/28/centos-xen-error-4-out-of-memory/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 21:23:03 +0000</pubDate>
		<dc:creator>thomasmathiesen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://thomasmathiesen.wordpress.com/?p=10</guid>
		<description><![CDATA[CentOS + Xen is driving me nuts! I came across a nasty issue, which makes me (try to) pull my hair: xm create -c whateverdomain Some pygrub output&#8230; and then.. Error: (4, &#8216;Out of memory&#8217;, &#8220;xc_dom_boot_mem_init: can&#8217;t allocate low memory for domain\n&#8221;). Googling this for a few hours and actually trying different distros (even trying [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=10&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>CentOS + Xen is driving me nuts! I came across a nasty issue, which makes me (try to) pull my hair:</p>
<p>xm create -c whateverdomain<br />
Some pygrub output&#8230;<br />
and then.. Error: (4, &#8216;Out of memory&#8217;, &#8220;xc_dom_boot_mem_init: can&#8217;t allocate low memory for domain\n&#8221;).</p>
<p>Googling this for a few hours and actually trying different distros (even trying out Lenny!) gave me nothing. One post (that I finally found) says this issue maybe caused by trying to start an image (created on a 64 bit Xen) on a 32bit Xen.</p>
<p>So now I am installing CentOS 5.3 64bit on my Vaio laptop. It comes with a Centrino (Core 2 Duo I believe). </p>
<p>and runs like a charm <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thomasmathiesen.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thomasmathiesen.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thomasmathiesen.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thomasmathiesen.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thomasmathiesen.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thomasmathiesen.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thomasmathiesen.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thomasmathiesen.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thomasmathiesen.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thomasmathiesen.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thomasmathiesen.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thomasmathiesen.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thomasmathiesen.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thomasmathiesen.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomasmathiesen.wordpress.com&amp;blog=7542155&amp;post=10&amp;subd=thomasmathiesen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thomasmathiesen.wordpress.com/2009/04/28/centos-xen-error-4-out-of-memory/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/307657d9859fa5e97a1e3768cd14e36e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasmathiesen</media:title>
		</media:content>
	</item>
	</channel>
</rss>
