[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] tun Device Error


  • Subject: [Openvpn-users] tun Device Error
  • From: Ryan Nielsen <ryan@xxxxxxxxxxxxxxxxx>
  • Date: Tue, 16 Dec 2003 16:05:31 -0700

I have set up two machines with OpenVPN 1.4.3. They are Debian running a 2.4.18 kernel. I used the HowTo on OpenVPN's site to set both machines up. I was able to get the tun device to work for a while, and then it started giving me this error when trying to run: openvpn --config [file]:

-----------------------------

Tue Dec 16 15:31:40 2003 0[0]: Current Parameter Settings:
Tue Dec 16 15:31:40 2003 1[0]: persist_config = DISABLED
Tue Dec 16 15:31:40 2003 2[0]: persist_mode = 1
Tue Dec 16 15:31:40 2003 3[0]: show_ciphers = DISABLED
Tue Dec 16 15:31:40 2003 4[0]: show_digests = DISABLED
Tue Dec 16 15:31:40 2003 5[0]: genkey = DISABLED
Tue Dec 16 15:31:40 2003 6[0]: askpass = DISABLED
Tue Dec 16 15:31:40 2003 7[0]: show_tls_ciphers = DISABLED
Tue Dec 16 15:31:40 2003 8[0]: local = '10.0.100.20'
Tue Dec 16 15:31:40 2003 9[0]: remote = '10.0.100.10'
Tue Dec 16 15:31:40 2003 10[0]: local_port = 5000
Tue Dec 16 15:31:40 2003 11[0]: remote_port = 5000
Tue Dec 16 15:31:40 2003 12[0]: remote_float = DISABLED
Tue Dec 16 15:31:40 2003 13[0]: ipchange = '[UNDEF]'
Tue Dec 16 15:31:40 2003 14[0]: bind_local = ENABLED
Tue Dec 16 15:31:40 2003 15[0]: dev = 'tun'
Tue Dec 16 15:31:40 2003 16[0]: dev_type = '[UNDEF]'
Tue Dec 16 15:31:40 2003 17[0]: dev_node = '[UNDEF]'
Tue Dec 16 15:31:40 2003 18[0]: tun_ipv6 = DISABLED
Tue Dec 16 15:31:40 2003 19[0]: ifconfig_local = '192.168.0.187'
Tue Dec 16 15:31:40 2003 20[0]: ifconfig_remote = '10.0.0.3'
Tue Dec 16 15:31:40 2003 21[0]: shaper = 0
Tue Dec 16 15:31:40 2003 22[0]: tun_mtu = 1300
Tue Dec 16 15:31:40 2003 23[0]: tun_mtu_defined = DISABLED
Tue Dec 16 15:31:40 2003 24[0]: udp_mtu = 1300
Tue Dec 16 15:31:40 2003 25[0]: udp_mtu_defined = ENABLED
Tue Dec 16 15:31:40 2003 26[0]: tun_mtu_extra = 0
Tue Dec 16 15:31:40 2003 27[0]: mtu_discover_type = -1
Tue Dec 16 15:31:40 2003 28[0]: mlock = DISABLED
Tue Dec 16 15:31:40 2003 29[0]: inactivity_timeout = 0
Tue Dec 16 15:31:40 2003 30[0]: ping_send_timeout = 15
Tue Dec 16 15:31:40 2003 31[0]: ping_rec_timeout = 0
Tue Dec 16 15:31:40 2003 32[0]: ping_rec_timeout_action = 0
Tue Dec 16 15:31:40 2003 33[0]: ping_timer_remote = DISABLED
Tue Dec 16 15:31:40 2003 34[0]: persist_tun = DISABLED
Tue Dec 16 15:31:40 2003 35[0]: persist_local_ip = DISABLED
Tue Dec 16 15:31:40 2003 36[0]: persist_remote_ip = DISABLED
Tue Dec 16 15:31:40 2003 37[0]: persist_key = DISABLED
Tue Dec 16 15:31:40 2003 38[0]: passtos = DISABLED
Tue Dec 16 15:31:40 2003 39[0]: resolve_retry_seconds = 0
Tue Dec 16 15:31:40 2003 40[0]: username = '[UNDEF]'
Tue Dec 16 15:31:40 2003 41[0]: groupname = '[UNDEF]'
Tue Dec 16 15:31:40 2003 42[0]: chroot_dir = '[UNDEF]'
Tue Dec 16 15:31:40 2003 43[0]: cd_dir = '[UNDEF]'
Tue Dec 16 15:31:40 2003 44[0]: writepid = '[UNDEF]'
Tue Dec 16 15:31:40 2003 45[0]: up_script = './sales.up'
Tue Dec 16 15:31:40 2003 46[0]: down_script = '[UNDEF]'
Tue Dec 16 15:31:40 2003 47[0]: daemon = DISABLED
Tue Dec 16 15:31:40 2003 48[0]: inetd = DISABLED
Tue Dec 16 15:31:40 2003 49[0]: nice = 0
Tue Dec 16 15:31:40 2003 50[0]: verbosity = 6
Tue Dec 16 15:31:40 2003 51[0]: mute = 0
Tue Dec 16 15:31:40 2003 52[0]: gremlin = DISABLED
Tue Dec 16 15:31:40 2003 53[0]: comp_lzo = DISABLED
Tue Dec 16 15:31:40 2003 54[0]: comp_lzo_adaptive = ENABLED
Tue Dec 16 15:31:40 2003 55[0]: shared_secret_file = '[UNDEF]'
Tue Dec 16 15:31:40 2003 56[0]: ciphername_defined = ENABLED
Tue Dec 16 15:31:40 2003 57[0]: ciphername = 'BF-CBC'
Tue Dec 16 15:31:40 2003 58[0]: authname_defined = ENABLED
Tue Dec 16 15:31:40 2003 59[0]: authname = 'SHA1'
Tue Dec 16 15:31:40 2003 60[0]: keysize = 0
Tue Dec 16 15:31:40 2003 61[0]: packet_id = ENABLED
Tue Dec 16 15:31:40 2003 62[0]: packet_id_file = '[UNDEF]'
Tue Dec 16 15:31:40 2003 63[0]: iv = ENABLED
Tue Dec 16 15:31:40 2003 64[0]: test_crypto = DISABLED
Tue Dec 16 15:31:40 2003 65[0]: tls_server = DISABLED
Tue Dec 16 15:31:40 2003 66[0]: tls_client = ENABLED
Tue Dec 16 15:31:40 2003 67[0]: ca_file = '/var/ssl/fac-ca.crt'
Tue Dec 16 15:31:40 2003 68[0]: dh_file = '[UNDEF]'
Tue Dec 16 15:31:40 2003 69[0]: cert_file = '/var/ssl/sales.crt'
Tue Dec 16 15:31:40 2003 70[0]: priv_key_file = '/var/ssl/private/sales.key'
Tue Dec 16 15:31:40 2003 71[0]: cipher_list = '[UNDEF]'
Tue Dec 16 15:31:40 2003 72[0]: tls_verify = '[UNDEF]'
Tue Dec 16 15:31:40 2003 73[0]: tls_timeout = 2
Tue Dec 16 15:31:40 2003 74[0]: renegotiate_bytes = 0
Tue Dec 16 15:31:40 2003 75[0]: renegotiate_packets = 0
Tue Dec 16 15:31:40 2003 76[0]: renegotiate_seconds = 3600
Tue Dec 16 15:31:40 2003 77[0]: handshake_window = 60
Tue Dec 16 15:31:40 2003 78[0]: transition_window = 3600
Tue Dec 16 15:31:40 2003 79[0]: single_session = DISABLED
Tue Dec 16 15:31:40 2003 80[0]: disable_occ = DISABLED
Tue Dec 16 15:31:40 2003 81[0]: tls_auth_file = '[UNDEF]'
Tue Dec 16 15:31:40 2003 82[0]: OpenVPN 1.4.3 i386-pc-linux-gnu [SSL] [LZO] [PTHREAD] built on Oct 9 2003
Tue Dec 16 15:31:40 2003 83[0]: UDP link local (bound): 10.0.100.20:5000
Tue Dec 16 15:31:40 2003 84[0]: UDP link remote: 10.0.100.10:5000
Tue Dec 16 15:31:40 2003 85[0]: Data Channel MTU parms [ udp_mtu=1300 extra_frame=41 extra_buffer=0 extra_tun=0 dynamic = [ mtu_min_initial=MTU_INITIAL_UNDEF mtu_max_initial=MTU_INITIAL_UNDEF mtu_initial=MTU_SET_TO_MAX mtu_min=141 mtu_max=1300 mtu=1300 ]]
Tue Dec 16 15:31:40 2003 86[0]: Control Channel MTU parms [ udp_mtu=1300 extra_frame=38 extra_buffer=0 extra_tun=0 dynamic = [ mtu_min_initial=MTU_INITIAL_UNDEF mtu_max_initial=MTU_INITIAL_UNDEF mtu_initial=MTU_SET_TO_MIN mtu_min=138 mtu_max=1300 mtu=138 ]]
Tue Dec 16 15:31:40 2003 87[0]: TUN/TAP device tun0 opened
Tue Dec 16 15:31:40 2003 88[0]: /sbin/ifconfig tun0 192.168.0.187 pointopoint 10.0.0.3 mtu 1259
Tue Dec 16 15:31:40 2003 89[0]: ./sales.up tun0 1259 1300 192.168.0.187 10.0.0.3


route: netmask doesn't match route address
Usage: route [-nNvee] [-FC] [<AF>] List kernel routing tables
route [-v] [-FC] {add|del|flush} ... Modify routing table for AF.

route {-h|--help} [<AF>] Detailed usage syntax for specified AF.
route {-V|--version} Display version/author and exit.

-v, --verbose be verbose
-n, --numeric don't resolve names
-e, --extend display other/more information
-F, --fib display Forwarding Information Base (default)
-C, --cache display routing cache instead of FIB

<AF>=Use '-A <af>' or '--<af>'; default: inet
List of possible address families (which support routing):
inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
x25 (CCITT X.25)

Tue Dec 16 15:31:40 2003 90[0]: script failed: shell command exited with error status: 4
Tue Dec 16 15:31:40 2003 91[0]: Exiting


-----------------------------

I have troubleshot this for about 2 days now, and was wondering if anyone has an answer or clue as to what might be wrong. Sorry in advance if this is overkill. I posted to the forum, but it didn't seem too active.

Thanks!


____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2003-12/msg00077.html on line 303

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2003-12/msg00077.html on line 303