Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Cisco VPN Client, Cisco install< Next Oldest | Next Newest >
aubads Offline





Group: Members
Posts: 11
Joined: Nov. 2005
Posted: Nov. 09 2005,23:13 QUOTE

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
Back to top
Profile PM 
dreamcarrior Offline





Group: Members
Posts: 17
Joined: Nov. 2005
Posted: Dec. 07 2005,02:46 QUOTE

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!


--------------
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
Back to top
Profile PM YIM 
dreamcarrior Offline





Group: Members
Posts: 17
Joined: Nov. 2005
Posted: Dec. 07 2005,07:40 QUOTE

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
Back to top
Profile PM YIM 
2 replies since Nov. 09 2005,23:13 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Cisco VPN Client

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code