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

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
iss42
OpenVpn Newbie
Posts: 4
Joined: Tue Dec 29, 2009 1:11 pm

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

Post by iss42 » Tue Dec 29, 2009 1:34 pm

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

iss42
OpenVpn Newbie
Posts: 4
Joined: Tue Dec 29, 2009 1:11 pm

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

Post by iss42 » Thu Dec 31, 2009 11:01 am

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

iss42
OpenVpn Newbie
Posts: 4
Joined: Tue Dec 29, 2009 1:11 pm

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

Post by iss42 » Wed Jan 13, 2010 12:54 pm

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

iss42
OpenVpn Newbie
Posts: 4
Joined: Tue Dec 29, 2009 1:11 pm

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

Post by iss42 » Mon Jan 25, 2010 8:00 am

bump - anyone know about this?

Douglas
Forum Team
Posts: 285
Joined: Wed Aug 27, 2008 2:41 am

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

Post by Douglas » Wed Jan 27, 2010 4:44 pm

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?

Post Reply