<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Vollkorn in Australien - technique</title>
    <link>http://vollkorn.cryptobitch.de/</link>
    <description>Ein fallspezifischer Eindruck eines Auslandssemesters in Australien</description>
    <dc:language>de</dc:language>
    <generator>Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <pubDate>Mon, 10 May 2010 17:52:36 GMT</pubDate>

    <image>
        <url>http://vollkorn.cryptobitch.de/templates/bulletproof/img/s9y_banner_small.png</url>
        <title>RSS: Vollkorn in Australien - technique - Ein fallspezifischer Eindruck eines Auslandssemesters in Australien</title>
        <link>http://vollkorn.cryptobitch.de/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>HowTo compile MeshLab from source on Ubuntu Lucid 10.04</title>
    <link>http://vollkorn.cryptobitch.de/index.php?/archives/96-HowTo-compile-MeshLab-from-source-on-Ubuntu-Lucid-10.04.html</link>
            <category>technique</category>
    
    <comments>http://vollkorn.cryptobitch.de/index.php?/archives/96-HowTo-compile-MeshLab-from-source-on-Ubuntu-Lucid-10.04.html#comments</comments>
    <wfw:comment>http://vollkorn.cryptobitch.de/wfwcomment.php?cid=96</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://vollkorn.cryptobitch.de/rss.php?version=2.0&amp;type=comments&amp;cid=96</wfw:commentRss>
    

    <author>nospam@example.com (Jan Girlich)</author>
    <content:encoded>
    &lt;p&gt;I want to use the latest MeshLab from source because of an annoying bug which makes it impossible to use MeshLab with any locale setting where &amp;quot;,&amp;quot; is used instead of &amp;quot;.&amp;quot; as decimal separator. Like my German one.&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;I mainly followed this extensive HowTo: &lt;a href=&quot;http://meshlab.sourceforge.net/wiki/index.php/Compiling_devel#Getting_the_sources&quot;&gt;http://meshlab.sourceforge.net/wiki/index.php/Compiling_devel#Getting_the_sources&lt;/a&gt; and I used this advise: http://byeworld.blogspot.com/2009/01/libf2cso-undefined-reference-to-main.html&lt;br /&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;Here you find the most important steps in a short instruction set.&lt;/p&gt; &lt;br /&gt;
&lt;address&gt;$ sudo apt-get install qt4-qmake libqt4-dev build-essential lib3ds-dev &lt;br /&gt;libbz2-dev liblapack-dev libf2c2-dev libmuparser-dev&lt;br /&gt;$ cd MyWorkFolder&lt;br /&gt;$ svn co &lt;br /&gt;https://meshlab.svn.sourceforge.net/svnroot/meshlab/trunk/meshlab &lt;br /&gt;meshlab&lt;br /&gt;$ svn co &lt;br /&gt;https://vcg.svn.sourceforge.net/svnroot/vcg/trunk/vcglib vcglib&lt;br /&gt;$ wget http://www.ics.forth.gr/~lourakis/levmar/levmar-2.5.tgz&lt;br /&gt;$ tar -xzf levmar-2.5.tgz&lt;br /&gt;$ cd levmar-2.5/&lt;br /&gt;$ sudo rm /usr/lib/libf2c.so &amp;amp;&amp;amp; sudo ln -s /usr/lib/libf2c.a &lt;br /&gt;/usr/lib/libf2c.so&lt;br /&gt;$ make&lt;br /&gt;$ mkdir ../meshlab/src/external/lib/linux-g++&lt;br /&gt;$ cd ../meshlab/src/external/lib/linux-g++&lt;br /&gt;$ ln -s ../../../../../levmar-2.5/liblevmar.a liblevmar.a&lt;br /&gt;$ ln -s /usr/lib/lib3ds.a lib3ds.a&lt;br /&gt;$ ln -s /usr/lib/libbz2.a libbz2.a&lt;br /&gt;$ ln -s /usr/lib/libmuparser.so libmuparser.a&lt;br /&gt;$ cd ../../..&lt;br /&gt;$ qmake -recursive meshlabv12.pro&lt;br /&gt;$ make&lt;/address&gt; &lt;br /&gt;
&lt;p&gt;Now create a little shell script e.g. meshlab.sh and adjust your paths:&lt;/p&gt; &lt;br /&gt;
&lt;p&gt; &lt;/p&gt; &lt;br /&gt;
&lt;p&gt; &lt;/p&gt; &lt;br /&gt;
&lt;p&gt;#!/bin/bash&lt;br /&gt;export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/jan/workspace/meshlab/meshlab/src/distrib&lt;br /&gt;LC_ALL=&amp;quot;C&amp;quot; MALLOC_CHECK_=2 /home/jan/workspace/meshlab/meshlab/src/distrib/meshlab &amp;quot;$@&amp;quot;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Make it executable and enjoy&lt;br /&gt;&lt;/p&gt; &lt;br /&gt;
&lt;address&gt;$ chmod +x meshlab.sh&lt;br /&gt;$ ./meshlab.sh&lt;/address&gt; 
    </content:encoded>

    <pubDate>Fri, 07 May 2010 23:35:56 +0200</pubDate>
    <guid isPermaLink="false">http://vollkorn.cryptobitch.de/index.php?/archives/96-guid.html</guid>
    
</item>
<item>
    <title>HowTo use jGnucashLib to import PayPal transactions to GnuCash on Ubuntu</title>
    <link>http://vollkorn.cryptobitch.de/index.php?/archives/95-HowTo-use-jGnucashLib-to-import-PayPal-transactions-to-GnuCash-on-Ubuntu.html</link>
            <category>technique</category>
    
    <comments>http://vollkorn.cryptobitch.de/index.php?/archives/95-HowTo-use-jGnucashLib-to-import-PayPal-transactions-to-GnuCash-on-Ubuntu.html#comments</comments>
    <wfw:comment>http://vollkorn.cryptobitch.de/wfwcomment.php?cid=95</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://vollkorn.cryptobitch.de/rss.php?version=2.0&amp;type=comments&amp;cid=95</wfw:commentRss>
    

    <author>nospam@example.com (Jan Girlich)</author>
    <content:encoded>
    &lt;p&gt;Urgh, got stuck at a bug. Too late to finish it tonight. So here you go with a few bulletpoints of the progress so far.&lt;br /&gt;&lt;br /&gt;If you don&#039;t use HBCI you might just grab the current stable release since you&#039;re not affected by:&lt;br /&gt;&lt;br /&gt;
http://sourceforge.net/apps/mantisbt/jgnucashlib/view.php?id=18&lt;br /&gt; &lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Else download and extract jGnucashlib:&lt;br /&gt;http://jgnucashlib.svn.sourceforge.net/viewvc/jgnucashlib.tar.gz?view=tar&lt;br /&gt;&lt;br /&gt;Make buildme executable:&lt;br /&gt;chmod +x buildme&lt;br /&gt;&lt;br /&gt;Change the java path to fit your system. For me it was:&lt;br /&gt;export JAVA_HOME=/usr/lib/jvm/java-6-sun/&lt;br /&gt;&lt;br /&gt;Run buildme (takes a few minutes):&lt;br /&gt;./buildme&lt;br /&gt;&lt;/p&gt;  &lt;br /&gt;
&lt;p&gt;Open the right file when jGnucashLibGui starts (not in .gnucash/books/ but wherever you actually saved your file)&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Be annoyed and give up in the end anyway because of:&lt;br /&gt;http://sourceforge.net/apps/mantisbt/jgnucashlib/view.php?id=19&lt;br /&gt;&lt;br /&gt;Good night!&lt;br /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sat, 10 Apr 2010 01:11:20 +0200</pubDate>
    <guid isPermaLink="false">http://vollkorn.cryptobitch.de/index.php?/archives/95-guid.html</guid>
    
</item>
<item>
    <title>How I solved my Ubuntu Karmic 9.10 ALSA OpenAL Sound problems</title>
    <link>http://vollkorn.cryptobitch.de/index.php?/archives/90-How-I-solved-my-Ubuntu-Karmic-9.10-ALSA-OpenAL-Sound-problems.html</link>
            <category>technique</category>
    
    <comments>http://vollkorn.cryptobitch.de/index.php?/archives/90-How-I-solved-my-Ubuntu-Karmic-9.10-ALSA-OpenAL-Sound-problems.html#comments</comments>
    <wfw:comment>http://vollkorn.cryptobitch.de/wfwcomment.php?cid=90</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>http://vollkorn.cryptobitch.de/rss.php?version=2.0&amp;type=comments&amp;cid=90</wfw:commentRss>
    

    <author>nospam@example.com (Jan Girlich)</author>
    <content:encoded>
    &lt;p&gt;I was suffering from a soundproblem on my fresh Ubuntu Karmic installation. All programs using OpenAL would stop playing sound and start to play scratchy sounds until sound drops completely out. Plus those programs will hang when trying to shut them down. For example OpenArena and Warzone2100 are affected which comes really hard to me &lt;img src=&quot;http://vollkorn.cryptobitch.de/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;I tried a lot of different things with little success. Most solutions only helped for a moment until the problems came back. I think it&#039;s just that it works a little while after a reboot. Basically I don&#039;t know what really fixed the problem, but these changes here are in efffect right now and work for me.&lt;br /&gt;&lt;/p&gt; &lt;br /&gt;
&lt;ol&gt; &lt;br /&gt;
&lt;li&gt;Add this PPAs and upgrade ALSA to the newest version in there&lt;br /&gt;sudo add-apt-repository ppa:stesind-alsa-21&lt;br /&gt;sudo apt-get update&lt;br /&gt;sudo apt-get upgrade&lt;br /&gt;&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;Also install the ALSA driver backports&lt;br /&gt;apt-get install linux-backports-modules-alsa-karmic-generic&lt;/li&gt; &lt;br /&gt;
&lt;/ol&gt;Now you should have the newest ALSA running and sound should work again. I also applied some tweaks for HDA intel chipsets but I believe these don&#039;t do much of a difference. If you ask me to I&#039;ll provide these steps, too.&lt;br /&gt; 
    </content:encoded>

    <pubDate>Sat, 19 Dec 2009 00:09:47 +0100</pubDate>
    <guid isPermaLink="false">http://vollkorn.cryptobitch.de/index.php?/archives/90-guid.html</guid>
    
</item>
<item>
    <title>Using a guitar pick as a stylus for your OpenMoko Freerunner</title>
    <link>http://vollkorn.cryptobitch.de/index.php?/archives/89-Using-a-guitar-pick-as-a-stylus-for-your-OpenMoko-Freerunner.html</link>
            <category>technique</category>
    
    <comments>http://vollkorn.cryptobitch.de/index.php?/archives/89-Using-a-guitar-pick-as-a-stylus-for-your-OpenMoko-Freerunner.html#comments</comments>
    <wfw:comment>http://vollkorn.cryptobitch.de/wfwcomment.php?cid=89</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://vollkorn.cryptobitch.de/rss.php?version=2.0&amp;type=comments&amp;cid=89</wfw:commentRss>
    

    <author>nospam@example.com (Jan Girlich)</author>
    <content:encoded>
    &lt;p&gt;With the OpneMoko Freerunner comes a stylus which you need if you want to use for example the tiny keys of the keyboard. In general the software I know of is not finger-use ready, yet. So to use a stylus is a good idea. But you have to separately carry the stylus around with you because it&#039;s not attached to the phone or has a pocket it goes into whennot in use.&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;Actually I stole this idea from my friend:&lt;/p&gt; &lt;br /&gt;
&lt;ol&gt; &lt;br /&gt;
&lt;li&gt;Get a friend to give you a guitar pick. Thanks!&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;Get a piece of string. I found a black shoe lace in my moms shoe drawer. Thanks, mom!&lt;br /&gt;&lt;img src=&quot;http://vollkorn.cryptobitch.de/uploads/100_5691.JPG&quot; /&gt;&lt;br /&gt;&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;Drill a hole in the guiter pick.&lt;br /&gt;&lt;img src=&quot;http://vollkorn.cryptobitch.de/uploads/100_5693.JPG&quot; /&gt;&lt;br /&gt;&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;Tie the guitar pick to your Freerunner.&lt;br /&gt;&lt;img src=&quot;http://vollkorn.cryptobitch.de/uploads/100_5701.JPG&quot; /&gt;&lt;br /&gt;&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;Be happy!&lt;br /&gt;&lt;/li&gt; &lt;br /&gt;
&lt;/ol&gt; 
    </content:encoded>

    <pubDate>Mon, 14 Dec 2009 23:45:58 +0100</pubDate>
    <guid isPermaLink="false">http://vollkorn.cryptobitch.de/index.php?/archives/89-guid.html</guid>
    
</item>
<item>
    <title>A plugin for using GCstar to catalogize your Lustige Taschenbücher</title>
    <link>http://vollkorn.cryptobitch.de/index.php?/archives/88-A-plugin-for-using-GCstar-to-catalogize-your-Lustige-Taschenbuecher.html</link>
            <category>technique</category>
    
    <comments>http://vollkorn.cryptobitch.de/index.php?/archives/88-A-plugin-for-using-GCstar-to-catalogize-your-Lustige-Taschenbuecher.html#comments</comments>
    <wfw:comment>http://vollkorn.cryptobitch.de/wfwcomment.php?cid=88</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://vollkorn.cryptobitch.de/rss.php?version=2.0&amp;type=comments&amp;cid=88</wfw:commentRss>
    

    <author>nospam@example.com (Jan Girlich)</author>
    <content:encoded>
    &lt;p&gt;You might know that I collect &lt;a href=&quot;http://www.lustiges-taschenbuch.de/&quot; target=&quot;_blank&quot; title=&quot;No English versions of it&quot;&gt;Lustige Taschenbücher&lt;/a&gt; (LTB) since I was a little kid. I got 258 issues by now and wanted to catalogize them with &lt;a href=&quot;http://gcstar.org/&quot; target=&quot;_blank&quot; title=&quot;I believe it&#039;s a French project.&quot;&gt;GCstar&lt;/a&gt; to have a better overview. Unfortunately the plugins to automatically fetch all information about the books shipped with it do not cover any webpage listing LTB. That&#039;s probably because LTBs are only sold in German speaking areas and thus are only locally popular.&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;But there is a quite nice webpage listing a lot of them at &lt;a href=&quot;http://www.lustige-taschenbuecher.de&quot;&gt;http://www.lustige-taschenbuecher.de/&lt;/a&gt;. So now all I had to do is writing a plugin to grab the data from this webpage and insert it in the database. Something dozens of people already did before me and is &lt;a href=&quot;http://wiki.gcstar.org/en/websites_plugins&quot; target=&quot;_blank&quot; title=&quot;Well, at least a little bit...&quot;&gt;documented&lt;/a&gt;.&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;I won&#039;t go into details here (I might at some other point in time if someone wants me to) but Perls &lt;a href=&quot;http://search.cpan.org/dist/HTML-Parser/Parser.pm&quot; target=&quot;_blank&quot; title=&quot;To say it with the words of a friend: &#039;sucks donkey dicks in hell&#039;&quot;&gt;HTML::parser&lt;/a&gt; comes directly out of hell! Anyway, I got it.&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;If you want to use it as well &lt;a href=&quot;http://vollkorn.cryptobitch.de/files/GCltb.pm&quot; target=&quot;_blank&quot; title=&quot;Don&#039;t forget to apply the changes to GCcomics.gcm described in the next paragraph!&quot;&gt;download the plugin&lt;/a&gt; and place it in your GCstar lib directory (on my Ubuntu it&#039;s &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/usr/share/gcstar/lib/GCPlugins/GCcomics/&lt;/font&gt;).&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;&amp;#160;I changed the database layout of the generic GCcomics model a little to make it work with LTBs. See &lt;a href=&quot;http://vollkorn.cryptobitch.de/files/gcstarLTB.patch&quot; target=&quot;_blank&quot; title=&quot;Modifications to GCModels/GCcomics.gcm&quot;&gt;this diff&lt;/a&gt; for the changes and apply them to yours or the plugin won&#039;t work (most likely the file &lt;font face=&quot;courier new,courier,monospace&quot;&gt;GCcomics.gcm&lt;/font&gt; is to be found at &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/usr/share/gcstar/lib/GCModels/&lt;/font&gt;).&lt;br /&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;Now start your gcstar, create a new comicbook collection, add a new item, enter the issue number of the LTB as the volume, hit the internet search button, select to query by volume, select the LTB plugin and get happy. I just catalogized my whole collection within an hour. Be aware that some reprints are not listed on the webpage. Especially the early reprints up to about volume 120.&lt;br /&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;PS: Anyone willing to swap some LTBs with me? &lt;img src=&quot;http://vollkorn.cryptobitch.de/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sun, 11 Oct 2009 18:49:15 +0200</pubDate>
    <guid isPermaLink="false">http://vollkorn.cryptobitch.de/index.php?/archives/88-guid.html</guid>
    
</item>
<item>
    <title>My Backup Solution using BackInTime</title>
    <link>http://vollkorn.cryptobitch.de/index.php?/archives/87-My-Backup-Solution-using-BackInTime.html</link>
            <category>technique</category>
    
    <comments>http://vollkorn.cryptobitch.de/index.php?/archives/87-My-Backup-Solution-using-BackInTime.html#comments</comments>
    <wfw:comment>http://vollkorn.cryptobitch.de/wfwcomment.php?cid=87</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://vollkorn.cryptobitch.de/rss.php?version=2.0&amp;type=comments&amp;cid=87</wfw:commentRss>
    

    <author>nospam@example.com (Jan Girlich)</author>
    <content:encoded>
    &lt;p&gt;Since a while now I&#039;m trying to figure out the right way of doing backups on my &lt;a href=&quot;http://www.ubuntu.com/&quot; target=&quot;_blank&quot; title=&quot;Try it out, it&#039;s fun!&quot;&gt;Ubuntu Linux&lt;/a&gt; system. I have some requiremtens I want to descibe brefely before continuing.&lt;/p&gt; &lt;br /&gt;
&lt;h4&gt;Don&#039;t do regular full backups&lt;/h4&gt; &lt;br /&gt;
&lt;p&gt; I used &lt;a href=&quot;http://sourceforge.net/projects/sbackup/&quot; target=&quot;_blank&quot; title=&quot;Very neat and simple, but not perfect&quot;&gt;sbackup&lt;/a&gt; so far but it regularly does a full backup, thus taking a long time (I have about 100GBs I want to be backuped) and using up a lot of disk space.&lt;/p&gt; &lt;br /&gt;
&lt;h4&gt;Store the backups on a remote system&lt;/h4&gt; &lt;br /&gt;
&lt;p&gt;Backup basics: keep your backup at a logicaly and spacialy seperate place from your computer. So I want it to work over network and please encrypt the file transfer. And do only send the data of changed files, keeping nettraffic low.&lt;br /&gt;&lt;/p&gt; &lt;br /&gt;
&lt;h4&gt;Don&#039;t bother me&lt;/h4&gt; &lt;br /&gt;
&lt;p&gt;Work in the background and just do your job. Don&#039;t tell me what you&#039;re doing unless I ask you to do so. I don&#039;t even want to know you exist. The only reason I interact with you is the worst case: I got to restore something.&lt;/p&gt; &lt;br /&gt;
&lt;h4&gt;Easy to setup and use&lt;br /&gt;&lt;/h4&gt; &lt;br /&gt;
&lt;p&gt;I want an easy to setup solution which doesn&#039;t need complicated settings and extensive care to be kept running. I don&#039;t want to change tapes or drives, free disk space tell you that the target is avilable or not, figure it out for yourself and do something sensible. And if I ever have to restore files I want an easy to use interface which enables me to quickly restore everything.&lt;/p&gt; &lt;br /&gt;
&lt;h4&gt;Restoring is also without the backup program easily possible&lt;/h4&gt; &lt;br /&gt;
&lt;p&gt;No, looking inside incremental .tar.gz files is not easy. More like complete snapshots I can browse easily and copy the files I want out of with any basic operating system. But keep the needed needed space low.&lt;/p&gt; &lt;br /&gt;
&lt;h4&gt;Try to backup every little change, ASAP&lt;br /&gt;&lt;/h4&gt; &lt;br /&gt;
&lt;p&gt;Most annoying with most backup solutions I think is the fact they only do a backup once a day or similar. With a full backup of 100GBs over the network this might take longer than the longest contiguous uptime of my computer while at home for the day. But I still want pretty much any changed file to be backed up, so I can undo very recent changes.&lt;/p&gt; &lt;br /&gt;
&lt;h4&gt;My solution&lt;/h4&gt; &lt;br /&gt;
&lt;p&gt;I really liked what I heard about &lt;a href=&quot;http://www.apple.com/macosx/what-is-macosx/time-machine.html&quot; target=&quot;_blank&quot; title=&quot;Has some backdraws, too.&quot;&gt;TimeMachine&lt;/a&gt; from Apple. But I don&#039;t use Apple, so I was looking for something similar for Linux. There are a couple of promising projects like &lt;a href=&quot;https://launchpad.net/timevault/&quot; target=&quot;_blank&quot; title=&quot;Very close to TimeMachine, but not really in a usable condition&quot;&gt;TimeVault&lt;/a&gt; and &lt;a href=&quot;http://flyback-project.org/&quot; target=&quot;_blank&quot; title=&quot;Never even made an inital release&quot;&gt;FlyBack&lt;/a&gt;, if they weren&#039;t deserted since about two years.&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;And there is &lt;a href=&quot;http://backintime.le-web.org/&quot; target=&quot;_blank&quot; title=&quot;The website wasn&#039;t working for me eralier today...&quot;&gt;BackInTime&lt;/a&gt; which works fine and is quite recently maintaned (&lt;a href=&quot;https://code.launchpad.net/~dan.launchpad/backintime/trunk&quot; target=&quot;_blank&quot; title=&quot;But not since then. Please, don&#039;t let the project down, Dan!&quot;&gt;June 2009&lt;/a&gt;). It even looks like it&#039;s going to be part of Ubuntu 9.10 Karmic Koala (&lt;a href=&quot;https://wiki.ubuntu.com/KarmicReleaseSchedule&quot; target=&quot;_blank&quot; title=&quot;Can&#039;t wait anymore!!&quot;&gt;release date Oct. 29th&lt;/a&gt;).&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;So what does BackInTime do that I like it so much?&lt;/p&gt; &lt;br /&gt;
&lt;ol&gt; &lt;br /&gt;
&lt;li&gt;You do one initial backup and then it does only incremental backups.&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;It creates snapshots of your files which you can easily browse without the backup program itself.&lt;br /&gt;&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;No space wasted through because files that didn&#039;t change just got linked in place by hardlinks instead of creating a full copy.&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;It&#039;s easy to install and setup. Well integrated into Gnome and KDE desktops.&lt;br /&gt;&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;After configuration it does not bother me again.&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;You can configure it to create a backup e.g. every 5 minutes.&lt;/li&gt; &lt;br /&gt;
&lt;/ol&gt; &lt;br /&gt;
&lt;p&gt;But it does not store backups on remote systems. Well, you can mount a remote share and do the backup on that one. Luckily BackInTime internally uses &lt;a href=&quot;http://www.samba.org/rsync/&quot; target=&quot;_blank&quot; title=&quot;If it would just have versioning support it would be so great!&quot;&gt;rsync&lt;/a&gt; which uses &lt;a href=&quot;http://en.wikipedia.org/wiki/Delta_encoding&quot; target=&quot;_blank&quot; title=&quot;Awesome technology!&quot;&gt;Delta Encoding&lt;/a&gt; to reduce the amount of data to be sent over the network. But whenever the target is not available BackInTime gets annoying telling me about it every 30 seconds or so. Inacceptable. But there is something you can do about it. &lt;img src=&quot;http://vollkorn.cryptobitch.de/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;BackInTime is called every 5 minutes by Cron, so I wrote a little wrapper script checking if the target computer is found in the local network and mounting the share prior to calling BackInTime.&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;#!/bin/sh&lt;br /&gt;#&lt;br /&gt;# Check for server, connect sshfs and start backintime&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;SERVER=&amp;quot;192.168.1.1&amp;quot;&lt;br /&gt;SHARE=&amp;quot;/shares/backups/myPC&amp;quot;&lt;br /&gt;MOUNT=&amp;quot;/var/backups/backintime&amp;quot;&lt;br /&gt;REMOTEUSER=&amp;quot;backupuser&amp;quot;&lt;br /&gt;&lt;br /&gt;# Is the server pingable?&lt;br /&gt;# try three pings, wait maximum one sec for reply, be quiet&lt;br /&gt;if ping -qc 3 -W 1 $SERVER &amp;gt; /dev/null; then&lt;br /&gt;&lt;br /&gt;	# check if the remote location is already mounted&lt;br /&gt;	# For this check to work the directory &#039;backintime&#039; should exist in the&lt;br /&gt;# mounted share (backintime creates it during it&#039;s first run)&lt;br /&gt;	if [ ! -d &amp;quot;${MOUNT}/backintime&amp;quot; ]; then&lt;br /&gt;		# make sure the user running this script is member of the &amp;quot;fuse&amp;quot; group,&lt;br /&gt;		# has write permission on the mountpoint&lt;br /&gt;		# and has a ssh key at the server so he can login without enrering a password&lt;br /&gt;		# and can mount this share manually&lt;br /&gt;		sshfs -o nonempty ${REMOTEUSER}@${SERVER}:${SHARE} ${MOUNT};&lt;br /&gt;		#echo &amp;quot;Verbindung aufgebaut&amp;quot;;&lt;br /&gt;	fi&lt;br /&gt;&lt;br /&gt;	# now we have a connection, so let&#039;s start the regular backup program&lt;br /&gt;	nice -n 19 /usr/bin/backintime --backup-job&lt;br /&gt;&lt;/font&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;&lt;/font&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;# unmount right after using the share&lt;br /&gt;fusermount -uzq ${MOUNT};&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;else&lt;br /&gt;	# just in case there is no connection to the server we try to unmount the share&lt;br /&gt;	# be lazy (also unmount busy ressources) and be quiet&lt;br /&gt;	fusermount -uzq ${MOUNT};&lt;br /&gt;fi&lt;/font&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;It&#039;s assumed your servers share is accessible via SSH and your user uses SSH keys to log in. There&#039;s a &lt;a href=&quot;https://help.ubuntu.com/community/SSH/OpenSSH/Keys&quot; target=&quot;_blank&quot; title=&quot;Really simple, but safe and comfortable :)&quot;&gt;good howto&lt;/a&gt; on that on Ubuntus help pages.&lt;br /&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;Save it as e.g. &lt;font face=&quot;courier new,courier,monospace&quot;&gt;~/bin/backintimeprep.sh&lt;/font&gt; and change the crontab entry to something like&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;∗/5 ∗ ∗ ∗ ∗ ~/bin/backintimeprep.sh &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/font&gt;&lt;br /&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;This script is very basic and fails if it finds another server with the same IP address.&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;Try it out and have fun! I just finished my initial backup and have it running in the background. Hopefully this ended my struggle for a good backup solution.&lt;/p&gt; &lt;br /&gt;
&lt;h4&gt;Using CIFS instead of SSHFS&lt;/h4&gt; &lt;br /&gt;
&lt;p&gt; My &lt;a target=&quot;_blank&quot; href=&quot;http://en.wikipedia.org/wiki/NSLU2&quot;&gt;slug&lt;/a&gt; is very slow and I had a transfer rate of only about 1MB/s whilst totally hogging my CPU rendering it unusable for anything else during a backup. So I was looking for another solution with less CPU usage and better transfer rates.&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://en.wikipedia.org/wiki/CIFS&quot;&gt;CIFS&lt;/a&gt; is quick and doesn&#039;t use much CPU time. But it lacks the security of an encrypted connection which I decided to be negligible in my local network.&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;I assume you know yo&lt;font face=&quot;verdana,arial,helvetica,sans-serif&quot;&gt;ur &lt;/font&gt;way around with &lt;a target=&quot;_blank&quot; href=&quot;http://samba.org/&quot;&gt;samba&lt;/a&gt; i.e. how to add users. My &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/etc/samba/smb.conf&lt;/font&gt; on the server looks like this:&lt;br /&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;[global]&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; workgroup = TREEHOUSE&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; server string = %h server&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; invalid users = root&lt;br /&gt;&lt;br /&gt;[backups]&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; comment = Backups&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; path = /shares/backups/&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; read only = No&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; writeable = Yes&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; write list = jan&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; valid users = jan&lt;/font&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;&lt;font face=&quot;verdana,arial,helvetica,sans-serif&quot;&gt;In the script backintimeprep.sh change the lines for mounting and unmounting the sahres lik&lt;font face=&quot;verdana,arial,helvetica,sans-serif&quot;&gt;e this.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;&lt;font face=&quot;verdana,arial,helvetica,sans-serif&quot;&gt;Mounting:&lt;/font&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;# you might need to fiddle around with the charset to make i.e. Umlauts work&lt;br /&gt;# this assumes you have a file &#039;backup.smb&#039; looking like this in your home directory:&lt;br /&gt;# &amp;#160; username=backupuser&lt;br /&gt;#&amp;#160;&amp;#160; password=password&lt;br /&gt;# Make sure you set the permissions so only you can read it&lt;br /&gt;smbmount //${SERVER}/${SHARE} ${MOUNT} -o rw -o iocharset=utf8 -o credentials=&amp;quot;backup.smb&amp;quot;;&lt;/font&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;&lt;font face=&quot;verdana,arial,helvetica,sans-serif&quot;&gt;Unmounting:&lt;/font&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;&lt;font face=&quot;verdana,arial,helvetica,sans-serif&quot;&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;unmount.cifs ${MOUNT};&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;&lt;font face=&quot;verdana,arial,helvetica,sans-serif&quot;&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;&lt;/font&gt;Works great like this. Much better performance.&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;&lt;font face=&quot;verdana,arial,helvetica,sans-serif&quot;&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;br /&gt;
&lt;ul&gt; &lt;br /&gt;
&lt;li&gt;added missing asterisks in crontab&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;changed detection if the share is mounted&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;unmount the share after using it&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;added a section &#039;CIFS instead of SSHFS&#039;&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;changed cronjob to call backintimeprep.sh&lt;br /&gt;&lt;/li&gt; &lt;br /&gt;
&lt;/ul&gt; 
    </content:encoded>

    <pubDate>Tue, 06 Oct 2009 22:49:38 +0200</pubDate>
    <guid isPermaLink="false">http://vollkorn.cryptobitch.de/index.php?/archives/87-guid.html</guid>
    
</item>
<item>
    <title>Online storage/backup/synchronisation services: UbuntuOne vs. DropBox</title>
    <link>http://vollkorn.cryptobitch.de/index.php?/archives/86-Online-storagebackupsynchronisation-services-UbuntuOne-vs.-DropBox.html</link>
            <category>technique</category>
    
    <comments>http://vollkorn.cryptobitch.de/index.php?/archives/86-Online-storagebackupsynchronisation-services-UbuntuOne-vs.-DropBox.html#comments</comments>
    <wfw:comment>http://vollkorn.cryptobitch.de/wfwcomment.php?cid=86</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://vollkorn.cryptobitch.de/rss.php?version=2.0&amp;type=comments&amp;cid=86</wfw:commentRss>
    

    <author>nospam@example.com (Jan Girlich)</author>
    <content:encoded>
    &lt;p&gt;Recently a couple of services offering online sotrage and a software client for easy synchronisation between several clients, easy sharing and backup came up. It seems like the idea is actually quite old, but as I think really sexy.&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;I only have a look at &lt;a target=&quot;_blank&quot; href=&quot;http://www.getdropbox.com/&quot;&gt;DropBox&lt;/a&gt; and &lt;a target=&quot;_blank&quot; href=&quot;https://one.ubuntu.com/&quot;&gt;UbuntuOne&lt;/a&gt; here, because those integrate fairly well with my &lt;a target=&quot;_blank&quot; href=&quot;http://www.ubuntu.com/&quot;&gt;Ubuntu&lt;/a&gt;. An &lt;a target=&quot;_blank&quot; href=&quot;http://en.wikipedia.org/wiki/File_hosting_service#Comparison_of_notable_file_hosting_services&quot;&gt;incomplete list&lt;/a&gt; with similar services can be found at Wikipedia.&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;There is a nice video at DropBox&#039;s webpage explaining what those services are good for, so I won&#039;t explain these advantages anymore but redirect you to the &lt;a target=&quot;_blank&quot; href=&quot;https://www.getdropbox.com/tour/2#1&quot;&gt;video&lt;/a&gt;.&lt;/p&gt; &lt;br /&gt;
&lt;h4&gt;Storage size&lt;/h4&gt; &lt;br /&gt;
&lt;p&gt;If I wanted to backup all my valuable data I would need more than 100 GB, which is more than the 50 to 100 GB both services offer to paying customers. But just for quickly sharing files or making some important files available everywhere or similar things the 2 GBs offered by both services are fine.&lt;/p&gt; &lt;br /&gt;
&lt;p&gt; &lt;br /&gt;
&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; border=&quot;1&quot; style=&quot;width: 100%;&quot;&gt; &lt;br /&gt;
&lt;tbody&gt; &lt;br /&gt;
&lt;tr&gt; &lt;br /&gt;
&lt;td style=&quot;width: 25%;&quot;&gt; &lt;br /&gt;
&lt;p&gt;&lt;strong&gt;&amp;#160;Service&lt;/strong&gt;&lt;/p&gt; &lt;br /&gt;
&lt;/td&gt; &lt;br /&gt;
&lt;td style=&quot;width: 25%;&quot;&gt;&lt;strong&gt;Free&lt;/strong&gt;&lt;br /&gt;&lt;/td&gt; &lt;br /&gt;
&lt;td style=&quot;width: 25%;&quot;&gt; &lt;strong&gt;US$10/month&lt;/strong&gt;&lt;/td&gt; &lt;br /&gt;
&lt;td style=&quot;width: 25%;&quot;&gt; &lt;strong&gt;US$20/month&lt;/strong&gt;&lt;/td&gt; &lt;br /&gt;
&lt;/tr&gt; &lt;br /&gt;
&lt;tr&gt; &lt;br /&gt;
&lt;td style=&quot;width: 25%;&quot;&gt; &lt;a target=&quot;_blank&quot; href=&quot;https://www.getdropbox.com/pricing&quot;&gt;DropBox&lt;/a&gt;&lt;/td&gt; &lt;br /&gt;
&lt;td style=&quot;width: 25%;&quot;&gt;&amp;#160;2 GB&lt;/td&gt; &lt;br /&gt;
&lt;td style=&quot;width: 25%;&quot;&gt;&amp;#160;50 GB&lt;br /&gt;&lt;/td&gt; &lt;br /&gt;
&lt;td style=&quot;width: 25%;&quot;&gt;&amp;#160;100 GB&lt;br /&gt;&lt;/td&gt; &lt;br /&gt;
&lt;/tr&gt; &lt;br /&gt;
&lt;tr&gt; &lt;br /&gt;
&lt;td style=&quot;width: 25%;&quot;&gt; &lt;a title=&quot;Just recently changed from 10 to 50 GB&quot; target=&quot;_blank&quot; href=&quot;https://one.ubuntu.com/plans/&quot;&gt;UbuntuOne&lt;/a&gt;&lt;/td&gt; &lt;br /&gt;
&lt;td style=&quot;width: 25%;&quot;&gt;&amp;#160;2 GB&lt;br /&gt;&lt;/td&gt; &lt;br /&gt;
&lt;td style=&quot;width: 25%;&quot;&gt;&amp;#160;50 GB&lt;br /&gt;&lt;/td&gt; &lt;br /&gt;
&lt;td style=&quot;width: 25%;&quot;&gt;&amp;#160;- &lt;br /&gt;&lt;/td&gt; &lt;br /&gt;
&lt;/tr&gt; &lt;br /&gt;
&lt;/tbody&gt; &lt;br /&gt;
&lt;/table&gt; &lt;br /&gt;
&lt;/p&gt; &lt;br /&gt;
&lt;h4&gt;Software Clients&lt;/h4&gt;&lt;br /&gt;
&lt;p&gt;While UbuntuOne comes with an open source client which can be trusted, adapted and ported to other plattforms DropBox is a proprietary closed source product. Funnily enough DropBox is also available for Mac and Windows while UbuntuOne isn&#039;t, &lt;a href=&quot;https://answers.launchpad.net/ubuntuone-client/+question/71098&quot; target=&quot;_blank&quot;&gt;yet&lt;/a&gt;. The DropBox client needs &lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=1148379&quot; target=&quot;_blank&quot;&gt;some&lt;/a&gt; tricks to install on a Ubuntu and probably other Linuxes, too. But in the long run I see a bigger potential in UbuntuOne being ported to anything you could possibly wish for just because it&#039;s open source.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Both clients integrate very nicely with Nautilus and enable you via right click to share files or folders. Only details differ here.&lt;/p&gt;&lt;br /&gt;
&lt;h4&gt;Features&lt;/h4&gt;&lt;br /&gt;
&lt;p&gt;Featurewise those clients are not very different either, but the way it works is a little different. There is only one feature I really miss at UbuntuOne and why I use Dropbox. With DropBox you can share files via a simple http link while at UbuntuOne you can only share files when both partners have a launchpad.net account. This is very bad for the very typical situation where you want to send a large file to someone. DropBox&#039;s direct link you can obtain by right clicking a file comes in very handy in this use case.&lt;/p&gt;&lt;br /&gt;
&lt;h4&gt;Conclusion &lt;br /&gt;&lt;/h4&gt;&lt;br /&gt;
&lt;p&gt;Just now I prefer DropBox over UbuntuOne because of the Windows client being available and not needing any client or account for sharing files via direct weblink. But I predict bigger potential for UbuntuOne because of better integration possibilities with Ubuntu, easier installation and it being open source so there can be clients for any OS and architecture.&lt;br /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Fri, 02 Oct 2009 23:45:25 +0200</pubDate>
    <guid isPermaLink="false">http://vollkorn.cryptobitch.de/index.php?/archives/86-guid.html</guid>
    
</item>
<item>
    <title>Dspam accuracy</title>
    <link>http://vollkorn.cryptobitch.de/index.php?/archives/78-Dspam-accuracy.html</link>
            <category>technique</category>
    
    <comments>http://vollkorn.cryptobitch.de/index.php?/archives/78-Dspam-accuracy.html#comments</comments>
    <wfw:comment>http://vollkorn.cryptobitch.de/wfwcomment.php?cid=78</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://vollkorn.cryptobitch.de/rss.php?version=2.0&amp;type=comments&amp;cid=78</wfw:commentRss>
    

    <author>nospam@example.com (Jan Girlich)</author>
    <content:encoded>
    &lt;br /&gt;
After I &lt;a href=&quot;http://vollkorn.cryptobitch.de/index.php?/archives/77-Dspam-with-procmail-in-usermode.html&quot;&gt;installed Dspam some time ago&lt;/a&gt; I checked on it&#039;s accuracy and made a small graph to illustrate it.&lt;!--more--&gt; Since my Dspam installation at Octobre 7th 22 days and 1141 emails passed by. All in all I&#039;m very happy with Dspam. It works just fine and the overall accuracy is 98.51%. I got a false positive rate of 0.79% and a false negative rate of 0.70%. Those emails which got detected wrong were usually emails from persons or companies I never had a correspondence with before. Emails from the same senders were detected correctly after training the filter with the wrong detected emails.&lt;br /&gt;&lt;img style=&quot;max-width: 800px;&quot; src=&quot;http://vollkorn.cryptobitch.de/uploads/spam.png&quot; /&gt; 
    </content:encoded>

    <pubDate>Wed, 29 Oct 2008 20:47:35 +0100</pubDate>
    <guid isPermaLink="false">http://vollkorn.cryptobitch.de/index.php?/archives/78-guid.html</guid>
    
</item>
<item>
    <title>Dspam with procmail in usermode</title>
    <link>http://vollkorn.cryptobitch.de/index.php?/archives/77-Dspam-with-procmail-in-usermode.html</link>
            <category>technique</category>
    
    <comments>http://vollkorn.cryptobitch.de/index.php?/archives/77-Dspam-with-procmail-in-usermode.html#comments</comments>
    <wfw:comment>http://vollkorn.cryptobitch.de/wfwcomment.php?cid=77</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://vollkorn.cryptobitch.de/rss.php?version=2.0&amp;type=comments&amp;cid=77</wfw:commentRss>
    

    <author>nospam@example.com (Jan Girlich)</author>
    <content:encoded>
    I have a user account on a server which I use for my mail. Unfortunately there is no spam filter set up on the server and I don&#039;t have root privileges to install one. So I had to install a local solution running with user privileges utilizing procmail.&lt;br /&gt;&lt;!--more--&gt;In this setup the mail comes from the postfix installation and is forwarded to procmail via the &lt;em&gt;.forward &lt;/em&gt;mechanism. Procmail is sending the email via &lt;em&gt;stdin&lt;/em&gt; to dspam which returns the tagged email to procmail on &lt;em&gt;stdout&lt;/em&gt;. Procmail then sorts the mail into different &lt;em&gt;.maildir&lt;/em&gt; folders by examining the &lt;em&gt;X-DSPAM&lt;/em&gt; mail headers. The .maildir is then exported as &lt;em&gt;IMAP&lt;/em&gt; and some folders are used to retrain false positives and false negatives and to contain spam emails.&lt;br /&gt;&lt;br /&gt;I never intended to use the dspam webinterface or the filter training mechnisms via forwarding spam, false positives and so on to certain email adresses of the form &lt;em&gt;spam@...&lt;/em&gt; since I can&#039;t run perl programs on my web server nor can I set up email aliases.&lt;br /&gt;&lt;br /&gt;This is one of many ways to setup dspam. This way is not intended for server installations where you want several users to use dspam. Better try to integrate dspam as a queue in your MTA then.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Postfix to procmail&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To forward your mail to procmail edit your &lt;em&gt;~/.forward&lt;/em&gt; to look like this:&lt;br /&gt;&lt;blockquote&gt;&quot;|/usr/bin/procmail&quot;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;strong&gt;Procmail to dspam and back&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The next step is to configure procmail to pipe the emails to dspam. We&#039;ll install, configure and train dspam in the following step.&lt;br /&gt;&lt;br /&gt;This is what my &lt;em&gt;~/.procmailrc&lt;/em&gt; looks like:&lt;br /&gt;&lt;blockquote&gt;# Begin spam treatment.&lt;br /&gt;:0fw&lt;br /&gt;| dspam --user vollkorn --stdout --deliver=innocent,spam&lt;br /&gt;&lt;br /&gt;# if mail is tagged as spam deliver it to my spam box&lt;br /&gt;:0&lt;br /&gt;*^X-DSPAM-Result: Spam&lt;br /&gt;$HOME/.maildir/.spam/&lt;br /&gt;# End spam treatment.&lt;br /&gt;&lt;br /&gt;# inbox catch-all&lt;br /&gt;:0&lt;br /&gt;$HOME/.maildir/&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Make sure to change the mail folders to match your setup.&lt;br /&gt;&lt;br /&gt;Invoked with the option &lt;em&gt;--stdout&lt;/em&gt; dspam returns mails read from &lt;em&gt;stdin&lt;/em&gt; to &lt;em&gt;stdout&lt;/em&gt; after tagging. &lt;em&gt;--deliver=innocent,spam&lt;/em&gt; overrides the default behaviour of putting spam in quarantine. Actually just using &lt;em&gt;spam&lt;/em&gt; as a parameter here should be sufficient, but I thought I had to make sure&lt;em&gt;&lt;em&gt;&lt;/em&gt;&lt;/em&gt;.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Installing, configuring and training dspam&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Well, I had to compile from source since I can&#039;t use the package management without root priviliges. So download the source and unpack it:&lt;br /&gt;&lt;blockquote&gt;wget http://dspam.nuclearelephant.com/sources/dspam-3.8.0.tar.gz&lt;br /&gt;tar -xzf dspam-3.8.0.tar.gz&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Now it&#039;s time to configure dspam to make sure all the needed features are getting installed.&lt;br /&gt;&lt;blockquote&gt;cd dspam-3.8.0/&lt;br /&gt;./configure --with-userdir=$HOME/.dspam --with-userdir-owner=none --with-userdir-group=none \&lt;br /&gt;--with-dspam-mode=none --with-dspam-owner=none --prefix=$HOME --enable-spam-delivery \&lt;br /&gt;--enable-delivery-to-stdout&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;You might want to change your paths but the other options are important. All the user and group related options allow dspam to be run as user. Without the option &lt;em&gt;--enable-spam-delivery&lt;/em&gt; all spams would be quarantined no matter what and would have been to be bailed out by cli or webui. I think &lt;em&gt;--enable-delivery-to-stdout&lt;/em&gt; is easy to understand as is.&lt;br /&gt;&lt;br /&gt;Now compile and install dspam:&lt;br /&gt;&lt;blockquote&gt;make &amp;&amp;amp; make install&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;You&#039;ll find dspams config under &lt;em&gt;~/etc/dspam.conf&lt;/em&gt; if you used &lt;em&gt;--prefix=$HOME&lt;/em&gt; as I did. There are only minor things to fix since most options are set correctly automagically. Those are the options I changed to fit the setup:&lt;br /&gt;&lt;blockquote&gt;Home /home/vollkorn/var/dspam&lt;br /&gt;TrustedDeliveryAgent &quot;/usr/bin/procmail&quot;&lt;br /&gt;Trust vollkorn&lt;br /&gt;WebStats off&lt;br /&gt;Preference &quot;signatureLocation=headers&quot;&amp;#160; # &#039;message&#039; or &#039;headers&#039;&lt;br /&gt;Preference &quot;showFactors=on&quot;&lt;br /&gt;Preference &quot;spamAction=tag&quot;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;There are some cronjobs you should set up. So do a &lt;em&gt;crontab -e&lt;/em&gt; and enter those lines:&lt;br /&gt;&lt;blockquote&gt;# a cleanup job recommended by dspam&lt;br /&gt;0&amp;#160;&amp;#160; 0&amp;#160;&amp;#160; &lt;strong&gt;&amp;#160;&amp;#160; &lt;/strong&gt;&amp;#160;&amp;#160; &lt;strong&gt;&amp;#160;&amp;#160; $HOME/bin/dspam_clean -p&lt;br /&gt;# to rotate the fast growing logs&lt;br /&gt;0 0 &lt;/strong&gt; &lt;strong&gt; &lt;/strong&gt; $HOME/bin/dspam_logrotate -a 30 -d $HOME/var/dspam/data&lt;br /&gt;# handle false negatives in the specified .maildir folder&lt;br /&gt;*/28&amp;#160;&amp;#160; &lt;strong&gt;&amp;#160;&amp;#160; &lt;/strong&gt;&amp;#160;&amp;#160; &lt;strong&gt;&amp;#160;&amp;#160; &lt;/strong&gt;&amp;#160;&amp;#160; find &quot;$HOME/.maildir/.spam.False Negatives&quot; -type f -wholename &quot;*cur/*&quot; \&lt;br /&gt;-execdir $HOME/.dspam/falsenegative.sh {} \;&lt;br /&gt;# handle false positives in the specified .maildir folder&lt;br /&gt;*/30&amp;#160;&amp;#160;&amp;#160; &lt;strong&gt;&amp;#160;&amp;#160; &lt;/strong&gt;&amp;#160;&amp;#160; &lt;strong&gt;&amp;#160;&amp;#160; &lt;/strong&gt;&amp;#160;&amp;#160; find &quot;$HOME/.maildir/.spam.False Positives&quot; -type f -wholename &quot;*cur/*&quot; \&lt;br /&gt;-execdir $HOME/.dspam/falsepositive.sh {} \;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;The scripts to handle the false positives and false negatives are quick &amp;amp; dirty so be careful when using them. Remember to change the paths and username.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;~/.dspam/falsenegative.sh&lt;/em&gt;&lt;br /&gt;&lt;blockquote&gt;#!/bin/sh&lt;br /&gt;# train spams which slipped through the filter and move them to the spam folder&lt;br /&gt;cat ${1} | $HOME/bin/dspam --source=error --class=spam --user vollkorn&lt;br /&gt;mv ${1} $HOME/.maildir/.spam/cur/&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;em&gt;~/.dspam/falsenegative.sh&lt;/em&gt;&lt;br /&gt;&lt;blockquote&gt;#!/bin/sh&lt;br /&gt;# retrain mail which wrongly got recognised as spam and move them to your inbox&lt;br /&gt;cat ${1} | $HOME/bin/dspam --source=error --class=innocent --user vollkorn&lt;br /&gt;mv ${1} $HOME/.maildir/cur/&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;So the last thing left to do is to train dspam. After an initial training the accuracy is already very good. It&#039;s very important to not only train spam, but also some ham. I trained with 411 spams and about 900,000 hams (no typo). &lt;img src=&quot;http://vollkorn.cryptobitch.de/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;&lt;br /&gt;For training I used these two commands:&lt;br /&gt;&lt;blockquote&gt;find ~/.maildir/.ham/cur/ -name &quot;*&quot; -exec cat {} | dspam --source=corpus --class=innocent \&lt;br /&gt;--user vollkorn \;&lt;br /&gt;find ~/.maildir/.spam/cur/ -name &quot;*&quot; -exec cat {} | dspam --source=corpus --class=spam \&lt;br /&gt;--user vollkorn \;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;strong&gt;Results&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;After using this setup for about 3 days I&#039;m very pleased. Not a single spam made it into my inbox and my mail notification applet went off significantly less. I had one false positive thoug, but it was retrained properly after moving it to the right .maildir folder inside my mail client.&lt;br /&gt;&lt;br /&gt;Here is a little pie chart showing the accuracy of my dspam installation.&lt;br /&gt;&lt;br /&gt;&lt;img style=&quot;max-width: 800px;&quot; src=&quot;http://vollkorn.cryptobitch.de/uploads/Spam%20analyse.png&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Ressources&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I read these pages and can recommend having a look at them, too.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.lalkaka.com/dspam/&quot;&gt;http://www.lalkaka.com/dspam/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.lalkaka.com/dspam/&quot;&gt;http://splodge.fluff.org/docs/single-user-dspam&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt; &lt;script type=&quot;text/javascript&quot; src=&quot;http://triptracker.net/trip/3975/embmap/?w=800&amp;h=620&amp;amp;title=Dubai2&quot;&gt;br/&gt;&lt;/script&gt; 
    </content:encoded>

    <pubDate>Thu, 09 Oct 2008 22:19:57 +0200</pubDate>
    <guid isPermaLink="false">http://vollkorn.cryptobitch.de/index.php?/archives/77-guid.html</guid>
    
</item>
<item>
    <title>Rockbox on iRiver H10 with Ubuntu</title>
    <link>http://vollkorn.cryptobitch.de/index.php?/archives/75-Rockbox-on-iRiver-H10-with-Ubuntu.html</link>
            <category>technique</category>
    
    <comments>http://vollkorn.cryptobitch.de/index.php?/archives/75-Rockbox-on-iRiver-H10-with-Ubuntu.html#comments</comments>
    <wfw:comment>http://vollkorn.cryptobitch.de/wfwcomment.php?cid=75</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://vollkorn.cryptobitch.de/rss.php?version=2.0&amp;type=comments&amp;cid=75</wfw:commentRss>
    

    <author>nospam@example.com (Jan Girlich)</author>
    <content:encoded>
    Yesterday I got a &lt;a href=&quot;http://www.iriver.de/harddisc_player.html?p_id=323&amp;view=features&amp;amp;L=0&quot;&gt;iRiver H10&lt;/a&gt; in return for helping out with a virus infected computer. So the first thing I did was putting &lt;a href=&quot;http://www.rockbox.org/twiki/bin/view/Main/WhyRockbox&quot;&gt;rockbox&lt;/a&gt; on it. Next step was to make it work with my Ubuntu where I use Rhythmbox.&lt;br /&gt;&lt;!--more--&gt;The Rockbox installation was rather easy though it has some glitches.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Connect your iRiver via USB and check if it shows up as USB mass storage device and gets mounted. If so it&#039;s a UMS if not it&#039;s a MTP player. Don&#039;t ask me what these TLAs stand for I just know that you have to choose the right type in the next step. I got a UMS one. For MTP ones you need to use a trick: Remove the battery, put it back in, press and hold the &quot;o&quot; button and then press the power button. It will start up in USB mass storage device. Remember this trick for later.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Download &lt;a href=&quot;http://www.rockbox.org/twiki/bin/view/Main/RockboxUtility&quot;&gt;Rockbox Utility&lt;/a&gt; and run the program from the archive.&lt;/li&gt;&lt;li&gt;The automatic detection did not work for me so I had to choose my model &lt;em&gt;H10 (5 / 6GB) UMS&lt;/em&gt; and my mountpoint &lt;em&gt;/media/H10&lt;/em&gt; by hand.&lt;/li&gt;&lt;li&gt;Use &lt;em&gt;complete install&lt;/em&gt; to find out you might run into permission problems. Then do a &lt;em&gt;sudo chmod -R u+w &amp;lt;your mountpoint&amp;gt;/System/&lt;/em&gt; to fix this. Now run the &lt;em&gt;complete install&lt;/em&gt; again.&lt;/li&gt;&lt;li&gt;When your Rockbox fires up for the first time after installtion it&#039;s a nice feeling, but the moment hook it up via USB to your computer to upload some files you might get a little shock. USB doesn&#039;t work under Rockbox, yet. But no worries, remember the trick from step 1? With Rockbox the player switches off completely so you don&#039;t need to take the battery out. Just press and hold &quot;o&quot; while switching the player on and it fires up as a USB mass storage drive. You have to do this whenever you want to connect the player to your computer until the &lt;a href=&quot;http://www.rockbox.org/twiki/bin/view/Main/PortalPlayerUsb&quot;&gt;bug&lt;/a&gt; is fixed.&lt;/li&gt;&lt;/ol&gt;The next problem was to get Rhythmbox to work properly with the player. The problem is that the path for the files to store is not recognised properly by Rhythmbox. This can easily be fixed by creating a file in the root of the player&lt;br /&gt;&lt;blockquote&gt;&lt;em&gt;.is_audio_player&lt;/em&gt;&lt;br /&gt;audio_folders=Media/Music/,&quot;My Recordings/&quot;&lt;br /&gt;&lt;/blockquote&gt;This is it. Works fine for me. &lt;img src=&quot;http://vollkorn.cryptobitch.de/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Wed, 01 Oct 2008 20:23:28 +0200</pubDate>
    <guid isPermaLink="false">http://vollkorn.cryptobitch.de/index.php?/archives/75-guid.html</guid>
    
</item>
<item>
    <title>Setting up Asterisk with a Fritz!PCI ISDN card on Ubuntu Server</title>
    <link>http://vollkorn.cryptobitch.de/index.php?/archives/68-Setting-up-Asterisk-with-a-Fritz!PCI-ISDN-card-on-Ubuntu-Server.html</link>
            <category>technique</category>
    
    <comments>http://vollkorn.cryptobitch.de/index.php?/archives/68-Setting-up-Asterisk-with-a-Fritz!PCI-ISDN-card-on-Ubuntu-Server.html#comments</comments>
    <wfw:comment>http://vollkorn.cryptobitch.de/wfwcomment.php?cid=68</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://vollkorn.cryptobitch.de/rss.php?version=2.0&amp;type=comments&amp;cid=68</wfw:commentRss>
    

    <author>nospam@example.com (Jan Girlich)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;div&gt;&lt;p&gt;Recently I had the idea of setting up &lt;a target=&quot;_blank&quot; href=&quot;http://www.asterisk.org/&quot;&gt;Asterisk&lt;/a&gt; on my up-to-date Ubuntu server. Asterisk is a very powerfull but also very complex, feature-rich and flexible telephony server. If all you want is sending and receiving faxes, an answering machine for your ISDN phones or similar simple things based on ISDN services, &lt;a target=&quot;_blank&quot; href=&quot;http://capisuite.frankedata.de/&quot;&gt;capisuite&lt;/a&gt; is the way to go. But as soon as you want services based on analog lines or VoIP, you should get familar with Asterisk. So I did.&lt;/p&gt;&lt;hr class=&quot;jump&quot; /&gt;&lt;p&gt;&lt;br /&gt;My goal is a quite complex set up aiming on saving on international calls with my mobile by forwarding calls and some other ideas, but it&#039;s not all laid out yet and might change so I won&#039;t go into detail here at this time. Goal of this article is to get a basic asterisk up and running as a base to start working on it.&lt;/p&gt;&lt;p&gt;After reading this article you might think: Why going through all this trouble with Ubuntu? Why not use &lt;a target=&quot;_blank&quot; href=&quot;http://www.asterisknow.org/&quot;&gt;AsteriskNow&lt;/a&gt; or &lt;a target=&quot;_blank&quot; href=&quot;http://www.asterisknow.org/&quot;&gt;Trixbox&lt;/a&gt;? Well, the problem with AsteriskNow 1.0.2 is that when you use the Fritz!PCI card the whole system will crash during the boot process. But only if you have the ISDN cable plugged in. But even if you boot without the cable plugged in there are several problems because the fcpci driver is just broken. I never tried Trixbox but I don&#039;t like the halfway commercial philosophy of the project and the fact that it rewrites the config files when you change something in the web interface.&lt;/p&gt;&lt;p&gt;&lt;big&gt;&lt;b&gt;Getting the Fritz!PCI card up and running&lt;/b&gt;&lt;/big&gt;&lt;/p&gt;&lt;p&gt;It should work out of the box in Ubuntu. But actually it doesn&#039;t.&lt;/p&gt;&lt;p&gt;The driver is called fcpci.ko and resides in &lt;em&gt;linux-restricted-modules&lt;/em&gt;, so installing this package and &lt;em&gt;capiutils&lt;/em&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;$ sudo apt-get install linux-restricted-modules capiutils&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;loading some modules in &lt;em&gt;/etc/modules.conf&lt;/em&gt;&lt;/p&gt;&lt;p /&gt;&lt;blockquote&gt;capidrv&lt;br /&gt;capi&lt;br /&gt;fcpci&lt;/blockquote&gt;&lt;p /&gt;and uncommenting the proper line in &lt;em&gt;/etc/capi.conf&lt;/em&gt;&lt;blockquote&gt;&lt;p&gt;fcpci - - - - - -&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;should do the trick, but it doesn&#039;t as you can easily see when you have a look at &lt;em&gt;capiinfo&lt;/em&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;# capiinfo&lt;br /&gt;Number of Controllers : 1&lt;br /&gt;Controller 1:  &lt;br /&gt;Manufacturer:  &lt;br /&gt;CAPI Version: 2.0  &lt;br /&gt;Manufacturer Version: 49.23  &lt;br /&gt;Serial Number: 1000001  &lt;br /&gt;BChannels: 0  &lt;br /&gt;Global Options: 0x00000000  &lt;br /&gt;B1 protocols support: 0x00000000  &lt;br /&gt;B2 protocols support: 0x00000000  &lt;br /&gt;B3 protocols support: 0x00000000    &lt;br /&gt;&lt;br /&gt;  0100  &lt;br /&gt;  0000  &lt;br /&gt;  00000000  &lt;br /&gt;  00000000  &lt;br /&gt;  00000000  &lt;br /&gt;  00000000  &lt;br /&gt;  00000000 00000000 00000000 00000000 00000000 00000000  &lt;br /&gt;  00000000 00000000 00000000 00000000 00000000    &lt;br /&gt;&lt;br /&gt;Supplementary services support: 0x000003ff  &lt;br /&gt;   Hold / Retrieve  &lt;br /&gt;   Terminal Portability  &lt;br /&gt;   ECT  &lt;br /&gt;   3PTY  &lt;br /&gt;   Call Forwarding  &lt;br /&gt;   Call Deflection  &lt;br /&gt;   MCID  &lt;br /&gt;   CCBS&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;In order to solve this problem you should build the module yourself. To do it the ubuntu way you should do it as described here. And don&#039;t backup the files in the target directory in the last step, just overwrite them. First download the &lt;a target=&quot;_blank&quot; href=&quot;http://rapidshare.de/files/39255014/AVM-Fritz.tar.gz.html&quot;&gt;proper sources&lt;/a&gt;.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;$ sudo -s&lt;br /&gt;# tar -xzf AVM-Fritz.tar.gz&lt;br /&gt;# mv AVM-Fritz /usr/src&lt;br /&gt;# cd /usr/src/AVM-Fritz/fcpci-3.11.07&lt;br /&gt;# make&lt;br /&gt;# cp driver.o fcpci.mod.o lib.o main.o queue.o tables.o tools.o /lib/linux-restricted-modules/2.6.24-16-generic/fcpci/&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;After a reboot the module &lt;em&gt;fcpci.ko&lt;/em&gt; will be built and loaded automatically.&lt;/p&gt;&lt;p&gt;&lt;big&gt;&lt;b&gt;Installing Asterisk and get asterisk-chan-capi working&lt;/b&gt;&lt;/big&gt;&lt;/p&gt;&lt;p&gt;Asterisk is in &lt;em&gt;universe&lt;/em&gt;, so you can install it easily with &lt;em&gt;apt-get&lt;/em&gt;. To make it work with ISDN you need &lt;em&gt;asterisk-chan-capi&lt;/em&gt; for asterisk to be able to communicate with the CAPI layer. &lt;em&gt;asterisk-config&lt;/em&gt; has a set of example configuration files. To have some sound files to work with you should also install at least &lt;em&gt;asterisk-sounds-main&lt;/em&gt;.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;# apt-get install asterisk asterisk-chan-capi asterisk-config asterisk-sounds-main&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Now set up a little example dialplan. First some backups.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;# mv /etc/asterisk/extension.conf /etc/asterisk/extension.conf.backup&lt;br /&gt;# mv /etc/asterisk/extension.ael /etc/asterisk/extension.ael.backup&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;The dialplan resides in &lt;em&gt;/etc/asterisk/extensions.conf&lt;/em&gt;. Due to some reason I don&#039;t know the start-extension &lt;em&gt;s&lt;/em&gt; doesn&#039;t work for CAPI devices, so you have to use the MSN you&#039;re calling asterisk at. In this example I use &lt;em&gt;123456&lt;/em&gt;.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;[globals]&lt;br /&gt;[general]&lt;br /&gt;[default]&lt;br /&gt;[capi-in]&lt;br /&gt;exten =&amp;gt; 123456,1,Answer()&lt;br /&gt;exten =&amp;gt; 123456,n,Playback(/usr/share/asterisk/sounds/hello-world)&lt;br /&gt;exten =&amp;gt; 123456,n,Hangup()&lt;br /&gt;[phones]&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Now we need to make sure chan_capi gets loaded when asterisk is started. To do so we need to edit &lt;em&gt;/etc/asterisk/modules.conf&lt;/em&gt;. Change the line&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;noload =&amp;gt; chan_capi.so&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;to&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;load =&amp;gt; chan_capi.so&lt;/p&gt;&lt;/blockquote&gt; &lt;p /&gt;&lt;p&gt;So now we restart asterisk and connect to asterisk to see what&#039;s going on and then we call our MSN 123456. What you will see will look like this.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;# /etc/init.d/asterisk restart&lt;br /&gt;# asterisk -r&lt;br /&gt;Asterisk 1.4.17~dfsg-2ubuntu1, Copyright (C) 1999 - 2007 Digium, Inc. and others.&lt;br /&gt;Created by Mark Spencer &amp;lt;markster@digium.com&amp;amp;gt;&lt;br /&gt;Asterisk comes with ABSOLUTELY NO WARRANTY; type &#039;core show warranty&#039; for details.&lt;br /&gt;This is free software, with components licensed under the GNU General Public&lt;br /&gt;License version 2 and other licenses; you are welcome to redistribute it under&lt;br /&gt;certain conditions. Type &#039;core show license&#039; for details.&lt;br /&gt;=========================================================================&lt;br /&gt;This package has been modified for the Debian GNU/Linux distribution&lt;br /&gt;Please report all bugs to http://bugs.debian.org/asterisk&lt;br /&gt;=========================================================================&lt;br /&gt;Connected to Asterisk 1.4.17~dfsg-2ubuntu1 currently running on abfax (pid = 11102)&lt;br /&gt;Verbosity is at least 3&lt;br /&gt;[May 17 15:17:10] WARNING[8407]: channel.c:3059 set_format: Unable to find a codec translation path from unknown to gsm&lt;br /&gt;[May 17 15:17:10] WARNING[8407]: file.c:871 ast_streamfile: Unable to open /usr/share/asterisk/sounds/hello-world (format 0x0 (nothing)): No such file or directory&lt;br /&gt;[May 17 15:17:10] WARNING[8407]: app_playback.c:437 playback_exec: ast_streamfile failed on CAPI/ISDN1#02/123456-0 for /usr/share/asterisk/sounds/hello-world&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;This looks pretty bad and google isn&#039;t a big help in this case. But the problem is known as well and can be solved by compiling the packet &lt;em&gt;asterisk-chan-capi&lt;/em&gt;.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;# apt-get build-dep asterisk-chan-capi&lt;br /&gt;# apt-get source --build asterisk-chan-capi&lt;br /&gt;# dpkg -i asterisk-chan-capi_1.0.2-1_i386.deb&lt;br /&gt;# /etc/init.d/asterisk restart&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;And now we should be able to call into asterisk and hear a very short &amp;quot;hello world&amp;quot;.&lt;/p&gt;&lt;p&gt;&lt;big&gt;&lt;b&gt;The next step&lt;/b&gt;&lt;/big&gt;&lt;/p&gt;&lt;p&gt;From here on I suggest reading the &lt;a target=&quot;_blank&quot; href=&quot;http://downloads.oreilly.com/books/9780596510480.pdf&quot;&gt;asterisk book&lt;/a&gt;. I have some troubles playing back files I recorded with &lt;em&gt;Record()&lt;/em&gt;. I&#039;ll work on this next although I probably won&#039;t use this function in my setup.&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;big&gt;Versions of the used packets&lt;/big&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;This all was tested and done on May 17th 2008 on a Ubuntu Hardy Heron Server.&lt;/p&gt;&lt;p&gt;kernel 2.6.24-16-generic&lt;br /&gt;asterisk 1.4.17~dfsg-2ubuntu1&lt;br /&gt;asterisk-chan-capi 1.0.2-1&lt;/p&gt;&lt;p&gt;&lt;big&gt;&lt;b&gt;Sources&lt;/b&gt;&lt;/big&gt;&lt;/p&gt;&lt;p&gt;http://forum.ubuntuusers.de/topic/168953/&lt;br /&gt;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462410&lt;/p&gt;&lt;/div&gt; 
    </content:encoded>

    <pubDate>Sat, 17 May 2008 23:43:05 +0200</pubDate>
    <guid isPermaLink="false">http://vollkorn.cryptobitch.de/index.php?/archives/68-guid.html</guid>
    
</item>
<item>
    <title>Google Maps Test</title>
    <link>http://vollkorn.cryptobitch.de/index.php?/archives/16-Google-Maps-Test.html</link>
            <category>technique</category>
    
    <comments>http://vollkorn.cryptobitch.de/index.php?/archives/16-Google-Maps-Test.html#comments</comments>
    <wfw:comment>http://vollkorn.cryptobitch.de/wfwcomment.php?cid=16</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://vollkorn.cryptobitch.de/rss.php?version=2.0&amp;type=comments&amp;cid=16</wfw:commentRss>
    

    <author>nospam@example.com (Jan Girlich)</author>
    <content:encoded>
    &lt;p&gt;This is my first test with a google map. I got paths and pictures, can click on them, they are embedded in my blog and everything basically works. In this example it&#039;s only 20 pictures and it might not be possible to use more than 50 pictures and they are all off place and there are two paths from two days in the map, but this is just some quite random test data I didn&#039;t prepare well.&lt;/p&gt;&lt;p&gt;Well there are some problems left like the way I upload the pictures wherefor I have to create a nice workflow which integrates well with the software I use and the way I manage my photos. Right now it&#039;s just too much work and I create duplicate pictures and so on. And after puting the iframe for the map into an article of this serendipity blog I can&#039;t edit this article anymore. Just goes crazy and doesn&#039;t save any changes anymore.&lt;/p&gt;&lt;p&gt;Probably within the neyt week I will be able to show some maps with my entries. Then I will explain how I produced them and all the details. Not too exciting actually.&lt;/p&gt;&lt;p&gt;btw: this entry might not work anymore after I cleaned up my webserver and have a proper workflow for my maps.&lt;/p&gt;&lt;br /&gt;
&lt;iframe width=&quot;425&quot; height=&quot;350&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; src=&quot;http://maps.google.com/maps?f=q&amp;amp;hl=en&amp;amp;geocode=&amp;amp;time=&amp;amp;date=&amp;amp;ttype=&amp;amp;q=http:%2F%2Fvollkorn.cryptobitch.de%2Fgmt%2Fdoc-web.kml&amp;amp;ie=UTF8&amp;amp;ll=25.267518,55.305004&amp;amp;spn=0.047377,0.03322&amp;amp;om=1&amp;amp;output=embed&amp;amp;s=AARTsJqe1FCZ-b3zK_L2svoOYet_UkD8VA&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;small&gt;&lt;a href=&quot;http://maps.google.com/maps?f=q&amp;amp;hl=en&amp;amp;geocode=&amp;amp;time=&amp;amp;date=&amp;amp;ttype=&amp;amp;q=http:%2F%2Fvollkorn.cryptobitch.de%2Fgmt%2Fdoc-web.kml&amp;amp;ie=UTF8&amp;amp;ll=25.267518,55.305004&amp;amp;spn=0.047377,0.03322&amp;amp;om=1&amp;amp;source=embed&quot; style=&quot;color:#0000FF;text-align:left&quot;&gt;View Larger Map&lt;/a&gt;&lt;/small&gt; 
    </content:encoded>

    <pubDate>Sun, 04 Nov 2007 17:23:16 +0100</pubDate>
    <guid isPermaLink="false">http://vollkorn.cryptobitch.de/index.php?/archives/16-guid.html</guid>
    
</item>
<item>
    <title>Gallery2</title>
    <link>http://vollkorn.cryptobitch.de/index.php?/archives/17-Gallery2.html</link>
            <category>technique</category>
    
    <comments>http://vollkorn.cryptobitch.de/index.php?/archives/17-Gallery2.html#comments</comments>
    <wfw:comment>http://vollkorn.cryptobitch.de/wfwcomment.php?cid=17</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://vollkorn.cryptobitch.de/rss.php?version=2.0&amp;type=comments&amp;cid=17</wfw:commentRss>
    

    <author>nospam@example.com (Jan Girlich)</author>
    <content:encoded>
    &lt;br /&gt;
Since I had problems with the built-in gallery of serendipity, like the thumbnails were square and thus stretched or the UTF8 encoded comments were not shown properly, I switched to &lt;a href=&quot;http://gallery.menalto.com/&quot; title=&quot;a pretty nice web gallery&quot;&gt;gallery2&lt;/a&gt;. This gallery works fine and is even integrateable into serendipity. Plus it has a remote plugin which allows other programs to upload pictures directly. Like for example &lt;a href=&quot;http://f-spot.org/Main_Page&quot;&gt;f-spot&lt;/a&gt; which I use to organize my photos. Pretty nifty just to click something like &amp;quot;upload&amp;quot; and a moment later all the pictures you had marked are uploaded in your photo gallery. OTOH I had to break the sophisticated security features of gallery2 in order to present the pictures in the right way as needed by the google maps overlays I generate for my travel routes with integrated pictures.&lt;br /&gt;&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://vollkorn.cryptobitch.de/index.php?/archives/17-Gallery2.html#extended&quot;&gt;&quot;Gallery2&quot; vollständig lesen&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 30 Oct 2007 10:04:00 +0100</pubDate>
    <guid isPermaLink="false">http://vollkorn.cryptobitch.de/index.php?/archives/17-guid.html</guid>
    
</item>
<item>
    <title>Unicode in usergallery</title>
    <link>http://vollkorn.cryptobitch.de/index.php?/archives/4-Unicode-in-usergallery.html</link>
            <category>technique</category>
    
    <comments>http://vollkorn.cryptobitch.de/index.php?/archives/4-Unicode-in-usergallery.html#comments</comments>
    <wfw:comment>http://vollkorn.cryptobitch.de/wfwcomment.php?cid=4</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://vollkorn.cryptobitch.de/rss.php?version=2.0&amp;type=comments&amp;cid=4</wfw:commentRss>
    

    <author>nospam@example.com (Jan Girlich)</author>
    <content:encoded>
    &lt;br /&gt;
Unfortunately the &lt;a href=&quot;http://spartacus.s9y.org/index.php?mode=bygroups_event_en&quot;&gt;usergallery plugin&lt;/a&gt; for &lt;a href=&quot;http://s9y.org/&quot;&gt;serendipity&lt;/a&gt; which I use doesn&#039;t handle Unicode User Comments of EXIF headers properly. So the comments are pretty much unreadable (have a look on any picture in the gallery) but I filed a &lt;a href=&quot;http://board.s9y.org/viewtopic.php?t=10681&quot;&gt;bug report&lt;/a&gt;. Hopefully there will be some solution. If so you&#039;ll be informed about that here and advised to go through the pictures again to read all the nice comments &lt;img src=&quot;http://vollkorn.cryptobitch.de/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;.&lt;br /&gt; &lt;a href=&quot;http://board.s9y.org/viewtopic.php?t=10681&quot;&gt;&lt;/a&gt;&lt;p&gt;&lt;br /&gt;
&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sun, 12 Aug 2007 17:40:32 +0200</pubDate>
    <guid isPermaLink="false">http://vollkorn.cryptobitch.de/index.php?/archives/4-guid.html</guid>
    
</item>

</channel>
</rss>