Patch Cisco VPN Client and Linux Kernel 2.6.24
Nuovo kernel nuova patch per il Cisco VPN Client che grazie ancora ad Alexander torna a funzionare senza problemi, ecco i passi da seguire per patchare il vostro client:
1. Untar the VPN Client
# tar xzf vpnclient-linux-4.8.01.0640-k9.tar.gz
2. Download the patch
# wget -q http://projects.tuxx-home.at/ciscovpn/patches/vpnclient-linux-2.6.24-final.diff
3. Change to the vpnclient diretory
# cd vpnclient
4. Apply the patch
# patch <../vpnclient-linux-2.6.24-final.diff
patching file GenDefs.h
patching file interceptor.c
Now the patch has been applied and you can safely install the client
#./vpn_install
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.
08:04 on September 5th, 2011
Hi, Neat post. There’s an issue with your web site in internet explorer, could check this? IE nonetheless is the market leader and a huge portion of people will omit your wonderful writing because of this problem.
09:41 on August 20th, 2011
Excellent weblog here! Additionally your website rather a lot up very fast! What web host are you using? Can I am getting your associate hyperlink in your host? I desire my web site loaded up as quickly as yours lol
02:16 on March 1st, 2011
I would personally recommend OverPlay VPN just an amazing service overall, great support as well
09:27 on February 24th, 2009
Thx ! This worked 4me on ubuntu 8.10.
05:12 on October 10th, 2008
No issues installing VPN Client Version 4.8.02 on 2.6.24-19-generic, after installing ‘build-essential’ and ‘linux-headers-generic’. No patches required.
20:34 on October 7th, 2008
I have this posible solution http://lubos.matejka.eu/download/vpnclient-2.6.26.patch
08:27 on October 6th, 2008
sudo /opt/vpnclient/vpn_install
Password:
Cisco Systems VPN Client Version 4.0.4 (B) Linux Installer
Copyright (C) 1998-2001 Cisco Systems, Inc. All Rights Reserved.
By installing this product you agree that you have read the
license.txt file (The VPN Client license) and will comply with
its terms.
Directory where binaries will be installed [/usr/local/bin]
Automatically start the VPN service at boot time [yes] y
In order to build the VPN kernel module, you must have the
kernel headers for the version of the kernel you are running.
For RedHat 6.x users these files are installed in /usr/src/linux by default
For RedHat 7.x users these files are installed in /usr/src/linux-2.4 by default
For Suse 7.3 users these files are installed in /usr/src/linux-2.4.10.SuSE by default
Directory containing linux kernel source code [] /lib/modules/2.6.18-6-486/
* Binaries will be installed in “/usr/local/bin”.
* Modules will be installed in “/lib/modules/2.6.18-6-486/CiscoVPN”.
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from “/lib/modules/2.6.18-6-486/” will be used to build the module.
Is the above correct [y] y
Making module
sh: ./driver_build.sh: No such file or directory
Failed to make module “cisco_ipsec.ko”.
Please give me the steps for installing VPN in debian linux environment
S.V.Sureshkumar
17:18 on September 18th, 2008
This will not install from a directory with spaces in it (ie, /home/user/my installers/vpnclient”). You have to move it somewhere without spaces. Lame, but that’s a fix.
07:26 on August 5th, 2008
It works with vpnclient-linux-x86_64-4.8.01.0640-k9 on Ubuntu 8.04.
For user natraj : your version of vpnclient is 4.8.00, you should try with version 4.8.01
07:27 on July 6th, 2008
My problem is because I am using 64-bit Ubuntu 8.04 hardy. Please refer to the webpage as follow:
http://www.lamnk.com/blog/domain/how-to-install-cisco-vpn-client-on-ubuntu-hardy-heron-804/
15:52 on July 5th, 2008
I successfully installed VPNclient before. When I reinstalled Ubuntu8.04, I failed to install it because this time I used a different sources.list. It seems to me that “linux-headers-2.6.24-19-generic” depending on the system is different from that I used before, such that I failed and got:
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic’
scripts/Makefile.build:46: *** CFLAGS was changed in “/home/patrick/software/vpnclient/Makefileâ€. Fix it to use EXTRA_CFLAGS. Stop.
Here I used a repository:
===========================================================
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
==> This command will add the Medibuntu repository to the package manager.
Now update package index (package list):
sudo apt-get update
A GPG-error on the Medibuntu’s repository will be reported. Do not worry, next command will fix it.
Medibuntu’s packages are signed with a private GPG security key. Add its public key part to the package system.
Run:
sudo apt-get -y –force-yes install medibuntu-keyring
Upgrade the system (if there are updates available):
sudo apt-get upgrade -y
============================================================
I believe when I didn’t use the medibuntu repository before I reinstalled Ubuntu8.04, I successfully installed vpnclient.
Any thoughts?
16:43 on July 3rd, 2008
It looks like i’ve found one problem. I got the same error as above.
I had the thing in a folder called /root/Software Bla/vpnclient/
when I changed it to /root/swbla/vpnclient/ so without the spaces I worked OK!!!
Hopefully it will work for other as well.
05:15 on July 3rd, 2008
I can’t get this working with kernel 2.6.24-19. linux-source and linux-generic-headers are installed via apt. Whether I point the install script at /lib/modules/2.6.24-19-generic or -modules, I get the following:
Making module
make -C /lib/modules/2.6.24-19-generic SUBDIRS=/home/dennis/scratch/vpnclient modules
make[1]: Entering directory `/lib/modules/2.6.24-19-generic’
make[1]: *** No rule to make target `modules’. Stop.
make[1]: Leaving directory `/lib/modules/2.6.24-19-generic’
make: *** [default] Error 2
Failed to make module “cisco_ipsec.ko”.
Any help for the n00b?
00:34 on July 2nd, 2008
Not working on OpenSUSE – works on Ubuntu fine.
14:39 on June 16th, 2008
thank you!
10:50 on June 16th, 2008
@Capo: everytime you install a new kernal image you have to re-install the vpn client just tipying: sudo ./vpn_install in the same dir you have installed it before.
10:24 on June 16th, 2008
Hi, i follow your guide, and now i’m able to connect with cisco vpn, but with thr upgrade of the kernel 2.6.24.19 the cisco system vpn client don’t work… so i have to run the 2.6.24.17 in order to connect. i’m new of ubuntu (and linux in general) but why it doesn’t work with an upgrade of the kernel? and how can i resolve it?
sorry for the bad english
09:47 on May 30th, 2008
[…] Ubuntu to 8.04, I received kernel 2.6.24-16 and then the VPN client broke as well. I had to apply a patch, which didn’t work: it couldn’t apply all changes. I then manually fixed the code to […]
14:53 on May 28th, 2008
if youre using Ubuntu ..make sure that build-essential and
linux-headers-generic are already installed ! works fine !
14:51 on May 28th, 2008
Youre my hero !