Shared Know How


Howto: fix, find, use, make & do it guide

Archive for the ‘linux’ Category

Evolution importing old mail in Ubuntu Intrepid 8.10 hangs

author Posted by: Tim on date Oct 31st, 2008 | filed Filed under: linux

Ofcourse yesterday when the new Ubuntu 8.10 came out I couldn't wait to install the new version. I came across a big problem though that evolution was hanging on importing/migrating my old mail. I tried to copy my old .evolution folder and even importing a backup I made.

Evolution segfaulted with the following line in messages

[   56.897763] evolution[6320]: segfault at 0 ip b6a45d07 sp bff95824 error 4 in libglib-2.0.so.0.1800.2[b69e9000+b5000]

It turns out that importing fails on the ev-summary files in ~/.evolution/

The solution is deleting those ev-summary files. They will be regenerated by evolution. Because I have dozens of folders in my evolution I used the following line:

find ~/.evolution -name *ev-summary -print0 | xargs -0 rm

after that  evolution works just fine.

Linux PPTP VPN server install for use with Iphone

author Posted by: Tim on date Sep 28th, 2008 | filed Filed under: iphone, linux

I was looking into getting an vpn connection from my iphone to my server because I wouldn't want to send my email passwords and webpasswords clear over any public WIFI. Setting up an open source vpn connection from the Iphone is fairly simple but there is not much choiche of software. To my knowledge OpenVPN and Openswan are not supported so my choiche came down to: Poptop which is probably not the most secure solution because it's uses the Microsoft protocol which has a few flaws but I figured it would be much safer then nothing and if there is an evil WIFI I would guess they will just go for the easy targets.

My install is a CentOS 5.2 installation but it should work under any fairly recent Linux distribution

Setting Poptop VPN for Iphone is done in just four steps:

Read more »

AF9015 – equinux tubestick under Ubuntu

author Posted by: Tim on date Sep 5th, 2008 | filed Filed under: linux

Installing drivers for the af9015 sold as the Equinux tubestick and numerous other brands for Linux is pretty easy to find & install. Go to http://linuxtv.org/hg/~anttip/af9015/ and download the latest drivers.

We need to build these drivers so make sure you installed the following packages

build-essential
linux-headers-generic

Read more »

Installing netatalk under CentOS 5 with Leopard support

author Posted by: Tim on date May 2nd, 2008 | filed Filed under: linux

I had a old installation on our personal server of Netatalk withouth encrypted password support. This is fine when you are on your local network and use Tiger but with Leopard this is no longer supported.

I used netatalk-2.0.3

First time I tried to install under centOS5 I got an error

cnid_index.c:277: warning passing argument 2 of 'db->stat' from incompatible pointer type
cnid_index.c:277: error: too few arguments to function 'db->stat'

after some googling I found out that this has to do with support for an outdated Berkeley DB.

Read more »

handy .htaccess settings I use in a row

author Posted by: Tim on date Apr 16th, 2008 | filed Filed under: linux

I always keep on reinventing the wheel when it comes to .htaccess settings like for automatic redirect to https://, utf-8 character settings or custom error documents. Here are some settings I use.

Read more »