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.
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.gzNow download the patch and apply it.
vpnclient/shuvo@shuvo:~$ cd vpnclient/
vpnclient/libvpnapi.so
…..
…..
vpnclient/Makefile
vpnclient/AMD-PATCH-README.txt
shuvo@shuvo:~/vpnclient$ wget http://files.shuvoovuhs.com/fixes.patchAfter patching lets install the VPN client!
–2010-10-15 10:13:23– http://files.shuvoovuhs.com/fixes.patchshuvo@shuvo:~/vpnclient$ patch < ./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]
patching file frag.c
patching file interceptor.c
…..
patching file linuxkernelapi.c
patching file Makefile
shuvo@shuvo:~/vpnclient$ sudo ./vpn_installNow that we are done installing the VPN client lets see if its working :) First start the VPN client.
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.
shuvo@shuvo:~/vpnclient$ sudo /etc/init.d/vpnclient_init startFinally put your .pcf file in /etc/opt/cisco-vpnclient/Profiles/ directory and try to connect.
Starting /opt/cisco-vpnclient/bin/vpnclient: Done
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