Failed to open tun device: Invalid argument

David Woodhouse dwmw2 at infradead.org
Wed Mar 25 04:41:19 PDT 2015


On Thu, 2015-03-19 at 16:13 -0600, S P Arif Sahari Wibowo wrote:
> Failed to open tun device: Invalid argument
> Set up tun device failed
> myworkstation:~ root# echo $?
> 1
> 
> 
> My workstation is running Mac OS X 10.8.5 (Darwin Kernel Version 
> 12.6.0). I compiled the OpenConnect 7.05 from source using 
> MacPorts.

Hm, that's strange. On a modern OSX it really ought to be using utun 
and never even getting anywhere near the code that's failing.

Do you have TunTapOSX installed? What happens if you add '-i utun0' to 
the openconnect command line?


-- 
dwmw2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5745 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20150325/d78e7a86/attachment.bin>


More information about the openconnect-devel mailing list