Page 1 of 1

Waiting for TUN/TAP interface to come up...

Posted: Tue Dec 29, 2009 1:34 pm
by iss42
Hello

On several machines, XP & Vista, I frequently get this error where the TUN/TAP message repeats and then "Initialization sequence completed with errors". In this case the VPN does not work.
After reconnect it often doesnt give this error and works but not always.

Tue Dec 29 13:10:30 2009 Successful ARP Flush on interface [17] {}
Tue Dec 29 13:10:35 2009 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Tue Dec 29 13:10:35 2009 Route: Waiting for TUN/TAP interface to come up...
.... many lines .....
Tue Dec 29 13:11:04 2009 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Tue Dec 29 13:11:04 2009 Route: Waiting for TUN/TAP interface to come up...
Tue Dec 29 13:11:05 2009 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Tue Dec 29 13:11:05 2009 C:\WINDOWS\system32\route.exe ADD 10.8.0.1 MASK 255.255.255.255 10.8.0.17
Tue Dec 29 13:11:05 2009 Warning: route gateway is not reachable on any active network adapters: 10.8.0.17
...
Tue Dec 29 13:12:14 2009 Initialization Sequence Completed With Errors ( see http://openvpn.net/faq.html#dhcpclientserv )

Any help appreciated.

Thanks
Ivan

Re: Waiting for TUN/TAP interface to come up...

Posted: Thu Dec 31, 2009 11:01 am
by iss42
Hello

When reconnects dont work I have found a work around which is to disable the network adapter in Windows and re-enable it then start OpenVPN.
Not an ideal solution for the users though - any help still needed and appreciated.

Client config:
dev tun
proto udp
remote xxx.xxx 1195
resolv-retry infinite
nobind
persist-key
persist-tun
ca xx.crt
cert xxx.crt
key xxx.key
ns-cert-type server
comp-lzo
verb 3

Re: Waiting for TUN/TAP interface to come up...

Posted: Wed Jan 13, 2010 12:54 pm
by iss42
Server config:
port 1195
proto udp
dev tun
ca ca.crt
cert xxxx.crt
key xxxxxx.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
duplicate-cn
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3

Re: Waiting for TUN/TAP interface to come up...

Posted: Mon Jan 25, 2010 8:00 am
by iss42
bump - anyone know about this?

Re: Waiting for TUN/TAP interface to come up...

Posted: Wed Jan 27, 2010 4:44 pm
by Douglas
iss42 wrote:bump - anyone know about this?
I assume you've tried what the page said:

You can also try changing the ip-win32 setting to a non-DHCP method. For example:

* ip-win32 netsh
* ip-win32 ipapi
* ip-win32 manual

Correct?