<?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/"
	>

<channel>
	<title>seife's assorted rants</title>
	<atom:link href="http://seife.kernalert.de/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://seife.kernalert.de/blog</link>
	<description>Move on, nothing to see here.</description>
	<pubDate>Mon, 19 Jul 2010 08:44:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Nifty dnsmasq Trick: Reverse Lookup using a specific Server</title>
		<link>http://seife.kernalert.de/blog/2010/06/22/nifty-dnsmasq-trick-reverse-lookup-using-a-specific-server/</link>
		<comments>http://seife.kernalert.de/blog/2010/06/22/nifty-dnsmasq-trick-reverse-lookup-using-a-specific-server/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 12:46:58 +0000</pubDate>
		<dc:creator>seife</dc:creator>
		
		<category><![CDATA[linux]]></category>

		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=268</guid>
		<description><![CDATA[With dnsmasq, it&#8217;s easy to look up a whole domain using a special dns server. The option is
   --server=/foo.corp/10.11.12.13
This will look up everything &#8220;*.foo.corp&#8221; using nameserver 10.11.12.13. So far, so good. But today I also needed the reverse lookup for a specific IP adress zone to be done via a specific nameserver. Reading [...]]]></description>
			<content:encoded><![CDATA[<p>With <code>dnsmasq</code>, it&#8217;s easy to look up a whole domain using a special dns server. The option is</p>
<pre>   --server=/foo.corp/10.11.12.13</pre>
<p>This will look up everything &#8220;*.foo.corp&#8221; using nameserver 10.11.12.13. So far, so good. But today I also needed the reverse lookup for a specific IP adress zone to be done via a specific nameserver. Reading the manpage, I found no option for that, but then I remembered stuff that I had learnt in a distant past: that reverse lookups are actually a name lookup of the in-addr.arpa zone, with the &#8220;reversed&#8221; IP address. So I tried</p>
<pre>  --server=/10.in-addr.arpa/10.11.12.13</pre>
<p>and that one works fine, looking up everything 10.x.x.x using 10.11.12.13.</p>
<p>And it still was much easier than using ugly bind. That&#8217;s why I prefer dnsmasq in daily use over bind, dhcpd and all the other crap. It just works <img src='http://seife.kernalert.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://seife.kernalert.de/blog/2010/06/22/nifty-dnsmasq-trick-reverse-lookup-using-a-specific-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rebuilding a single kernel module</title>
		<link>http://seife.kernalert.de/blog/2010/04/28/rebuilding-a-single-kernel-module/</link>
		<comments>http://seife.kernalert.de/blog/2010/04/28/rebuilding-a-single-kernel-module/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 12:21:41 +0000</pubDate>
		<dc:creator>seife</dc:creator>
		
		<category><![CDATA[linux]]></category>

		<category><![CDATA[openSUSE]]></category>

		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=257</guid>
		<description><![CDATA[Due to Bug 596844, I had to rebuild the i915 module with a patch. I have done things like that quite often over the last years, and every time I have to dig through the documentation, so I&#8217;ll put it up here in the hope that I&#8217;ll find it easier in the future and that [...]]]></description>
			<content:encoded><![CDATA[<p>Due to <a href="http://bugzilla.novell.com/show_bug.cgi?id=596844">Bug 596844</a>, I had to rebuild the i915 module with a patch. I have done things like that quite often over the last years, and every time I have to dig through the documentation, so I&#8217;ll put it up here in the hope that I&#8217;ll find it easier in the future and that it might be useful for somebody else <img src='http://seife.kernalert.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>There are only a few steps, following the README.SUSE in the kernel-source package:</p>
<ul>
<li>install the <tt>kernel-syms</tt> and <tt>kernel-source</tt> packages</li>
<li>copy the kernel sources to some other place where you have write access as a normal user (this is not in the README, but I hate doing stuff like that as root, so I&#8217;m doing it anyway)</li>
<li>patch the source</li>
<li>build the module</li>
</ul>
<p>Or, as an almost-copy&#8217;n'pasteable list of commands:</p>
<pre>cd /tmp
cp -a /usr/src/linux/ . # do not only copy the symlink <img src='http://seife.kernalert.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />
cd linux/drivers/gpu/drm/i915/
patch < /tmp/i915-nofbc.diff # your diff
make -C /usr/src/linux-obj/x86_64/desktop M=$(pwd)
ls -l i915.ko</pre>
<p>You need to adjust the directory given to &#8220;make -C&#8221; to your desired kernel flavour, of course, but that&#8217;s it. Copy the module over to /lib/modules and reboot (I usually save the old module somewhere else, in case something goes wrong, but you probably figured that out already).</p>
]]></content:encoded>
			<wfw:commentRss>http://seife.kernalert.de/blog/2010/04/28/rebuilding-a-single-kernel-module/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Android sucks bigtime</title>
		<link>http://seife.kernalert.de/blog/2010/04/17/android-sucks-bigtime/</link>
		<comments>http://seife.kernalert.de/blog/2010/04/17/android-sucks-bigtime/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 08:36:37 +0000</pubDate>
		<dc:creator>seife</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=251</guid>
		<description><![CDATA[So there&#8217;s my brand new Motorola Milestone, with Android 2.1
Yes, it has Bluetooth.
Yes, it has WiFi.
Yes, it has USB.
But can you use Bluetooth for anything useful (DUN or PAN/NAP)? No. (I think I even had to install an &#8220;app&#8221; first for it to be able to receive OBEX Push&#8230;)
Can you use it as a WiFi [...]]]></description>
			<content:encoded><![CDATA[<p>So there&#8217;s my brand new Motorola Milestone, with Android 2.1<br />
Yes, it has Bluetooth.<br />
Yes, it has WiFi.<br />
Yes, it has USB.<br />
But can you use Bluetooth for anything useful (DUN or PAN/NAP)? No. (I think I even had to install an &#8220;app&#8221; first for it to be able to receive OBEX Push&#8230;)<br />
Can you use it as a WiFi access point / router?  No.<br />
Can you get IP connection via the USB port? No.</p>
<p>Short: there is no way you can use the mobile Internet connection of your Phone e.g. with a laptop. That&#8217;s something my (really crappy) Sony Ericsson K600i did more than 5 years ago. And almost every other phone since the availability of GPRS, even back when the connection was via IRDA and not Bluetooth.</p>
<p>So the Milestone (and probably almost every other Android phone) is a clumsy, heavy, but mostly useless brick.</p>
<p>I honestly don&#8217;t care if there are &#8220;apps&#8221; (of course at additional cost and most of them crap, or requiring that I first hack the phone for root access) that can enable functionality that should definitely be there from the start.</p>
<p>I probably should have insisted on getting a N900 instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://seife.kernalert.de/blog/2010/04/17/android-sucks-bigtime/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Followup: Accounts in Claws-Mail</title>
		<link>http://seife.kernalert.de/blog/2010/04/14/followup-accounts-in-claws-mail/</link>
		<comments>http://seife.kernalert.de/blog/2010/04/14/followup-accounts-in-claws-mail/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 07:48:45 +0000</pubDate>
		<dc:creator>seife</dc:creator>
		
		<category><![CDATA[linux]]></category>

		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=247</guid>
		<description><![CDATA[Just to let everyone know that it was me being blind and not Claws-Mail lacking the function to rearrange the Folder list. As Paul pointed out in his comment on my post, there is &#8220;File -> Change Folder Order&#8221;, pretty much on top of all other options. So no need to pull out your favourite [...]]]></description>
			<content:encoded><![CDATA[<p>Just to let everyone know <a href="http://seife.kernalert.de/blog/2010/04/11/rearranging-accounts-in-claws-mail/trackback/">that it was me being blind</a> and not Claws-Mail lacking the function to rearrange the Folder list. As Paul pointed out in his comment on my post, there is &#8220;File -> Change Folder Order&#8221;, pretty much on top of all other options. So no need to pull out your favourite editor and mess around with XML files <img src='http://seife.kernalert.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>(Sometimes I&#8217;m wondering why I am not finding easy stuff like that anymore. My wife or children would probably have found it immediately. Maybe I&#8217;m not looking hard enough, because I&#8217;m not expecting it to be there? Maybe I&#8217;m just spoiled by 10 Years of using console tools for almost everything? I know that I tried to drag and drop the accounts, even though I do not really like drag-n-drop for such configuration changes, because it could happen accidentally. Or, in other words, the &#8220;Change Folder Order&#8221; menu entry is pretty well matching my personal taste of how such things should be implemented, but I did not find it anyway. Am I the usability designers nightmare after all? Who knows <img src='http://seife.kernalert.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> )</p>
]]></content:encoded>
			<wfw:commentRss>http://seife.kernalert.de/blog/2010/04/14/followup-accounts-in-claws-mail/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Claws-Mail trick of the day: plugins</title>
		<link>http://seife.kernalert.de/blog/2010/04/12/claws-mail-trick-of-the-day-plugins/</link>
		<comments>http://seife.kernalert.de/blog/2010/04/12/claws-mail-trick-of-the-day-plugins/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 14:51:07 +0000</pubDate>
		<dc:creator>seife</dc:creator>
		
		<category><![CDATA[linux]]></category>

		<category><![CDATA[openSUSE]]></category>

		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=240</guid>
		<description><![CDATA[Today I found another useful trick for claws-mail users. I switched from an old i586 machine to a brand new x86-64 thinkpad. I copied my $HOME over. Then I wondered, where all my claws-mail plugins had gone.
Starting it from the command line showed (wrapped for your reading pleasure):
** (claws-mail:9938): WARNING **: plugin loading error:
  [...]]]></description>
			<content:encoded><![CDATA[<p>Today I found another useful trick for claws-mail users. I switched from an old i586 machine to a brand new x86-64 thinkpad. I copied my $HOME over. Then I wondered, where all my claws-mail plugins had gone.</p>
<p>Starting it from the command line showed (wrapped for your reading pleasure):</p>
<pre>** (claws-mail:9938): WARNING **: plugin loading error:
   /usr/lib/claws-mail/plugins/rssyl.so:
   cannot open shared object file:
   No such file or directory</pre>
<p>Uhm, yes. This is an 64bit system, so the plugins are installed in /usr/lib64/claws-mail/&#8230;<br />
Two possible solutions to the problem came into my mind.</p>
<ul>
<li>creating a softlink from /usr/lib64/claws-mail to /usr/lib/claws-mail</li>
<li>changing the configuration</li>
</ul>
<p>The second method was actually easier, and is probably more future-proof (If I reinstall the machine, I might forget to create that link&#8230;)</p>
<p>I checked the config file in <code>~/.claws-mail/clawsrc</code> and found a section</p>
<pre>[Plugins_GTK2]
/usr/lib/claws-mail/plugins/rssyl.so
/usr/lib/claws-mail/plugins/pgpcore.so
/usr/lib/claws-mail/plugins/smime.so
/usr/lib/claws-mail/plugins/pgpmime.so
/usr/lib/claws-mail/plugins/pgpinline.so</pre>
<p>I simply duplicated the plugins and substituted /usr/lib with /usr/lib64. As a result, I now get the &#8220;plugin loading error&#8221;-lines on both machines, because the i586 can only find the plugins in /usr/lib and the x86-64 only those in /usr/lib64, but since claws-mail does not really care and just works, I also just ignore them.</p>
<p>It will be interesting what happens once I use the GUI to add another plugin, but I will care for that when it happens <img src='http://seife.kernalert.de/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://seife.kernalert.de/blog/2010/04/12/claws-mail-trick-of-the-day-plugins/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rearranging Accounts in Claws-Mail</title>
		<link>http://seife.kernalert.de/blog/2010/04/11/rearranging-accounts-in-claws-mail/</link>
		<comments>http://seife.kernalert.de/blog/2010/04/11/rearranging-accounts-in-claws-mail/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 21:02:00 +0000</pubDate>
		<dc:creator>seife</dc:creator>
		
		<category><![CDATA[linux]]></category>

		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=232</guid>
		<description><![CDATA[I recently added a new account to my Claws-Mail configuration. That account will soon become one of my main accounts, so I was not happy about it being shown on the bottom of the folder list, below all my less important accounts.
Using the GUI, I could not find a way to move it around. I [...]]]></description>
			<content:encoded><![CDATA[<p>I recently added a new account to my <a href="http://www.claws-mail.org/">Claws-Mail</a> configuration. That account will soon become one of my main accounts, so I was not happy about it being shown on the bottom of the folder list, below all my less important accounts.<br />
Using the GUI, I could not find a way to move it around. I already thought about manually changing the configuration, editing all the  references for all accounts.<br />
Fortunately, when looking around the <code>~/.claws-mail</code> directory that contains everything, I found <code>folderlist.xml</code> which is an easy to understand (and edit) XML file that describes how the folders are displayed. I did no fancy stuff, just moved the &lt;folder type=&#8221;imap&#8221;&#8230;&gt; &#8230; &lt;/folder&gt; block, that corresponds to the new account up to the first place and voilá &#8212; it works.<br />
BTW: Claws-Mail is still my favourite email client after using it for over a year - that clearly is a new record <img src='http://seife.kernalert.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://seife.kernalert.de/blog/2010/04/11/rearranging-accounts-in-claws-mail/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PAN/NAP made even easier&#8230;</title>
		<link>http://seife.kernalert.de/blog/2010/03/23/pannap-made-even-easier/</link>
		<comments>http://seife.kernalert.de/blog/2010/03/23/pannap-made-even-easier/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 09:17:15 +0000</pubDate>
		<dc:creator>seife</dc:creator>
		
		<category><![CDATA[KDE4]]></category>

		<category><![CDATA[UMTS]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[openSUSE]]></category>

		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=225</guid>
		<description><![CDATA[I wrote last year about how to use bluetooth networking to connect to the internet via a mobile phone. Since then, I had heard rumours that NetworkManager was now able to do this as well, but I actually never managed to find out how to do that (admittedly, I never looked too hard).
Today I checked [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote last year <a href="http://seife.kernalert.de/blog/2009/08/10/using-pannap-instead-of-rfcommppd/trackback/">about how to use bluetooth networking to connect to the internet via a mobile phone</a>. Since then, I had heard rumours that NetworkManager was now able to do this as well, but I actually never managed to find out how to do that (admittedly, I never looked too hard).<br />
Today I checked again.<br />
Since those are the &#8220;reference implementations&#8221;, I started GNOME&#8217;s nm-applet and bluetooth-applet instead of knetworkmanager and kbluetooth. I still could not find anything related to bluetooth in nm-applet&#8217;s UI. Then I looked a bit farther and found <a href="http://blogs.gnome.org/dcbw/2009/07/10/unwire-with-networkmanager/">Dan Williams&#8217; post about it</a>.<br />
Long story short: I deleted my phone from bluetooth-applet&#8217;s &#8220;known hosts&#8221; and re-paired it again. There it asked me if I want to access the internet via my mobile phone, which I confirmed. After that, nm-applet has now an entry for &#8220;PANU&#8221; which is the Phone&#8217;s connection.<br />
Working well and pretty cool, too. One more workaround that&#8217;s not needed anymore.</p>
<p>For completeness, I also tried to remove and pair the phone with kbluetooth, but apart from it not working at all (never asking for a PIN), it also did not ask for the internet connection stuff. So for now, if you want Bluetooth networking, just use nm-applet and bluetooth-applet.</p>
]]></content:encoded>
			<wfw:commentRss>http://seife.kernalert.de/blog/2010/03/23/pannap-made-even-easier/feed/</wfw:commentRss>
		</item>
		<item>
		<title>$HOME full? WTF?</title>
		<link>http://seife.kernalert.de/blog/2010/01/27/home-full-wtf/</link>
		<comments>http://seife.kernalert.de/blog/2010/01/27/home-full-wtf/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 16:33:23 +0000</pubDate>
		<dc:creator>seife</dc:creator>
		
		<category><![CDATA[KDE4]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[openSUSE]]></category>

		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=178</guid>
		<description><![CDATA[Today I discovered that my $HOME was nearly full. My machine has only moderate space for the encrypted /home partition, but there were almost 2GB free until a few days ago, so I decided to look where the space went.
It was easy: ~/.xsession-errors was over 1,5GB. I looked who was wanting to tell me lots [...]]]></description>
			<content:encoded><![CDATA[<p>Today I discovered that my $HOME was nearly full. My machine has only moderate space for the encrypted /home partition, but there were almost 2GB free until a few days ago, so I decided to look where the space went.</p>
<p>It was easy: ~/.xsession-errors was over 1,5GB. I looked who was wanting to tell me lots of important stuff and found out that about every KDE4 program produced several debug lines, almost every second.<br />
Since I doubt that anybody will ever want to look at 1,5GB logfiles, I just decided to redirect it to /dev/null in /usr/bin/startkde. Now only my submitrequest number 30607 needs to be accepted into KDE:KDE4:Factory:Desktop, so that everyone benefits from this solution.</p>
<p>Note: it took 15 days for the logfile to get that big, but to be honest: I don&#8217;t want to reboot every two weeks, only to keep KDE4 from crapping my home directory.<br />
Second Note: <strong>If</strong> there had been any significant updates in FACTORY in the last two months, I would probably not even have noticed the problem, but there were none <img src='http://seife.kernalert.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://seife.kernalert.de/blog/2010/01/27/home-full-wtf/feed/</wfw:commentRss>
		</item>
		<item>
		<title>More KDE4 rants</title>
		<link>http://seife.kernalert.de/blog/2009/12/19/more-kde4-rants/</link>
		<comments>http://seife.kernalert.de/blog/2009/12/19/more-kde4-rants/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 21:01:53 +0000</pubDate>
		<dc:creator>seife</dc:creator>
		
		<category><![CDATA[KDE4]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[openSUSE]]></category>

		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=173</guid>
		<description><![CDATA[Seeing that I apparently hit a nerve for some people with my last post, here is the next thing that really annoys me every day in KDE4.
Notifications.
Those ugly passive pop-ups that appear on the display near the area where you have configured the &#8220;system tray&#8221; to be on the panels. From the beginning they were [...]]]></description>
			<content:encoded><![CDATA[<p>Seeing that I apparently hit a nerve for some people with my last post, here is the next thing that really annoys me every day in KDE4.</p>
<p>Notifications.</p>
<p>Those ugly passive pop-ups that appear on the display near the area where you have configured the &#8220;system tray&#8221; to be on the panels. From the beginning they were an example of uglyness. After quite some time they at least stopped to be drawn one over the other, so they are no longer totally unusable, but they still are not pretty.<br />
One example: most of them are too small, so that the text they should show me gets cut off and I have to guess what the system wants to tell me.</p>
<p>As much as I detest GNOME, their unobtrusive notifications in the lower right corner are much more stylish and less disturbing than the KDE4 ones.</p>
<p>And it is not QT&#8217;s fault: a proprietary application like skype, using QT, can do it in almost the same way as GNOME, so it is definitely possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://seife.kernalert.de/blog/2009/12/19/more-kde4-rants/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Programs using the root window considered obsolete in KDE4</title>
		<link>http://seife.kernalert.de/blog/2009/12/19/programs-using-the-root-window-considered-obsolete-in-kde4/</link>
		<comments>http://seife.kernalert.de/blog/2009/12/19/programs-using-the-root-window-considered-obsolete-in-kde4/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 13:59:52 +0000</pubDate>
		<dc:creator>seife</dc:creator>
		
		<category><![CDATA[KDE4]]></category>

		<category><![CDATA[kids]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[openSUSE]]></category>

		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=170</guid>
		<description><![CDATA[See https://bugs.kde.org/show_bug.cgi?id=219249. Unfortunately this means that my wife and kids will not get upgraded to KDE4 once I&#8217;ll replace their 11.0 installations but will probably get GNOME instead. Because no xsnow (for my wife) and no xpenguins (for my kids) - that&#8217;s just not an option.
]]></description>
			<content:encoded><![CDATA[<p>See <a href="https://bugs.kde.org/show_bug.cgi?id=219249">https://bugs.kde.org/show_bug.cgi?id=219249</a>. Unfortunately this means that my wife and kids will not get upgraded to KDE4 once I&#8217;ll replace their 11.0 installations but will probably get GNOME instead. Because no xsnow (for my wife) and no xpenguins (for my kids) - that&#8217;s just not an option.</p>
]]></content:encoded>
			<wfw:commentRss>http://seife.kernalert.de/blog/2009/12/19/programs-using-the-root-window-considered-obsolete-in-kde4/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
