Total Pageviews

Friday, 23 March 2012

Install Cisco VPN Client on Ubuntu 10.10

I just upgraded my OS from Ubuntu 10.04 (Karmic Koala) to Ubuntu 10.10 (Maverick Meerkat) yesterday and as usual the Cisco VPN client wasn’t working. So I had to patch it. Below is the *how to* for installing Cisco VPN client on Ubuntu 10.10.
Assuming you already have the Cisco VPN client (vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz) downloaded. Lets extract it and then enter into the directory.
shuvo@shuvo:~$ tar -zxvf vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz
vpnclient/
vpnclient/libvpnapi.so
…..
…..
vpnclient/Makefile
vpnclient/AMD-PATCH-README.txt
shuvo@shuvo:~$ cd vpnclient/
Now download the patch and apply it.
shuvo@shuvo:~/vpnclient$ wget http://files.shuvoovuhs.com/fixes.patch
–2010-10-15 10:13:23– http://files.shuvoovuhs.com/fixes.patch
Resolving files.shuvoovuhs.com… 67.222.1.28
Connecting to files.shuvoovuhs.com|67.222.1.28|:80… connected.
…..
…..
100%[==========================>] 8,448 3.07K/s in 2.7s
2010-10-15 10:13:29 (3.07 KB/s) – `fixes.patch’ saved [8448/8448]
shuvo@shuvo:~/vpnclient$ patch < ./fixes.patch
patching file frag.c
patching file interceptor.c
…..
patching file linuxkernelapi.c
patching file Makefile
After patching lets install the VPN client!
shuvo@shuvo:~/vpnclient$ sudo ./vpn_install
Cisco Systems VPN Client Version 4.8.02 (0030) Linux Installer
Copyright (C) 1998-2006 Cisco Systems, Inc. All Rights Reserved.
…..
…..
Directory where binaries will be installed [/usr/local/bin]
…..
…..
/opt/cisco-vpnclient (group bin readable)
/etc/opt/cisco-vpnclient (permissions not changed)
* You may wish to change these permissions to restrict access to root.
* You must run “/etc/init.d/vpnclient_init start” before using the client.
* This script will be run AUTOMATICALLY every time you reboot your computer.
Now that we are done installing the VPN client lets see if its working :) First start the VPN client.
shuvo@shuvo:~/vpnclient$ sudo /etc/init.d/vpnclient_init start
Starting /opt/cisco-vpnclient/bin/vpnclient: Done
Finally put your .pcf file in /etc/opt/cisco-vpnclient/Profiles/ directory and try to connect.
shuvo@shuvo:~/vpnclient$ vpnclient connect fairfax
Cisco Systems VPN Client Version 4.8.01 (0640)
Copyright (C) 1998-2007 Cisco Systems, Inc. All Rights Reserved.
Client Type(s): Linux
Running on: Linux 2.6.35-22-generic #34-Ubuntu SMP Sun Oct 10 10:24:00 UTC 2010 i686
Config file directory: /etc/opt/cisco-vpnclient
…..
…..
The server has requested the following information to complete the user authentication:
Username [shuvo]:
Credit for the patch file goes to L.A.M.N.K 
from http://www.shuvoovuhs.com/linux/install-cisco-vpn-client-on-ubuntu-10-10-maverick-meerkat/ 

No comments:

Post a Comment