LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-28-2007, 08:04 AM   #1
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
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.
 
Old 07-29-2007, 01:20 AM   #2
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
i prefer vpnc.
 
Old 08-30-2007, 03:22 PM   #3
Th3_J3st3R
Member
 
Registered: Mar 2003
Location: Milwaukee
Distribution: Slackware 12.0
Posts: 84

Rep: Reputation: 16
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.
 
Old 08-30-2007, 08:17 PM   #4
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Original Poster
Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
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...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco VPN Client rgbeard Linux - Software 12 04-02-2008 11:44 PM
Slackware * Cisco VPN client issue mmoser63 Linux - Networking 1 12-28-2004 03:17 PM
Cisco VPN-Client nodream Linux - Networking 3 12-23-2003 04:36 PM
Connect to Cisco VPN w/o Cisco VPN Client gboutwel Linux - Networking 4 02-07-2003 12:46 PM
cisco vpn client aqoliveira Linux - Networking 4 07-19-2002 08:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration