<?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>blog.gauner.org &#187; Linux</title>
	<atom:link href="http://blog.gauner.org/category/computer/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.gauner.org</link>
	<description>"When the power of love overcomes the love of power, the world will know peace." - Sri Chinmoy Ghose</description>
	<lastBuildDate>Wed, 07 Jul 2010 10:40:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>mini-buildd and Linux-Vserver</title>
		<link>http://blog.gauner.org/blog/2010/07/07/mini-buildd-and-linux-vserver/</link>
		<comments>http://blog.gauner.org/blog/2010/07/07/mini-buildd-and-linux-vserver/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 10:39:56 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualisierung]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=1027</guid>
		<description><![CDATA[After discovering mini-buildd, a tiny Debian buildd, I&#8217;ve tried to set it up inside some vservers. mini-buildd uses LVM-Snapshots to avoid duplicate work when creating build chroots. I will setup a base debian chroot once and create a snapshot each time a build chroot is needed. This, however, is where the fun begins. The problem [...]]]></description>
			<content:encoded><![CDATA[<p>After discovering mini-buildd, a tiny Debian buildd, I&#8217;ve tried to set it up inside some vservers. mini-buildd uses LVM-Snapshots to avoid duplicate work when creating build chroots. I will setup a base debian chroot once and create a snapshot each time a build chroot is needed. This, however, is where the fun begins. The problem is that Linux-Vserver prevents its guests from performing most of the syscalls and ioctls needed by lvm2.</p>
<p><strong>I didn&#8217;t manage to get the setup fully working so far but I wanted to share my experience in case anyone tries the same!</strong></p>
<p>The basic setup of mini-buildd is quiet easy. I&#8217;ve decided for a setup with three versers, one for the repository, one buildd for amd64 and ond buildd for i386.</p>
<p><span id="more-1027"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">vs-buildd-rep - 192.168.10.1
vs-buildd-amd64 - 192.168.10.2
vs-buildd-i386 - 192.168.10.3</pre></div></div>

<p>First we need to create these vservers:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">newvserver <span style="color: #660033;">--ip</span> 192.168.10.1<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span> <span style="color: #660033;">--domain</span> localdomain <span style="color: #660033;">--hostname</span> vs-buildd-rep <span style="color: #660033;">--vsroot</span> <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">--mirror</span> http:<span style="color: #000000; font-weight: bold;">//</span>ftp.de.debian.org<span style="color: #000000; font-weight: bold;">/</span>debian <span style="color: #660033;">--interface</span> eth0 <span style="color: #660033;">--dist</span> lenny <span style="color: #660033;">--arch</span> amd64
newvserver <span style="color: #660033;">--ip</span> 192.168.10.2<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span> <span style="color: #660033;">--domain</span> localdomain <span style="color: #660033;">--hostname</span> vs-buildd-amd64 <span style="color: #660033;">--vsroot</span> <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">--mirror</span> http:<span style="color: #000000; font-weight: bold;">//</span>ftp.de.debian.org<span style="color: #000000; font-weight: bold;">/</span>debian <span style="color: #660033;">--interface</span> eth0 <span style="color: #660033;">--dist</span> lenny <span style="color: #660033;">--arch</span> amd64
newvserver <span style="color: #660033;">--ip</span> 192.168.10.3<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span> <span style="color: #660033;">--domain</span> localdomain <span style="color: #660033;">--hostname</span> vs-buildd-i386 <span style="color: #660033;">--vsroot</span> <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">--mirror</span> http:<span style="color: #000000; font-weight: bold;">//</span>ftp.de.debian.org<span style="color: #000000; font-weight: bold;">/</span>debian <span style="color: #660033;">--interface</span> eth0 <span style="color: #660033;">--dist</span> lenny <span style="color: #660033;">--arch</span> i386</pre></div></div>

<p>After installing the vservers we need make some adjustments for LVM and set some capabilities:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>loop<span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>control <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SECURE_MOUNT&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>ccapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SECURE_REMOUNT&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>ccapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;ADMIN_CLOOP&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>ccapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;ADMIN_MAPPER&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>ccapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;MKNOD&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>bcapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SYS_RESOURCE&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>bcapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SYS_ADMIN&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-amd64<span style="color: #000000; font-weight: bold;">/</span>bcapabilities
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>loop<span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>control <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SECURE_MOUNT&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>ccapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SECURE_REMOUNT&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt;  <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>ccapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;ADMIN_CLOOP&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>ccapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;ADMIN_MAPPER&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>ccapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;MKNOD&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>bcapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SYS_RESOURCE&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>bcapabilities
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SYS_ADMIN&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vserver<span style="color: #000000; font-weight: bold;">/</span>vs-buildd-i386<span style="color: #000000; font-weight: bold;">/</span>bcapabilities</pre></div></div>

<p><span style="color: #ff0000"><strong>Please note that these capabilities give the vs-buildd guests pretty much control over the host, so be careful how far you trust your buildds!</strong></span></p>
<p><span style="color: #000000">Now start the vservers, fix some broken defaults, upgrade to squeeze and install the requried packages. </span></p>
<p>When editing the sources.list you should replace all occurences of lenny by squeeze like so:</p>
<blockquote><p>:%s/lenny/squeeze/g</p></blockquote>
<p>The reason for not installing squeeze directly with newvserver is that, at the time of this writing, newvserver can not handle squeeze.</p>
<p><span style="color: #000000">For the repository vserver:<br />
</span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">vserver vs-buildd-rep start
vserver vs-buildd-rep enter
update-rc.d cron defaults; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>cron start; <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>sources.list; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> update <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> apt <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> updgrade; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> dist-upgrade; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> mini-buildd-rep <span style="color: #c20cb9; font-weight: bold;">vim</span> htop <span style="color: #c20cb9; font-weight: bold;">screen</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span> exim4
a2endmod userdir
dpkg-reconfigure tzdata
dpkg-reconfigure locales
dpkg-reconfigure exim4-config</pre></div></div>

<p>The Vservers need some way of sending mail, so the best would be to setup a mailserver somewhere, e.g. in the host, and then confiure it as a smarthost inside the vservers.</p>
<p>The next one is the amd64 buildd:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">vserver vs-buildd-amd64 start
vserver vs-buildd-amd64 enter
dpkg-reconfigure locales; update-rc.d cron defaults; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>cron start; <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>sources.list; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> update <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> apt <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> updgrade; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> dist-upgrade; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> mini-buildd-bld <span style="color: #c20cb9; font-weight: bold;">vim</span> htop <span style="color: #c20cb9; font-weight: bold;">screen</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span> exim4
a2endmod userdir
dpkg-reconfigure tzdata
dpkg-reconfigure exim4-config</pre></div></div>

<p>And the same for i386:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">vserver vs-buildd-i386 start
vserver vs-buildd-i386 enter
dpkg-reconfigure locales; update-rc.d cron defaults; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>cron start; <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>sources.list; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> update <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> apt <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> updgrade; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> dist-upgrade; <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> mini-buildd-bld <span style="color: #c20cb9; font-weight: bold;">vim</span> htop <span style="color: #c20cb9; font-weight: bold;">screen</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span> exim4
a2endmod userdir
dpkg-reconfigure tzdata
dpkg-reconfigure exim4-config</pre></div></div>

<p>The setup of the mini-buildd is a bit tricky since the repository and the buildds depend on each other. So after performing the above steps you&#8217;ll probably need to reconfigure each.</p>
<ul>
<li>in vs-buildd-rep: dpkg-reconfigure mini-buildd-rep</li>
<li>in vs-buildd-amd64 and vs-buildd-i386: dpkg-reconfigure mini-buildd-bld</li>
</ul>
<h2>To be continued!</h2>
<p>Thats it for now. Howevery, so far I didn&#8217;t manage to get the buildds working. There are still some issues with the LVs. I&#8217;ll update this post as soon as I figure out how to fix this.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2010/07/07/mini-buildd-and-linux-vserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KDE4.4: Getting rid of Akonadi-MySQL Startup Errors</title>
		<link>http://blog.gauner.org/blog/2010/03/14/kde4-4-getting-rid-of-akonadi-mysql-startup-errors/</link>
		<comments>http://blog.gauner.org/blog/2010/03/14/kde4-4-getting-rid-of-akonadi-mysql-startup-errors/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 11:44:30 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[akonadi]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=997</guid>
		<description><![CDATA[Since upgrading to KDE4.4 I&#8217;ve got startup errors each time Akonadi was started due to some missing MySQL system tables. It&#8217;s easy to fix this: akonadictl stop mysql_install_db --datadir=$HOME/.local/share/akonadi/db_data akonadictl start And don&#8217;t forget to install akonadi-kde-resource-googledata. Thanks to Trumpton.]]></description>
			<content:encoded><![CDATA[<p>Since upgrading to <a href="http://qt-kde.debian.net/">KDE4.4</a> I&#8217;ve got startup errors each time Akonadi was started due to some missing MySQL system tables.</p>
<p>It&#8217;s easy to fix this:</p>
<pre class="bash">akonadictl stop
mysql_install_db  --datadir=$HOME/.local/share/akonadi/db_data
akonadictl start</pre>
<p>And don&#8217;t forget to install <a href="http://packages.debian.org/sid/akonadi-kde-resource-googledata">akonadi-kde-resource-googledata</a>. Thanks to <a href="http://blog.trumpton.org.uk/2010/02/kontact-gmail-sync-with-akonadi.html">Trumpton</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2010/03/14/kde4-4-getting-rid-of-akonadi-mysql-startup-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Voyage Linux on an ALIX.2D13</title>
		<link>http://blog.gauner.org/blog/2010/02/25/voyage-linux-on-an-alix-2d13/</link>
		<comments>http://blog.gauner.org/blog/2010/02/25/voyage-linux-on-an-alix-2d13/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 19:02:06 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[alix]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[voyage]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=978</guid>
		<description><![CDATA[I&#8217;ve just spent far too much time trying to install voyage linux on my new ALIX.2D13. Everything was fine, the only problem was that I did try to use GRUB and that wasn&#8217;t working. After changing to LILO it works like a charm. The problem is probably caused by a huge version gap between etch [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just spent far too much time trying to install voyage linux on my new ALIX.2D13. Everything was fine, the only problem was that I did try to use GRUB and that wasn&#8217;t working. After changing to LILO it works like a charm. The problem is probably caused by a huge version gap between etch and sid. Etch has some something like 0.9x and sid 1.9x. I thought that the Voyage installer would use the shipped grub inside a chroot. Anyway, LILO works and this is fine. I have no special requirements for this box&#8217;s bootmanager. As soon as everything is set up and tested the box is going to be deployed.</p>
<p>The installation of voyage linux itself is covered in detail in the <a href="http://linux.voyage.hk/content/getting-started-v05x">Getting Started guide</a>.</p>
<p>Very usefull information <a href="http://www.networksoul.net/2009/08/setting-up-a-linux-home-server-based-on-a-low-cost-and-low-power-hardware-pc-engines-alix-%E2%80%93-part1/">can be found at</a> <a href="http://www.networksoul.net/2009/08/debian-lenny-image-file-pc-engines-alix-2dx-download/">networksoul</a> and this <a href="https://wiki.ctdo.de/wiki/Projekte/Alix">chaos wiki.</a></p>
<p>I recommend picocom to connect to the serial console:</p>
<blockquote><p>picocom &#8211;baud 38400 &#8211;flow n &#8211;databits 8 /dev/ttyUSB0</p></blockquote>
<p>If your computer doesn&#8217;t have a serial port anymore, like mine, I recommend the LogiLink &#8220;USB2.0 to Serial Adapter&#8221; (UA0043 v.2.0). It&#8217;s cheap and works flawlessly. Another great LogiLink product I can reommend in this context is the LogiLink &#8220;USB2.0 Aluminum All-in-one Card Reader&#8221; (CR0001B v.2.0). Why I mention these two here? I find it hard to find cheap linux compatible adapters of which I know that they work on linux, so here is the information I would have like had before I bought those. The USB-Serial-Adapter is recognized as &#8220;Prolific Technology, Inc. PL2303 Serial Port&#8221;. The Card-Reader is shown as four separate drives.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2010/02/25/voyage-linux-on-an-alix-2d13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DS18S20: CRC Error</title>
		<link>http://blog.gauner.org/blog/2010/02/24/ds18s20-crc-error/</link>
		<comments>http://blog.gauner.org/blog/2010/02/24/ds18s20-crc-error/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 20:50:44 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[1wire]]></category>
		<category><![CDATA[digitemp]]></category>
		<category><![CDATA[ds18s20]]></category>
		<category><![CDATA[ds2940]]></category>
		<category><![CDATA[home automation]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[sensor]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=975</guid>
		<description><![CDATA[I just got me some DS18S20 (1-wire Temperature sensors) and a DS2940 (1-wire to USB adapter). The first two did work like a charm, but the third one gave me CRC errors. CRC Failed. CRC is 63 instead of 0&#215;00 The reason was just that, after running the first two for a while, I did [...]]]></description>
			<content:encoded><![CDATA[<p>I just got me some DS18S20 (1-wire Temperature sensors) and a DS2940 (1-wire to USB adapter). The first two did work like a charm, but the third one gave me CRC errors.</p>
<blockquote><p>CRC Failed. CRC is 63 instead of 0&#215;00</p></blockquote>
<p>The reason was just that, after running the first two for a while, I did just disconnect them and attached the thrid one. My mistake was not to delete/re-initialize the .digitemprc. After moving the .digitemprc out of the way and re-initializing the new one the thrid one did also work.</p>
<p>Show all devices on the 1-wire bus:</p>
<blockquote><p>digitemp_DS2490 -sUSB -w</p></blockquote>
<p>Initialize the .digitemprc:</p>
<blockquote><p>digitemp_DS2490 -sUSB -i</p></blockquote>
<p>Read all sensors:</p>
<blockquote><p>digitemp -sUSB -a -r750</p></blockquote>
<p>Thanks to <a href="http://marc.merlins.org/perso/homeha/2009-12.html">Marc</a> for the hint.</p>
<p>Some usefull links:</p>
<ul>
<li><a href="http://www.arbeitsplatzvernichtung-durch-outsourcing.de/marty44/rrdtool.html">RRDTool</a></li>
<li><a href="http://lena.franken.de/hardware/temperaturmessung.html">Temperaturmessung mit Linux (German)</a></li>
</ul>
<p>Here are some pictures of my 1-wire bus:</p>
<p><a href="http://blog.gauner.org/wp-content/uploads/2010/02/ow-assmbly.jpg"><img class="aligncenter size-thumbnail wp-image-986" title="1-wire Assembly" src="http://blog.gauner.org/wp-content/uploads/2010/02/ow-assmbly-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://blog.gauner.org/wp-content/uploads/2010/02/ow-superwires.jpg"><img class="aligncenter size-thumbnail wp-image-988" title="1-wire Connecting" src="http://blog.gauner.org/wp-content/uploads/2010/02/ow-superwires-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://blog.gauner.org/wp-content/uploads/2010/02/ow-wiring.jpg"><img class="aligncenter size-thumbnail wp-image-989" title="1-wire Wiring" src="http://blog.gauner.org/wp-content/uploads/2010/02/ow-wiring-150x150.jpg" alt="" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2010/02/24/ds18s20-crc-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qt 4.6.2 ready to upload</title>
		<link>http://blog.gauner.org/blog/2010/02/18/qt-4-6-2-ready-to-upload/</link>
		<comments>http://blog.gauner.org/blog/2010/02/18/qt-4-6-2-ready-to-upload/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 11:35:49 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=971</guid>
		<description><![CDATA[It looks like Qt 4.6.2 is ready to upload. That means the upload of KDE 4.4 to Debian unstable should be very close.]]></description>
			<content:encoded><![CDATA[<p>It looks like <a href="http://lists.debian.org/debian-release/2010/02/msg00187.html">Qt 4.6.2 is ready to upload</a>. That means the upload of KDE 4.4 to Debian unstable should be very close.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2010/02/18/qt-4-6-2-ready-to-upload/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving Root-FS to Crypto-Raid</title>
		<link>http://blog.gauner.org/blog/2010/02/09/moving-root-fs-to-crypto-raid/</link>
		<comments>http://blog.gauner.org/blog/2010/02/09/moving-root-fs-to-crypto-raid/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 20:05:00 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[cryptsetup]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[luks]]></category>
		<category><![CDATA[lvm]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[root]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=951</guid>
		<description><![CDATA[Have you ever tried to move your Debian root filesystem to a RAID? Ok, no problem so far. What about LVM-on-RAID? Still no trouble? Then what about Root-on-LVM-on-Crypto-on-RAID? Sounds funny. Debian has several helpscripts which are able to create a suitable initrd file for this kind of setup. This is good and bad at the [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever tried to move your Debian root filesystem to a RAID? Ok, no problem so far. What about LVM-on-RAID? Still no trouble? Then what about Root-on-LVM-on-Crypto-on-RAID? Sounds funny. Debian has several helpscripts which are able to create a suitable initrd file for this kind of setup. This is good and bad at the same time. The good thing is that they can detect a correct setup and create an appropriate initrd. The bad about this is that it won&#8217;t work if you just moving your system to this kind of setup. Imagine you&#8217;re still on an ordinary partition without all this fancy crypto, raid and LVM stuff. If you just execute update-initramfs -k &lt;kernel&gt; -u/-c the initramfs tools and the supplied hook scripts won&#8217;t know about your intentions. So you&#8217;ll have to create a full equipped chroot, set everything up like it would be on a realy Root-on-LVM-on-Crypto-on-RAID-System and run update-initramfs there. Of course you could build the initrd by hand, but I&#8217;m not going this <a href="http://en.gentoo-wiki.com/wiki/Root_filesystem_over_LVM2,_DM-Crypt_and_RAID">Gentoo way</a>.</p>
<p>So, what do you have to do? First you&#8217;ll have to create your RAID, luks Volume and LVM on top of each other. See the Gentoo tutorial above for these steps. This should be pretty straight forward. The interesting part starts as soon as you try to boot from your new root. If you did follow the tutorial you should have a working Grub but it won&#8217;t be able to boot your system since it can&#8217;t unlock your root fs.</p>
<p>So, after you&#8217;re back into your good ol&#8217; system setup the chroot. This includes assembling the RAID, unlocking your luks Volume and mounting the LV. So these are the steps, assuming sane defaults for folders, partitions and device names:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mdadm <span style="color: #660033;">--assemble</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>md2 <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdc2 <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdd2
cryptsetup luksOpen <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>md2 cryptoroot
pvscan
vgchange <span style="color: #660033;">-ay</span> vg
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-t</span> ext3 <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>vg-root <span style="color: #000000; font-weight: bold;">/</span>mnt
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-t</span> ext2 <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdc1 <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>boot
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-t</span> proc proc <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>proc
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">--bind</span> <span style="color: #000000; font-weight: bold;">/</span>dev <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>dev
<span style="color: #007800;">LANG</span>=C <span style="color: #c20cb9; font-weight: bold;">chroot</span> <span style="color: #000000; font-weight: bold;">/</span>mnt <span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">bash</span></pre></div></div>

<p>So, now you&#8217;re inside your proper chroot. You could just run update-initramfs, but that&#8217;ll probably fail. You need to setup mdadm first and create your crypttab.</p>
<p>Your /etc/mdadm/mdadm.conf should at least contain the partitions to scan and your array.</p>
<p>The command mdadm &#8211;detail &#8211;scan &gt;&gt;Â  /etc/mdadm/mdadm.conf should do it. But verify the file yourself!</p>
<p>Next you have to tell the mdadm-initramfs-script to start this array on boot. This is set in the file /etc/default/mdadm. Insert the full name of your array (e.g. /dev/md2) into the INITRDSTART variable in this file.</p>
<p>Now define a proper crypttab and you should be ready to create a working initrd. Make your crypttab look something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">cryptorootÂ Â  <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>md2Â  noneÂ  luks,<span style="color: #007800;">tries</span>=<span style="color: #000000;">3</span></pre></div></div>

<p>Just generate a new initramfs, update grub (if necessary) and reboot.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">update-initramfs <span style="color: #660033;">-k</span> all <span style="color: #660033;">-u</span>
update-grub</pre></div></div>

<p>In case you encounter any error let me know, I&#8217;ll try to help.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2010/02/09/moving-root-fs-to-crypto-raid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KDE 4.4 is ready!</title>
		<link>http://blog.gauner.org/blog/2010/02/04/kde-4-4-is-ready/</link>
		<comments>http://blog.gauner.org/blog/2010/02/04/kde-4-4-is-ready/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 19:16:05 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=948</guid>
		<description><![CDATA[A few minutes ago KDE 4.4 was tagged in the SVN. Soon the package maintainers will start building binary packages and hopefully they will arive in Debian sid soon. I can&#8217;t wait to try out the new Akonadi-powered KDE-PIM packages and the improved plasma shell. Let&#8217;s see which other features will be presented in the [...]]]></description>
			<content:encoded><![CDATA[<p>A few minutes ago <a href="http://websvn.kde.org/tags/KDE/4.4.0/">KDE 4.4 was tagged in the SVN</a>. Soon the package maintainers will start building binary packages and hopefully they will arive in Debian sid soon. I can&#8217;t wait to try out the new Akonadi-powered KDE-PIM packages and the improved plasma shell.</p>
<p>Let&#8217;s see which other features will be presented in the release notes.</p>
<p><strong>Update</strong>: The Announcement on dot.kde.org is out:Â  <a href="http://dot.kde.org/2010/02/09/kde-software-compilation-440-released">KDE Software Compilation 4.4.0 Introduces Netbook Interface, Window Tabbing and Authentication Framework</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2010/02/04/kde-4-4-is-ready/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Groupware with Kontact</title>
		<link>http://blog.gauner.org/blog/2009/11/30/groupware-with-kontact/</link>
		<comments>http://blog.gauner.org/blog/2009/11/30/groupware-with-kontact/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 12:41:35 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=914</guid>
		<description><![CDATA[Kontact, a part of the Kolab project, has some very nice Groupware features that were presented on the MK09. Fortunately most of these are very well usable even without a Kolab server. Unfortunately these are not so well documented (or the documentation is not very easy to find). When trying out these features in noticed [...]]]></description>
			<content:encoded><![CDATA[<p>Kontact, a part of the Kolab project, has some very nice Groupware features that were presented on the MK09.</p>
<p>Fortunately most of these are very well usable even without a Kolab server.</p>
<p>Unfortunately these are not so well documented (or the documentation is not very easy to find).</p>
<p>When trying out these features in noticed that the groupware features will only work properly (at least with Kontact from KDE 4.3) if you access your mailbox via &#8220;Disconnected IMAP&#8221;. If you fail to do so you&#8217;ll probably get an &#8220;Write access denied&#8221; error.</p>
<p>Please note, that Kontact is very unstable sometimes, but again, this depends heavily on the version of Kontact/KDE you use. My experience is based on KDE 4.3 from Debian unstable.</p>
<p>Right, it is called unstable for a reason &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2009/11/30/groupware-with-kontact/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPv6 Revisited</title>
		<link>http://blog.gauner.org/blog/2009/09/12/ipv6-revisited/</link>
		<comments>http://blog.gauner.org/blog/2009/09/12/ipv6-revisited/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 11:36:20 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=907</guid>
		<description><![CDATA[I&#8217;ve been following the IPv6 development for a while now and have looked at most IPv6 stuff. Today I did take a look at the Teredo proctoll and I&#8217;m impressed how well it works. Really nice. Try out Miredo on Linux or BSD.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been following the IPv6 development for a while now and have looked at most IPv6 stuff. Today I did take a look at the Teredo proctoll and I&#8217;m impressed how well it works. Really nice. Try out Miredo on Linux or BSD.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2009/09/12/ipv6-revisited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fonic, UMTS and Debian lenny on the EeePC</title>
		<link>http://blog.gauner.org/blog/2009/07/11/fonic-umts-and-debian-lenny-on-the-eeepc/</link>
		<comments>http://blog.gauner.org/blog/2009/07/11/fonic-umts-and-debian-lenny-on-the-eeepc/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 17:16:56 +0000</pubDate>
		<dc:creator>tex</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.gauner.org/?p=899</guid>
		<description><![CDATA[Recently I&#8217;ve got an EeePC 1000HE and lately also an UMTS-Stick, the Fonic Surf-Stick (a Huawei E160). I&#8217;ve read before that many people got this UMTS-Stick running on Linux, some even with Fonic, but none of them &#8211; it seems &#8211; used Debian lenny. Most were using Ubuntu which ships the Network-Manager &#62; 0.7 which [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve got an EeePC 1000HE and lately also an UMTS-Stick, the Fonic Surf-Stick (a Huawei E160). I&#8217;ve read before that many people got this UMTS-Stick running on Linux, some even with Fonic, but none of them &#8211; it seems &#8211; used Debian lenny. Most were using Ubuntu which ships the Network-Manager &gt; 0.7 which is capable of connecting to 3G-Networks. Unfortunately this version of Network-Manager is not available for Debian stable. There are Backports but they are not available for i386 at the time of this writing.</p>
<p>There are several way of getting your Netbook &#8220;on-the-air&#8221;:</p>
<ul>
<li><a href="http://linux.die.net/man/8/pppd">pppd</a> / Kppp / <a href="http://www.kde4.de/?p=635">wvdial</a> &#8211; I <a href="http://forum.ubuntuusers.de/topic/umts-hsupa-karte-nicht-einsatzbereit/">didn&#8217;t succeed</a> with those. But the best choice seems to be <a href="http://forum.archlinux.de/?page=Postings;id=20;thread=12755">wvdial</a> which almost got me connected. PPPd failed without given any helpful output.</li>
<li><a href="http://www.linux-community.de/Internal/Nachrichten/Fonic-Surf-Stick-unter-OpenSuse-und-auf-dem-Eee-PC-nutzen">UMTSMon</a> &#8211; This looks like a great tool, but it didn&#8217;t manage to get the connection running. It seemed to PPPd&#8217;s fault, though.</li>
<li><a href="http://packages.debian.org/lenny-backports/network-manager">Network-Manager 0.7 and newer</a> &#8211; Many people report to have no Problem whatsoever with this application, but it was not available for my system. Update: I did just verify my assumption: The Stick works flawlessly on Ubuntu with the Network Manager 0.7.0.100. It took less than 30 seconds to get a working connection.</li>
<li><a href="https://forge.betavine.net/projects/vodafonemobilec/">Vodafone Mobile Connect</a> &#8211; This is very nice tool which works great. Not only is it able to detect the E160 Stick, it also has a very nice UI.</li>
</ul>
<p>Here is a quick step-by-step instruction how to get online with your &#8220;Fonic Surf-Stick&#8221; on Debian lenny:</p>
<ul>
<li>Boot your system, don&#8217;t connect the Stick yet.</li>
<li>When logged in connect the Stick.</li>
<li>Start Vodafone Mobile Connect, grab it from <a href="https://forge.betavine.net/frs/?group_id=12">betavine</a> before.</li>
<li>It will recognize your Stick as an Huawei E220 although it is a E160, but this doesn&#8217;t seem to matter.</li>
<li>Enter pinternet.interkom.de as APN, Username and Password can be left empty or use &#8220;fonic&#8221; for both. You should set the preferend connection type to &#8220;3G prefered&#8221; and <a href="http://www.basicthinking.de/blog/2008/10/13/fonic-surf-stick-und-asus-eeelinux/">use static DNS</a> (195.182.96.28 and 195.182.96.61).</li>
<li>Mobile Connect will ask for your PIN it is needed.</li>
<li>Get a sufficient connection strength and click &#8220;Connect&#8221; in the UI. You should be online within a few seconds. If the connection fails, first try to get a better connection (just move the UMTS-Stick a bit around).</li>
</ul>
<p>Please note that I&#8217;m running a custom Kernel (2.6.30) and thus didn&#8217;t need to use usb_modeswitch. If you&#8217;re running an older Kernel you&#8217;ll probably need to install an <a href="http://forum.ubuntuusers.de/topic/fonic-stick-unter-ubuntu/">configure usb_modeswitch</a> to get access to the modem part of the stick.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauner.org/blog/2009/07/11/fonic-umts-and-debian-lenny-on-the-eeepc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
