Saturday, June 23, 2007

Cisco VPNClient in Ubuntu Feisty Fawn

Ubuntu Feisty Fawn use Linux kernel version 2.6.20. This version is new, and unfortunately is not supported by Cisco VPNclient. However, there is a patch for Cisco VPNclient, so it can be compiled successfully for Feisty Fawn.

# change directory to Desktop
cd ~/Desktop

# download Cisco VPNclient (latest version)
wget ftp://ftp.cs.cornell.edu/pub/rvr/upload/vpnclient-linux-4.8.00.0490-k9.tar.gz

# download patch (latest version)
wget http://tuxx-home.at/projects/cisco-vpnclient/vpnclient-linux-2.6.22.diff

# extract vpnclient
tar -zxvf vpnclient-linux-4.8.00.0490-k9.tar.gz

# apply patch
cd vpnclient
cp ../vpnclient-linux-2.6.22.diff .
patch < vpnclient-linux-2.6.22.diff

# install patched vpnclient
sudo ./vpn_install

# start vpnclient
sudo /etc/init.d/vpnclient_init start

Next steps :
If you already have *.pcf files, then copy all *.pcf files into /etc/opt/cisco-vpnclient/Profiles/

To start the VPNclient session, then you could open gnome terminal and type the following command :

vpnstart connect MyProfile

NOTE
After vpnclient started, then I can't open rdesktop session to my XP VM. However, I can access the samba shared from the XP VM (via console). Weird.... (I'll troubleshoot it later when I have time).

No comments: