[plug] Cisco VPN client installation problems

Tomasz Grzegurzko tomasz89 at gmail.com
Fri Sep 8 23:03:33 WST 2006


caston at arach.net.au wrote:
> Hello,
> 
> First time I show my face here after my "final post" to the off-topic list.
> 
> At uni now I'm finding it much easier to study and get work done on assignments
> if I go an hide in the library than it is if I try to do them at home. The only
> problem is that I haven't yet got the Cisco VPN client working. I also tried
> vpnc but that seemed to reject the IPsec group password even though I throught I
> had decoded it.
> 
> I am running kubuntu. uname -a
> Linux durabook 2.6.15-1-k7 #1 Fri Feb 10 16:09:44 UTC 2006 i686 GNU/Linux
> 
> dpkg -l | grep linux-source
> ii  linux-source-2.6.15                    2.6.15-26.46                        
>    Linux kernel source for version 2.6.15 with
> 
> dpkg -l | grep linux-headers
> ii  linux-headers-2.6.15-1                 2.6.15-6                            
>    Common header files for Linux kernel 2.6.15
> ii  linux-headers-2.6.15-1-k7              2.6.15-6                            
>    Header files for Linux kernel 2.6.15 on AMD
> ii  linux-headers-2.6.15-26                2.6.15-26.46                        
>    Header files related to Linux kernel version
> ii  linux-headers-2.6.15-26-k7             2.6.15-26.46                        
>    Linux kernel headers 2.6.15 on AMD K7 SMP/UP
> ii  linux-headers-k7                       2.6.15.24                           
>    Linux kernel headers on AMD K7
> 
> apt-cache search linux-source | grep 2.6
> linux-source-2.6.15 - Linux kernel source for version 2.6.15 with Ubuntu patches
> 
> apt-cache search linux-source | grep 2.6
> linux-source-2.6.15 - Linux kernel source for version 2.6.15 with Ubuntu patches
> root at durabook:/home/chris/Desktop/vpnclient-linux-4.6.02.0030-k9/vpnclient# cat
> /etc/apt/sources.list
> deb http://au.archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
> deb http://security.ubuntu.com/ubuntu/ dapper-security main restricted universe
> multiverse
> deb http://au.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe
> multiverse
> deb http://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted
> universe multiverse
> 
> 
> 
> 
> This is more or less what happens when I try to install the Cisco VPN client:
> 
> Directory where binaries will be installed [/usr/local/bin]
> 
> Automatically start the VPN service at boot time [yes]n
> 
> 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.15-1-k7/build]
> 
> * Binaries will be installed in "/usr/local/bin".
> * Modules will be installed in "/lib/modules/2.6.15-1-k7/CiscoVPN".
> * The VPN service will *NOT* be started automatically at boot time.
> * Kernel source from "/lib/modules/2.6.15-1-k7/build" will be used to build the
> module.
> 
> Is the above correct [y]y
> 
> Making module
> make -C /lib/modules/2.6.15-1-k7/build
> SUBDIRS=/home/chris/Desktop/vpnclient-linux-4.6.02.0030-k9/vpnclient modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.15-1-k7'
>   CC [M]  /home/chris/Desktop/vpnclient-linux-4.6.02.0030-k9/vpnclient/linuxcniapi.o
> /home/chris/Desktop/vpnclient-linux-4.6.02.0030-k9/vpnclient/linuxcniapi.c: In
> function ‘CniInjectReceive’:
> /home/chris/Desktop/vpnclient-linux-4.6.02.0030-k9/vpnclient/linuxcniapi.c:312:
> error: ‘struct sk_buff’ has no member named ‘stamp’
> /home/chris/Desktop/vpnclient-linux-4.6.02.0030-k9/vpnclient/linuxcniapi.c: In
> function ‘CniInjectSend’:
> /home/chris/Desktop/vpnclient-linux-4.6.02.0030-k9/vpnclient/linuxcniapi.c:452:
> error: ‘struct sk_buff’ has no member named ‘stamp’
> make[2]: ***
> [/home/chris/Desktop/vpnclient-linux-4.6.02.0030-k9/vpnclient/linuxcniapi.o] Error 1
> make[1]: ***
> [_module_/home/chris/Desktop/vpnclient-linux-4.6.02.0030-k9/vpnclient] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-1-k7'
> make: *** [default] Error 2
> Failed to make module "cisco_ipsec.ko".
> 
> 
> thanks,
> 
> Chris
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
> 
It's not able to compile the module against the current kernel. Most 
likely because the kernel ABI has changed. They'll probably release the 
driver and rate it against some version of the kernel. In a nutshell: 
your kernel is either too new or too old. I'd try to get an 
updated/downgraded client software and see if that compiles/links 
against the kernel.

Tomasz



More information about the plug mailing list