LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-07-2008, 09:35 AM   #1
revof11
Member
 
Registered: Nov 2003
Location: Macungie, PA
Distribution: Fedora Core 9, Gentoo 2008.0
Posts: 108

Rep: Reputation: 15
Cisco VPN Client (4.8.01.0640-k9) and 2.6.24 Kernel


I am currently have problems using the Cisco VPN Client for Linux ( vpnclient-linux-x86_64-4.8.01.0640-k9) and my 2.6.24 kernel (2.6.24.3-12.fc8). It seems to have mixed results, but the most comment error I get is this:

Code:
[revof11@xfedora vpn]$ vpnclient connect workvpn
Cisco Systems VPN Client Version 4.8.01 (0640)
Copyright (C) 1998-2007 Cisco Systems, Inc. All Rights Reserved.
Client Type(s): Linux
Running on: Linux 2.6.24.3-12.fc8 #1 SMP Tue Feb 26 14:21:30 EST 2008 x86_64
Config file directory: /etc/opt/cisco-vpnclient

Initializing the VPN connection.
The VPN sub-system is busy or has failed.
I installed using the following procedure (as root, obviously):

Code:
tar -zxvf vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz
cd vpnclient
patch < cisco_skbuff_offset.patch
patch < vpnclient-linux-2.6.24-final.diff
vim Makefile
./vpn_install
/etc/init.d/vpnclient_init restart
chmod 4111 /opt/cisco-vpnclient/bin/cvpnd/
When editing the Makefile I just change the CFLAGS variable in the Makefile to EXTRA_CFLAGS (it's on line 15 if you are using the same version of the Cisco VPN Client that I am).

The patches I'm using are from the following locations:
The strange thing is that, occasionally, if I reinstall it works perfect... but just once. Does anyone have any ideas on how to fix this or anything? It's pretty frustrating and I'd hate to have to revert back to the 2.6.22 kernel.

Last edited by revof11; 03-07-2008 at 09:36 AM.
 
Old 03-08-2008, 09:56 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 79
Have you tried enabling logging to see if there are clues? Open a second terminal window to start and watch the logging. The vpnlogfile name is user defined and is placed where the user wants it, /var/log/vpnlogfile would be a good suggestion.
Code:
# vi /etc/opt/cisco-vpnclient/vpnclient.ini
EnableLog=0 to EnableLog=1
Code:
# /etc/init.d/vpnclient_init restart
# /usr/local/bin/ipseclog /path/to/vpnlogfile &
# tail -f /path/to/vpnlogfile

Start VPN session on another terminal window

$ vpnclient connect workvpn

Return to the VPN logging terminal window and see
if there are any clues as to why the connection is failing
You say the connection works once, so I suspect the cisco_ipsec module is at fault. Restarting the vpnclient_init is supposed to remove and load the module.

Last edited by bsdunix; 03-08-2008 at 09:57 AM.
 
Old 03-10-2008, 12:10 AM   #3
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Rep: Reputation: 31
Try using vpnc - has been very successful for me (with 2.6.24 as well)
 
Old 03-19-2008, 07:12 AM   #4
revof11
Member
 
Registered: Nov 2003
Location: Macungie, PA
Distribution: Fedora Core 9, Gentoo 2008.0
Posts: 108

Original Poster
Rep: Reputation: 15
I was actually able to get it working with just a simple reboot. I'm not sure what the issue was, but that fixed it. I updated the kernel again (an even newer version) and the same thing fixed it.

Next time I'm going to try it with debug on after I recompile/reset it to see if I can figure out what is actually wrong.
 
Old 03-20-2008, 12:01 PM   #5
NBU
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
VPN Clinet on Fedora Core 8 with kernel 2.6.24.3-34

Try to follow recommendations on this page: http://ciscovpnclient.blogspot.com
 
Old 02-12-2010, 02:17 AM   #6
heavywizard
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
Cisco doesn't connect

Hi everybody, anyone found a solution for this problem?

I've got the same problem, but I cannot connect ever, any suggestions please?

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 on kernel v. 2.6.23.1-21.fc7 dylan912 Fedora 2 12-09-2007 06:30 PM
Cisco VPN Client 4.8 crashes smp kernel brigo Linux - Software 3 09-11-2007 02:04 PM
CISCO VPN Client and Kernel 2.6.13: Solved tronayne Linux - Networking 0 12-05-2005 01:27 PM
cisco vpn client with kernel 2.6.3 (mdk10) works C++Boar Mandriva 34 12-27-2004 08:56 AM
Cisco VPN Client on Debian with kernel 2.6.4 stephanhuiser Linux - Networking 1 06-17-2004 11:34 AM


All times are GMT -5. The time now is 01:05 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration