LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 12 and Cisco VPN Client 4.8.x (https://www.linuxquestions.org/questions/slackware-14/slackware-12-and-cisco-vpn-client-4-8-x-572947/)

tronayne 07-28-2007 08:04 AM

Slackware 12 and Cisco VPN Client 4.8.x
 
After upgrading Slackware 11.0 to 12.0 I had problems with Cisco's VPN Client not wanting to work or reinstall. Here's what I did to get it going.

I have vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz, so this is limited to that version (there may be a more current version; I can't find it so this is what I'm going with for now).

I need two things to get the client installed: a compiled kernel tree and a patch file so the client will compile.

I copy the config file found in the directory where the kernel I install is on disk 1 of the CD-ROM distribution set to the .config file in /usr/src/linux (with is a link to the actual kernel source tree). I compile the kernel (make) and the modules (make modules); I do not execute make install or make modules_install (using the config file from the install disk means that I've got the exact configuration used to build the installed kernel). The whole purpose of doing this is to create the files needed by the VPN client (and, possibly, other drivers and such later).

The patch file is available at
Code:

wget -q http://tuxx-home.at/projects/cisco-vpnclient/vpnclient-linux-2.6.22.diff
It is installed by
Code:

tar -xvzf vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz
cd vpnclient
patch ../vpnclient-linux-2.6.22.diff
patching file frag.c
patching file interceptor.c
patching file IPSecDrvOS_linux.c
patching file linuxcniapi.c
patching file linux_os.h

Then
Code:

vpn_install
One final thing that seems to just need to happen is
Code:

chmod 4755 /opt/cisco-vpnclient/bin/cvpnd
You'll know to do that so a user can start VPN; otherwise there will be file modification failures.

Obviously, you must be logged in as root to do all the above.

erklaerbaer 07-29-2007 01:20 AM

i prefer vpnc.

Th3_J3st3R 08-30-2007 03:22 PM

tronayne:
Im trying to follow what you did and the patch just hangs. im using kernel 2.6.21.5 and vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz
Its giving me the cannot find config.h

I changed all the config.h headers to autoconf.h but now its giving me invalid pointer types. I know the patch is for 2.6.22 but there does not seem to be a patch for this version. I really need to connect to campus so if anyone could help that would be great.

tronayne 08-30-2007 08:17 PM

The patch is for kernel version 2.6.22. You may want to go to the web site and look around? http://tuxx-home.at/projects/cisco-vpnclient may be a good start.

Otherwise, I'd consider an upgrade to Slackware 12...


All times are GMT -5. The time now is 03:53 AM.