gco / tunnelblick

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

cannot allocate tun/tap dev? #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download tunnelblick
2. put the files where they are supposed to e with the right names
3.  attempt to connect

What is the expected output? What do you see instead?
it doesn't connect.
it scrolls through a lot of text, the attempts to load the drivers, then use 
them, then:
Just says "Cannot allocate TUN/TAP dev dynamically"

What version of Tunnelblick are you using? On what version of OS X? PPC or 
Intel?
3.0 b10 intel

the tun driver and everything else that tunnelblick needs is inside the .app 
folder apparrently, so 
I 
downloaded an older version, no dice.
deleted the pref, nada.
cleard the Console and tried again and got this:
kextload: extension 
/Users/(me)/Applications/Tunnelblick.app/Contents/Resources/tap.kext is 
already 
loaded
kextload: extension 
/Users/(me)/Applications/Tunnelblick.app/Contents/Resources/tun.kext is 
already 
loaded
Apr 18 20:28:54 WhiteiMac openvpn[7124]: Cannot allocate TUN/TAP dev dynamically
rebooting gives me this:
kextload: /Users/(me)/Applications/Tunnelblick.app/Contents/Resources/tap.kext 
loaded 
successfully
kextload: /Users/(me)/Applications/Tunnelblick.app/Contents/Resources/tun.kext 
loaded 
successfully
Apr 18 20:40:31 WhiteiMac openvpn[233]: Cannot allocate TUN/TAP dev dynamically
so it is able to load the kexts fine, but then... ?

Original issue reported on code.google.com by FuturDre...@gmail.com on 22 Apr 2009 at 4:52

GoogleCodeExporter commented 9 years ago
I have same problem. Tried with 3.0 release and latest beta (3.1b14). I have 
PowerBook 10.4.

Log output:
<cut>
2010-09-14 23:14:18 *Tunnelblick: kextload: 
/Applications/Tunnelblick.app/Contents/Resources/tap.kext loaded successfully
<cut>
2010-09-14 23:21:23 us=354224 OPTIONS IMPORT: timers and/or timeouts modified
2010-09-14 23:21:23 us=354259 OPTIONS IMPORT: --ifconfig/up options modified
2010-09-14 23:21:23 us=354278 OPTIONS IMPORT: route options modified
2010-09-14 23:21:23 us=354296 OPTIONS IMPORT: route-related options modified
2010-09-14 23:21:23 us=354314 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option 
options modified
2010-09-14 23:21:23 us=365819 ROUTE default_gateway=10.0.1.1
2010-09-14 23:21:23 us=379785 MANAGEMENT: Client disconnected
2010-09-14 23:21:23 us=379867 Cannot allocate TUN/TAP dev dynamically
2010-09-14 23:21:23 us=379890 Exiting
2010-09-14 23:21:23 *Tunnelblick: Flushed the DNS cache

Original comment by ssalmine@gmail.com on 14 Sep 2010 at 8:27

GoogleCodeExporter commented 9 years ago
Some ideas:

Take a look at Issue 41. It has several ideas to try. In particular, look at 
comment 20 at
http://code.google.com/p/tunnelblick/issues/detail?id=41&can=1&q=allocate#c20

Restarting is also worth a try since it is so easy.

The "kextstat" Terminal command should list all loaded kexts. If there are any 
tun or tap kexts loaded (try this after a restart, before using Tunnelblick), 
they will conflict. Recent versions of Tunnelblick attempt to detect this and 
warn you, but maybe that's not working.

If you are using Cisco AnyConnect, take a look at the user-contributed script 
to deal with that, at
http://code.google.com/p/tunnelblick/wiki/DownloadsEntry?tm=2#User-Contributed_S
cripts

Original comment by jkbull...@gmail.com on 14 Sep 2010 at 9:10

GoogleCodeExporter commented 9 years ago
Please try using "Set nameserver (alternate 1) in Tunnelblick 3.1beta18.

Original comment by jkbull...@gmail.com on 18 Oct 2010 at 10:21

GoogleCodeExporter commented 9 years ago

Original comment by jkbull...@gmail.com on 31 Oct 2010 at 12:43

GoogleCodeExporter commented 9 years ago
I got the same problem. I'm on OS/X 10.6.5 and wonder if it's not a kext 
problem.

I don't have "Cannot allocate TUN/TAP dev dynamically" when using openvpn2 from 
MacPorts and tun/tap kext from http://sourceforge.net/projects/tuntaposx/

Original comment by henri.go...@gmail.com on 17 Nov 2010 at 10:18

GoogleCodeExporter commented 9 years ago
I'm using latest 3.1beta release 

Original comment by henri.go...@gmail.com on 17 Nov 2010 at 10:18

GoogleCodeExporter commented 9 years ago
Henri --

Please post the contents of the configuration file you are using, and the 
complete log from Tunnelblick. (X out any sensitive info.)

Also, are you using the 32-bit kernel or the 64-bit kernel in 10.6.5.

Original comment by jkbull...@gmail.com on 24 Nov 2010 at 3:30

GoogleCodeExporter commented 9 years ago

Original comment by jkbull...@gmail.com on 13 Jan 2011 at 2:14