Cisco VPN Client


Forum: Networking
Topic: Cisco VPN Client
started by: aubads

Posted by aubads on Nov. 09 2005,23:13
Attempting to remaster a CD with an additional application:
- Cisco VPN Client

Booted the DSL from CD.
Created HD partition
Copied files to partition
Chroot'd in partition

Uploaded linux Cisco VPN Client and attempted to run the install program.
Error is:
**********************************
.....
......
......
Making module
./driver_build.sh
Cisco Systems VPN Client

usage:
 ./driver_build.sh 'kernel_src_dir'

'kernel_src_dir' is the directory containing the linux kernel source

Failed to make module "cisco_ipsec".
***********************************************

Appreciate assistance with how to resolve.
Very new to topic


regards
Simon

Posted by dreamcarrior on Dec. 07 2005,02:46
I downloaded the vpnclient for linux from one of the universities. I then followed the same procedure that the readme file provided, but what I got were errors. I know that I needed kernel source, so I downloaded the kernelsource.dsl. Since I am using dsl 2.0, and the kernel version is 2.4.31, the kernel source version is 2.4.26. The error came out as not able to match kernel source header. Does anyone know where to get the kernel source for 2.4.31?

Thanks!

Posted by dreamcarrior on Dec. 07 2005,07:40
I downloaded the kernel source 2.4.31 from kernel.org. Then I extracted the source to one of the directories and used
   " mount --bind /directory /usr/src/linux-2.4.31"
then I removed the linux link to the original source /usr/src/linux-2.4.26, and remade another symbolic link to /usr/src/linux-2.4.31.

I also extracted vpnclient-linux4.7.tar.gz obtained from the link < http://www.cites.uiuc.edu/vpn/download-install.html > to a dedicated directory. It has the following files
Cniapi.h               cvpnd                  linuxcniapi.h
GenDefs.h              driver_build.sh        linuxcniapi.o
IPSecDrvOSFunctions.h  frag.c                 linuxkernelapi.c
IPSecDrvOS_linux.c     frag.h                 linuxkernelapi.o
IPSecDrvOS_linux.h     frag.o                 mtu.h
IPSecDrvOS_linux.o     install.std            sample.pcf
MacConnect.pcf         interceptor.c          unixcniapi.h
Makefile               interceptor.o          unixkernelapi.h
McMasterVPN.pcf        ipseclog               vpn_install
cisco_cert_mgr         libdriver.so           vpn_ioctl_linux.h
cisco_ipsec            libdriver64.so         vpn_uninstall
cisco_ipsec.ko         libvpnapi.so           vpnapi.h
cisco_ipsec.mod.c      license.rtf            vpnclient
cisco_ipsec.mod.o      license.txt            vpnclient.ini
cisco_ipsec.o          linux_os.h             vpnclient_init
config.h               linuxcniapi.c

I have tried to install the package many times, and I failed with compiler error. So I went into modify driver_build.sh.  

I changed $CC=cc to $CC=gcc.

Then I could compile the package and no errors were found. However, after the installation, I cannot initiate the service with the "vpnclient_init start" command. It shows the following error,

bash-2.05b# ./vpnclient_init start
Starting /opt/cisco-vpnclient/bin/vpnclient: /lib/modules/2.4.31/CiscoVPN/cisco_ipsec: couldn't find the kernel version the module was compiled for
Failed (insmod)

May someone help me on this?

Thanks!

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.