LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-19-2006, 07:39 AM   #1
anadyr
Member
 
Registered: Mar 2003
Distribution: archlinux
Posts: 40

Rep: Reputation: 15
Cisco VPN once again


I know this program is very hard to install, but I have to use for my university
(please dont say: install vpnc, because I tried that many times already)

This is my problem: The VPN client seems to be installed properly, it compiles fine, and the module loads perfectly, but as soon as I try to connect, nothing happens, I just wait and wait and wait, and finally, after about 10 minutes it says:

initialization failed
The application was unable to communicate with the VPN sub-system

Did anybody experience this behaviour before? and how did you fix it? I get the same results in version 4.6, 4.7 and the latest 4.8...

running archlinux, custom kernel 2.6.16.5, gcc 3.4
 
Old 04-19-2006, 02:30 PM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,430

Rep: Reputation: 83
Yes, I did.

I am using Debian 2.6.10 and 2.6.15.6 gcc 3.3.5

Actually, I do not know how I fixed. I kept compliing everything (modules and kernels) again. then it works now. (4.6 4.7.4.8)

Although I did not use, ipseclog is supposed to be useful.
http://www.cisco.com/univercd/cc/td/...ser_gd/cli.htm

http://www.cdg.chalmers.se/VPN/Linux.en.html

Last edited by kaz2100; 04-19-2006 at 02:44 PM.
 
Old 04-20-2006, 02:12 PM   #3
anadyr
Member
 
Registered: Mar 2003
Distribution: archlinux
Posts: 40

Original Poster
Rep: Reputation: 15
Hmm,I tried several times already, GCC 4, GCC 3.4, GCC 3.3 and no results whatsoever...
 
Old 04-20-2006, 03:03 PM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,430

Rep: Reputation: 83
Whenever you changed version of vpn package, (or gcc ....), did you "make clean"?
 
Old 04-21-2006, 07:39 AM   #5
anadyr
Member
 
Registered: Mar 2003
Distribution: archlinux
Posts: 40

Original Poster
Rep: Reputation: 15
yes I did... very strange
 
Old 04-21-2006, 12:20 PM   #6
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,430

Rep: Reputation: 83
Are you wired? or wireless?
 
Old 04-21-2006, 01:19 PM   #7
onelung02
Member
 
Registered: Oct 2003
Location: utah
Distribution: Slackware 10.0, Gentoo 2006.0
Posts: 289

Rep: Reputation: 30
Well, according to the error you are not hitting the VPN system. Can you ping the IP?
 
Old 04-21-2006, 04:01 PM   #8
anadyr
Member
 
Registered: Mar 2003
Distribution: archlinux
Posts: 40

Original Poster
Rep: Reputation: 15
I am on wireless...
ping which IP? The IP I am supposed to get when I connect to the university network?
 
Old 04-22-2006, 08:09 AM   #9
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,430

Rep: Reputation: 83
#1, About onelung02's comment. vpnserver's IP, which is on pcf file. I think ping works.

#2, some wireless drivers may not like whatever protocol vpn uses. Try different one, if available. (make sure you "make clean").

#3, Try wherever wireless connection is good.

#4, With me, vpn screws up filesystem every once in a while. run fsck and see filesystem is OK. I do not know why, but when filesystem is broken, vpn does not work.
 
Old 04-23-2006, 07:07 AM   #10
vlad-the-emailer
LQ Newbie
 
Registered: Nov 2005
Posts: 23

Rep: Reputation: 15
VPN Subsystem

I had this as well and it turned out that the VPN backend hadn't fired up on boot although I'm sure I'd told it to during the install.

su into a terminal as root and type:

/etc/init.d/vpnclient_init status

You should get something like this:


Module Size Used by
cisco_ipsec 552156 0

cipsec0 Link encap:Ethernet HWaddr 00:0B:FC:F8:01:8F
inet6 addr: fe80::20b:fcff:fef8:18f/64 Scope:Link
UP RUNNING NOARP MTU:1356 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:8 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

If not type:

/etc/init.d/vpnclient_init start


then try the status line again.

Also make sure that if Openswan was installed at any point that it isn't running and make sure that a program called racoon isn't either. Use kpm (in KDE) or ps -A (in a terminal) to check for these.

Good luck,

Jools
 
  


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 andrewm659 Linux - Networking 3 12-23-2004 07:42 AM
Cisco VPN rdmapes Linux - Networking 0 10-07-2004 08:04 PM
Cisco VPN PlatinumRik Linux - Networking 1 08-12-2003 10:43 PM
Cisco VPN Teddy_Horse Linux - Software 0 08-07-2003 05:16 PM
Connect to Cisco VPN w/o Cisco VPN Client gboutwel Linux - Networking 4 02-07-2003 12:46 PM


All times are GMT -5. The time now is 06:10 AM.

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