|
|
Hello, Trying to use openvpn and keep running into the following message: [root@sjl openvpn-1.1.1]# ./openvpn --remote sjl --dev tun0 --ifconfig 10.4.0.1 10.4.0.2 --verb 8 --mktun ..... 34: Cannot open TUN/TAP dev /dev/tun0: No such file or directory (errno=2) 35: Exiting Openvpn can never seem to find any tun devices. I've also tried "--dev net/tun" and "--dev /dev/net/tun0" and "--dev tun7" and always get the same result. I am running kernel 2.4.16, and have the tun/tap module installed. I've also created /dev/net/tun, and added the appropriate line into my modules.conf as outlined in the tun/tap module documentation. I'm trying this as root. Ifconfig also fails: [root@sjl openvpn-1.1.1]# ifconfig tun0 10.1.0.7 pointopoint 10.1.0.8 mtu 1450 SIOCSIFADDR: No such device tun0: unknown interface: No such device SIOCSIFDSTADDR: No such device tun0: unknown interface: No such device SIOCSIFMTU: No such device I noticed there used to be a "--mktun" flag, but that doesnt seem to be working for me either. What am I doing wrong? Thanks! Sean
[root@sjl openvpn-1.1.1]# ./openvpn --remote sjl --dev tun0 --ifconfig 10.4.0.1 10.4.0.2 --verb 8 --mktun 0: Current Parameter Settings: 1: local = '(null)' 2: remote = 'sjl' 3: local_port = 5000 4: remote_port = 5000 5: remote_float = DISABLED 6: ipchange = '(null)' 7: bind_local = ENABLED 8: dev = 'tun0' 9: ifconfig_local = '10.4.0.1' 10: ifconfig_remote = '10.4.0.2' 11: shaper = 0 12: tun_mtu = 1450 13: tun_mtu_defined = DISABLED 14: udp_mtu = 1500 15: udp_mtu_defined = ENABLED 16: tun_af_inet = DISABLED 17: mlock = DISABLED 18: inactivity_timeout = 0 19: ping_send_timeout = 0 20: ping_rec_timeout = 0 21: username = '(null)' 22: chroot_dir = '(null)' 23: up_script = '(null)' 24: down_script = '(null)' 25: daemon = DISABLED 26: nice = 0 27: verbosity = 8 28: gremlin = DISABLED 29: OpenVPN 1.1.1 Built On Apr 26 2002 30: UDP link local (bound): [undef] 31: UDP link remote: 10.50.4.125 32: ******* WARNING *******: OpenVPN built without OpenSSL -- encryption and authentication features disabled -- all data will be tunnelled as cleartext 33: Data Channel MTU parms: mtu=1500 extra_frame=0 extra_buffer=0 extra_tun=0 34: Cannot open TUN/TAP dev /dev/tun0: No such file or directory (errno=2) 35: Exiting _______________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users |