LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-30-2007, 11:51 AM   #1
jp-lack
Member
 
Registered: Mar 2005
Location: NJ - US
Distribution: Slackware
Posts: 93

Rep: Reputation: 15
cisco client


Hi;

I need to vpn into my office and I'm trying to use cisco vpn client; however, I'm not able to connect.

here's the error after I entered my username and pwd

Code:
vpnc: can't open /dev/net/tun, check that it is either device char 10 200 or (with DevFS) a symlink to ../misc/net/tun (not misc/net/tun): No such device
vpnc: can't initialise tunnel interface: No such device

root@zion:/usr/src/linux# ls -l /dev/net/tun
crw-r--r-- 1 root root 10, 200 20root@zion:/usr/src/linux# grep "IPIP" .config
CONFIG_NET_IPIP=y
07-01-30 12:33 /dev/net/tun


the kernel is ok tho

root@zion:/usr/src/linux# grep "IPIP" .config
CONFIG_NET_IPIP=y

I'm using eth1 (wireless card) to connect

any ideas would be really appreciated

thx
 
Old 01-30-2007, 11:58 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
generally looks fine, my tun is 600 not 644, but that's probably irrelevant. try adding --debug 3 to the command line for more verbose output
 
Old 01-30-2007, 12:16 PM   #3
jp-lack
Member
 
Registered: Mar 2005
Location: NJ - US
Distribution: Slackware
Posts: 93

Original Poster
Rep: Reputation: 15
not much difference

hex_test: 00010203
vpnc version 0.3.3
S1
S2
S3
vpnc: can't open /dev/net/tun, check that it is either device char 10 200 or (with DevFS) a symlink to ../misc/net/tun (not misc/net/tun): No such device
using interface
vpnc: can't initialise tunnel interface: No such device


now I'm confuse :P ... it asked me for IPSec ID for <gateway> and IPSec Secret, after that it asked me for username and password. My net admin only gave me username and pwd is that the same for both cases?

Enter IPSec gateway address: <gateway>
Enter IPSec ID for <gateway>: user
Enter IPSec secret for user@<gateway>:
Enter username for <gateway> user
Enter password for user@<gateway>:
 
Old 01-30-2007, 01:22 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
well the associated code is prety basic...
Code:
	if ((fd = open("/dev/net/tun", O_RDWR)) < 0) {
		error(0, errno,
			"can't open /dev/net/tun, check that it is either device char 10 200 or (with DevFS) a symlink to ../misc/net/tun (not misc/net/tun)");
		return -1;
	}
you are running it as root? try " chmod 600 /dev/net/tun" for the sake of it too.

The way the cisco ezvpn services work is that you have a gateway (group) credential and then a user one. first you prove that you are allowed to try to establish a connection, the gateway section, typically a generic single thing, then you log in with the actual user details on a per user basis.
 
Old 01-30-2007, 06:37 PM   #5
jp-lack
Member
 
Registered: Mar 2005
Location: NJ - US
Distribution: Slackware
Posts: 93

Original Poster
Rep: Reputation: 15
mmmm.... do u know any other app I can use to VPN in into my office?
 
Old 01-31-2007, 03:17 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
well there's the official cisco client, but other than that, no, not if you need to access cisco vpn's with xauth support.
 
  


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 rgbeard Linux - Software 12 04-02-2008 11:44 PM
cisco vpn 4.6 client mnauta Linux - General 6 12-04-2005 06:03 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 11:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration