pyhton 2 complaining about PKCS12 format

If gam (the Google Apps Manager) on Debian shows an error like

NotImplementedError: PKCS12 format is not supported by the PyCrpto library. Try converting to a “PEM” (openssl pkcs12 -in xxxxx.p12 -nodes -nocerts > privatekey.pem) or using PyOpenSSL if native code is an option.

you are probably missing the python openssl package. Install it with

sudo apt-get install python-openssl

For Python 3 you will need python3-openssl instead.

AWStats cronjob not working

I had a strange problem on Ubuntu 10.04, the AWStats cronjob was not working even though everthing worked fine on the command line as root. The solution was to add /usr/bin/perl in front of /usr/lib/cgi-bin/ So here is the working cronjob, hope it helps.

*/10 * * * * /usr/bin/perl /usr/lib/cgi-bin/ -update

(replace with the part of the configuration file name, here it would be


connect to cisco vpn in debian

The default Debian setup only shows options to connect to OpenVPN and to Import from file. To connect to a Cisco VPN first install these packages:

vpnc network-manager-vpnc  network-manager-vpnc-gnome

After a restart of Network Manager (/etc/init.d/network-manager restart) you will have an additional option, Cisco Compatible VPN (vpnc).