Hi to all, guys!
I am trying to compile the Cisco vpnclient on my Opensuse 11.2 and (after some troubles) I got the module compiled and installed but when I try to load with insmod I got this error
I am able to use the vpnclient forcing the module with modprobe -f cisco_ipsec but I’d prefer to solve the ‘invalid format’ original problem.
I ‘googled’ around and it seems related with this warning during vpn_install script
“WARNING: Symbol version dump /usr/src/linux-2.6.31.12-0.2/Module.symvers
is missing; modules will have no dependencies and modversions.”
Therefore I’d say just symlink /usr/src/linux-2.6.31.12-0.2/Module.symvers to that location so the cisco build sees what it expects.
Another option might be to check out vpnc (it’s in the oss repo available through zypper). At work we have a cisco VPN and vpnc connects to it fine, it avoids having to install cisco’s awful VPN client software.
Hi, thanks for your suggestion. I did the symlink and the Warning is gone(!) but unfortunately not the problem
This is the output of the install script:
Making module
make -C /usr/src/linux SUBDIRS=/home/usr/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.31.12-0.2'
CC [M] /home/usr/vpnclient/linuxcniapi.o
CC [M] /home/usr/vpnclient/frag.o
CC [M] /home/usr/vpnclient/IPSecDrvOS_linux.o
CC [M] /home/usr/vpnclient/interceptor.o
CC [M] /home/usr/vpnclient/linuxkernelapi.o
LD [M] /home/usr/vpnclient/cisco_ipsec.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /home/usr/vpnclient/.libdriver.so.cmd for /home/usr/vpnclient/libdriver.so
CC /home/usr/vpnclient/cisco_ipsec.mod.o
LD [M] /home/usr/vpnclient/cisco_ipsec.ko
make[1]: Leaving directory `/usr/src/linux-2.6.31.12-0.2'
Copying module to directory "/lib/modules/2.6.31.12-0.2-default/CiscoVPN".
Already have group 'bin'
Creating start/stop script "/etc/init.d/vpnclient_init".
/etc/init.d/vpnclient_init
insserv: warning: script 'S01vpnclient_init' missing LSB tags and overrides
insserv: warning: script 'vpnclient_init' missing LSB tags and overrides
vpnclient_init 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Enabling start/stop script for run level 3,4 and 5.
insserv: warning: script 'vpnclient_init' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script `vpnclient_init'
vpnclient_init 0:off 1:off 2:off 3:on 4:off 5:on 6:off
Another option might be to check out vpnc (it’s in the oss repo available through zypper). At work we have a cisco VPN and vpnc connects to it fine, it avoids having to install cisco’s awful VPN client software.
I am already using the vpnc for many other VPNs but it doesn’t work with a new one and the native vpnclient seems the only solution
I tried changing many settings in KVPN/vpnc but without luck… my vpnc is:
vpnc version 0.5.2
Built without openssl (certificate) support.