xingplus / tunnelblick

Automatically exported from code.google.com/p/tunnelblick
0 stars 0 forks source link

"No 'dev tun' or 'dev tap' found" Message When There Is Such a Line Present #168

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Please see the config file attached.

What is the expected output?
A connection.

What do you see instead?
"No 'dev tun' or 'dev tap' found" Message.
I have managed to get rid of the error by removing all comments, but I still 
don't get a connection.

What version of Tunnelblick are you using? On what version of OS X?
2010-12-27 21:00:17 *Tunnelblick: OS X 10.6.5; Tunnelblick 3.1.2 (build 
2190.2258); OpenVPN 2.1.4

Log:
2010-12-27 21:00:17 *Tunnelblick: OS X 10.6.5; Tunnelblick 3.1.2 (build 
2190.2258); OpenVPN 2.1.4
2010-12-27 21:02:08 *Tunnelblick: Attempting connection with 
Informatics-all-Forum; Set nameserver = 5; monitoring connection
2010-12-27 21:02:08 *Tunnelblick: 
/Applications/Tunnelblick.app/Contents/Resources/openvpnstart start 
Informatics-all-Forum.ovpn 1337 5 0 0 0 51
2010-12-27 21:02:08 *Tunnelblick: openvpnstart: 
/Applications/Tunnelblick.app/Contents/Resources/openvpn --cd 
/Users/xboris/Library/Application Support/Tunnelblick/Configurations --daemon 
--management 127.0.0.1 1337 --config /Users/xboris/Library/Application 
Support/Tunnelblick/Configurations/Informatics-all-Forum.ovpn --log 
/tmp/tunnelblick/logs/-SUsers-Sxboris-SLibrary-SApplication 
Support-STunnelblick-SConfigurations-SInformatics--all--Forum.ovpn.5_0_0_0_51.13
37.openvpn.log --management-query-passwords --management-hold --script-security 
2 --up 
/Applications/Tunnelblick.app/Contents/Resources/client.1.up.tunnelblick.sh -m 
-w -d --down 
/Applications/Tunnelblick.app/Contents/Resources/client.1.down.tunnelblick.sh 
-m -w -d --up-restart
2010-12-27 21:02:09 OpenVPN 2.1.4 i386-apple-darwin10.5.0 [SSL] [LZO2] [PKCS11] 
built on Dec  9 2010
2010-12-27 21:02:09 MANAGEMENT: TCP Socket listening on 127.0.0.1:1337
2010-12-27 21:02:09 Need hold release from management interface, waiting...
2010-12-27 21:02:09 MANAGEMENT: Client connected from 127.0.0.1:1337
2010-12-27 21:02:09 MANAGEMENT: CMD 'pid'
2010-12-27 21:02:09 MANAGEMENT: CMD 'state on'
2010-12-27 21:02:09 MANAGEMENT: CMD 'state'
2010-12-27 21:02:09 MANAGEMENT: CMD 'hold release'
2010-12-27 21:02:14 MANAGEMENT: CMD 'username "Auth" "s0678252"'
2010-12-27 21:02:14 MANAGEMENT: CMD 'password [...]'
2010-12-27 21:02:14 WARNING: Make sure you understand the semantics of 
--tls-remote before using it (see the man page).
2010-12-27 21:02:14 NOTE: the current --script-security setting may allow this 
configuration to call user-defined scripts
2010-12-27 21:02:14 WARNING: file 'tls.auth' is group or others accessible
2010-12-27 21:02:14 Control Channel Authentication: using 'tls.auth' as a 
free-form passphrase file
2010-12-27 21:02:14 Outgoing Control Channel Authentication: Using 160 bit 
message hash 'SHA1' for HMAC authentication
2010-12-27 21:02:14 Incoming Control Channel Authentication: Using 160 bit 
message hash 'SHA1' for HMAC authentication
2010-12-27 21:02:14 LZO compression initialized
2010-12-27 21:02:14 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 
EL:0 ]
2010-12-27 21:02:14 Socket Buffers: R=[42080->65536] S=[9216->65536]
2010-12-27 21:02:14 MANAGEMENT: >STATE:1293483734,RESOLVE,,,
2010-12-27 21:02:14 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 
EL:0 AF:3/1 ]
2010-12-27 21:02:14 Local Options hash (VER=V4): '02af3434'
2010-12-27 21:02:14 Expected Remote Options hash (VER=V4): '3f08d474'
2010-12-27 21:02:14 UDPv4 link local (bound): [undef]:1194
2010-12-27 21:02:14 UDPv4 link remote: 129.215.160.250:5001
2010-12-27 21:02:14 MANAGEMENT: >STATE:1293483734,WAIT,,,
2010-12-27 21:03:14 TLS Error: TLS key negotiation failed to occur within 60 
seconds (check your network connectivity)
2010-12-27 21:03:14 TLS Error: TLS handshake failed
2010-12-27 21:03:14 TCP/UDP: Closing socket
2010-12-27 21:03:14 SIGUSR1[soft,tls-error] received, process restarting
2010-12-27 21:03:14 MANAGEMENT: >STATE:1293483794,RECONNECTING,tls-error,,
2010-12-27 21:03:14 MANAGEMENT: CMD 'hold release'
2010-12-27 21:03:14 WARNING: Make sure you understand the semantics of 
--tls-remote before using it (see the man page).
2010-12-27 21:03:14 NOTE: the current --script-security setting may allow this 
configuration to call user-defined scripts
2010-12-27 21:03:14 WARNING: file 'tls.auth' is group or others accessible
2010-12-27 21:03:14 Control Channel Authentication: using 'tls.auth' as a 
free-form passphrase file
2010-12-27 21:03:14 Outgoing Control Channel Authentication: Using 160 bit 
message hash 'SHA1' for HMAC authentication
2010-12-27 21:03:14 Incoming Control Channel Authentication: Using 160 bit 
message hash 'SHA1' for HMAC authentication
2010-12-27 21:03:14 LZO compression initialized
2010-12-27 21:03:14 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 
EL:0 ]
2010-12-27 21:03:14 Socket Buffers: R=[42080->65536] S=[9216->65536]
2010-12-27 21:03:14 MANAGEMENT: >STATE:1293483794,RESOLVE,,,
2010-12-27 21:03:14 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 
EL:0 AF:3/1 ]
2010-12-27 21:03:14 Local Options hash (VER=V4): '02af3434'
2010-12-27 21:03:14 Expected Remote Options hash (VER=V4): '3f08d474'
2010-12-27 21:03:14 UDPv4 link local (bound): [undef]:1194
2010-12-27 21:03:14 UDPv4 link remote: 129.215.160.250:5001
2010-12-27 21:03:14 MANAGEMENT: >STATE:1293483794,WAIT,,,

Original issue reported on code.google.com by Boris....@gmail.com on 27 Dec 2010 at 9:05

Attachments:

GoogleCodeExporter commented 9 years ago
OK, this will be fixed soon.

Original comment by jkbull...@gmail.com on 27 Dec 2010 at 11:07

GoogleCodeExporter commented 9 years ago
Fixed in the 3.1 branch as r1263. This will be in the next bugfix release and 
the next beta release.

Original comment by jkbull...@gmail.com on 28 Dec 2010 at 1:10

GoogleCodeExporter commented 9 years ago
Thanks, jkbull. Any ideas why it would still fail if I removed all the comments?

May this have something to do with it?
2010-12-27 21:03:14 Local Options hash (VER=V4): '02af3434'
2010-12-27 21:03:14 Expected Remote Options hash (VER=V4): '3f08d474'

Original comment by Boris....@gmail.com on 28 Dec 2010 at 10:26

GoogleCodeExporter commented 9 years ago
From your log, the problem is:
2010-12-27 21:03:14 TLS Error: TLS key negotiation failed to occur within 60 
seconds (check your network connectivity)
2010-12-27 21:03:14 TLS Error: TLS handshake failed

See https://groups.google.com/d/topic/tunnelblick-discuss/WPtt-HyEk44/discussion

And/or you might want to search for "TLS Error" the Tunnelblick Discussion 
Group at
https://groups.google.com/d/topic/tunnelblick-discuss/WPtt-HyEk44/discussion

If you have more problems, post your configuration file and the above log in 
the Tunnelblick Discussion Group along with a description of where the 
configuration file came from, what the server setup is, etc.

Original comment by jkbull...@gmail.com on 28 Dec 2010 at 11:26