cisco vpnclient and 11.3?

hallo forum,

has anyone tested the cisco vpnclient (the actual, proprietary cisco one, not vpnc) with 11.3’s kernel? I did some quick googling, and it looks like the patches that make it work on 2.6.31 still work on 2.6.32 (or at least ubuntu’s 2.6.32), but has anyone tried it on 11.3’s kernel?

thanks,
–russlar

I would really be interested in knowing if you get the cisco client to to work, and if you do, what you had to do to get it running…

After upgrading to 11.3, I went to my 11.2 folder where I had built and installed the Cisco client previously…

When I tried to install it under 11.3, I got this -

monty >>sudo sh vpn_install
Cisco Systems VPN Client Version 4.8.01 (0640) Linux Installer
Copyright (C) 1998-2006 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]no

In order to build the VPN kernel module, you must have the
kernel headers for the version of the kernel you are running.

Directory containing linux kernel source code [/lib/modules/2.6.34-12-desktop/build]

  • Binaries will be installed in “/usr/local/bin”.
  • Modules will be installed in “/lib/modules/2.6.34-12-desktop/CiscoVPN”.
  • The VPN service will NOT be started automatically at boot time.
  • Kernel source from “/lib/modules/2.6.34-12-desktop/build” will be used to build the module.

Is the above correct [y]

Shutting down /opt/cisco-vpnclient/bin/vpnclient: module cisco_ipsec is not running.
Stopped: /etc/init.d/vpnclient_init (VPN init script)
Making module
make -C /lib/modules/2.6.34-12-desktop/build SUBDIRS=/home/monty/downloads/ciscovpn/suse11.2_build/vpnclient modules
make[1]: Entering directory /usr/src/linux-2.6.34-12-obj/i386/desktop' make -C ../../../linux-2.6.34-12 O=/usr/src/linux-2.6.34-12-obj/i386/desktop/. modules CC [M] /home/monty/downloads/ciscovpn/suse11.2_build/vpnclient/linuxcniapi.o /home/monty/downloads/ciscovpn/suse11.2_build/vpnclient/linuxcniapi.c:14:28: fatal error: linux/autoconf.h: No such file or directory compilation terminated. make[4]: *** [/home/monty/downloads/ciscovpn/suse11.2_build/vpnclient/linuxcniapi.o] Error 1 make[3]: *** [_module_/home/monty/downloads/ciscovpn/suse11.2_build/vpnclient] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory /usr/src/linux-2.6.34-12-obj/i386/desktop’
make: *** [default] Error 2
Failed to make module “cisco_ipsec.ko”.

Fortunately I was able to connect using kvpnc… but I would prefer the Cisco client if possible… Any info would be appreciated…

Ah!.. I found an answer to my own question… I found a patch here Gentoo Bug 234361 - net-misc/cisco-vpnclient-3des-4.8.02.0030 version bump that fixes the build for kernels > 2.6.33

The patch file is - http://bugs.gentoo.org/attachment.cgi?id=232657

Installed like a charm!

mscroggi,

I didn’t understand how you got your VPN to work … could you explain please? I had 11.2 crash on me yesterday, so saw this as an opportunity to go to 11.3. But when trying to install VPN, I get the same error you get:

Setting permissions.
/opt/cisco-vpnclient/bin/cvpnd (setuid root)
/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.
  • The packaged Root Certificate was imported successfully.
  • 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.
    Regular Install
    Starting Cisco vpnclient…
    insmod: error inserting ‘/lib/modules/2.6.34-12-desktop/CiscoVPN/cisco_ipsec.ko’: -1 Invalid module format
    Building cisco_ipsec module for 2.6.34-12-desktop kernel FAILED.
    Check /usr/local/gds/vpnclient_install.log file for details.

Thanks

jd

What file did you patch? In other words, could you tell me the exact command you typed? Thanks.

Answer to my question: Download the patch file to the vpnclient directory, then: patch < 4.8.02.0030-autoconf.patch

However, I still got the following error:

vpnclient/interceptor.c: In function ‘interceptor_init’:
vpnclient/interceptor.c:134:8: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
vpnclient/interceptor.c:135:8: error: ‘struct net_device’ has no member named ‘get_stats’
vpnclient/interceptor.c:136:8: error: ‘struct net_device’ has no member named ‘do_ioctl’
vpnclient/interceptor.c: In function ‘add_netdev’:
vpnclient/interceptor.c:273:33: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
vpnclient/interceptor.c:274:8: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
vpnclient/interceptor.c: In function ‘remove_netdev’:
vpnclient/interceptor.c:296:12: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
make[4]: *** [/home/andras/Letöltés/vpnclient/interceptor.o] Error 1
make[3]: *** [_module_/home/andras/Letöltés/vpnclient] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.34-12-obj/i386/desktop'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".