dreamcarrior
Group: Members
Posts: 17
Joined: Nov. 2005 |
|
Posted: 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!
-------------- 1.. Dell 700m 1.8GHz, 2GB RAM, 100GB HD, Fedora 4, Gnome 2. P-4 3.06 GHz, 3GB RAM, ATA160GB HD, SATA 500/500 GB RAID1, Fedora 6, Gnome
|