Sunday, March 21, 2010

VPN on Ubuntu 9.1

I wanted to write about how awesome Ubuntu9.1 was when it came to accepting my ancient Netgear wireless card from 2004 (w/o a single keystroke), installing Skype and Logitech Quickcam Pro 9000 (no installation required), but the VPN installation has caused enough heartburn to prevent me from appreciating the previous breezes. Here go my whinings:

1. I downloaded vpnclient-linux-4.8.01.0640-k9.tar.gz
2. Patched with this file vpnclient-linux-4.8.01-64bit.patch (from http://projects.tuxx-home.at/ciscovpn/patches/)
3. Ran 'bash vpn_install' (went w/o incident)
4. /etc/init.d/vpnclient_init start --> This died with the following error:
Starting /opt/cisco-vpnclient/bin/vpnclient: insmod: error inserting '/lib/modules/2.6.31-14-generic/CiscoVPN/cisco_ipsec.ko': -1 Invalid module format
Failed (insmod)
5. I also tried repatching using vpnclient-linux.2.6.31.diff since this guy seems to have had success with it.

And for the life of me I can't find a working solution online. I am temporarily giving up on it with the following doubts lingering:
1. The "64bit" in vpnclient-linux-4.8.01-64bit.patch makes me very suspicious. But this is the only Cisco vpn client my lab distributes for Linux users. Any and all useful inputs are welcome!

Edit (22nd March):

I fixed the problem by installing vpnc
>sudo apt-get install network-manager-vpnc
and pcf2vpnc
>wget http://svn.unix-ag.uni-kl.de/vpnc/trunk/pcf2vpnc
>./pcf2vpnc xxx.pcf > xxx.conf
>sudo vpnc xxx.conf
Viola! Life's good again. Thanks to this site and this one for clarifying the difference between a .pcf and a .conf file.

No comments:

Post a Comment