[Vtun-Users] questions/faq didn't help (File descriptor in bad state)
Status: Inactive
Brought to you by:
mtbishop
|
From: <sl...@mo...> - 2001-11-27 23:26:27
|
I'm trying to network two machines with vtund, they both have the Universal Tun Driver. Vtund works fine on the machine linux, with the 2.2.20 kernel. Both machinse have identical /dev/tun*, /dev/tap* inodes. Both machines have /dev/net/tun identical also. I am using the default driver (seeing how the one provided by vtun.sourceforge.net didn't compile on 2.4.14) provided by the kernel. (configs) mystic - connection through ethernet (Linux mystic 2.4.14-grsec-1.8.8 #7 SMP Sun Nov 18 10:07:48 CST 2001 i686 unknown) linux - connection through ethernet (Linux linux 2.2.20 #3 Sat Nov 3 21:06:49 PST 2001 i586 unknown) (XXXXXXX is the destination ip address) Nov 27 18:16:34 mystic vtund[30492]: VTun client ver 2.5b1 11/15/2001 started Nov 27 18:16:34 mystic vtund[30492]: Connecting to XXXXXXX Nov 27 18:16:35 mystic vtund[30492]: Session mystic[XXXXXXXX] opened Nov 27 18:16:35 mystic modprobe: modprobe: Can't locate module char-major-90 Nov 27 18:16:35 mystic vtund[30492]: Can't allocate tun device. No such device(19) Nov 27 18:16:35 mystic vtund[30492]: Session mystic[XXXXXXXX] closed Nov 27 18:16:35 mystic vtund[30492]: Exit [root@mystic /dev]# cat /dev/net/tun cat: /dev/net/tun: File descriptor in bad state (working if this helps) linux:~# cat /dev/net/tun cat: /dev/net/tun: No such device (mystic) [root@mystic /dev]# ls -la /dev/tun* crw-r--r-- 1 root root 90, 0 May 16 2000 /dev/tun0 crw-r--r-- 1 root root 90, 1 May 16 2000 /dev/tun1 crw-r--r-- 1 root root 90, 2 May 16 2000 /dev/tun2 crw-rw-r-- 1 root root 90, 3 Nov 27 18:06 /dev/tun3 [root@mystic /dev]# ls -la /dev/tap* crw-r--r-- 1 root root 90, 128 May 16 2000 /dev/tap0 crw-r--r-- 1 root root 90, 129 May 16 2000 /dev/tap1 crw-r--r-- 1 root root 90, 130 May 16 2000 /dev/tap2 crw-r--r-- 1 root root 90, 131 Nov 27 18:10 /dev/tap3 [root@mystic /dev]# ls -la /dev/net total 88 drwxr-xr-x 2 root root 4096 Nov 27 18:02 . drwxr-xr-x 16 root root 81920 Nov 27 18:10 .. crw-r----- 1 root root 10, 200 Nov 27 18:02 tun [root@mystic /dev]# cat /etc/modules.conf |grep major-10 alias char-major-10-200 tun sl...@mo... |