LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   cisco client (https://www.linuxquestions.org/questions/slackware-14/cisco-client-524105/)

jp-lack 01-30-2007 11:51 AM

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

acid_kewpie 01-30-2007 11:58 AM

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

jp-lack 01-30-2007 12:16 PM

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>:

acid_kewpie 01-30-2007 01:22 PM

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.

jp-lack 01-30-2007 06:37 PM

mmmm.... do u know any other app I can use to VPN in into my office?

acid_kewpie 01-31-2007 03:17 AM

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


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