Monday, December 12, 2011

Cisco vpn client on OpenSuse 12.1


wget http://hlavki.eu/download/vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz
tar -xvzf ./vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz
cd ./vpnclient

wget http://www.fseitz.de/download/vpnclient.patch-2.6.38
wget https://nowhere.dk/files/vpnclient_linux3.0.diff

patch < vpnclient.patch-2.6.38
patch < vpnclient_linux3.0.diff

./vpn_install

7 comments:

Blog4E said...

Great! Thanks.

Monda László said...

You're the man, thanks a lot for the instructions! I could build the client in no time this way.

I guess it's too much to ask from Cisco to provide a decent client that works out of the box.

Unknown said...

You rock!

Thanks!

Kasper Hedegaard said...

Hey! Awesome post - gj!

I can't build it due to lacking the kernel headers - where do I find those?

BR Kasper

Kasper Hedegaard said...
This comment has been removed by the author.
Kasper Hedegaard said...

Goes a little something like this:

Directory containing linux kernel source code []/usr/src/packages/SOURCES/

* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/3.1.0-1.2-desktop/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/usr/src/packages/SOURCES/" will be used to build the module.

Is the above correct [y]y

Making module
make -C /usr/src/packages/SOURCES/ SUBDIRS=/home/kasper/vpnclient modules
make[1]: Entering directory `/usr/src/packages/SOURCES'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src/packages/SOURCES'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
kasper@linux-mydr:~/vpnclient>

qubotz said...

Thanks Michal! I had to apply that patch too.

When I have that problem, I tried a couple of other VPN clients that I found there.