Failed to open tun device: Invalid argument

David Woodhouse dwmw2 at infradead.org
Fri Apr 3 09:18:59 PDT 2015


On Thu, 2015-04-02 at 21:43 -0600, S P Arif Sahari Wibowo wrote:
> On 2015-03-25, 05:41, David Woodhouse wrote:
> > Do you have TunTapOSX installed?
> 
> Great advice! I do have TunTapOSX installed but not running. 
> Once I enabled it ("port load tuntaposx"), I can get openconnect 
> works as intended.

OK, but utun is supposed to be superseding it.

> > What happens if you add '-i utun0' to the openconnect command 
> > line?
> 
> This produce this error:
> 
> Invalid interface name 'utun0'; must match 'tun%d'
> Set up tun device failed
> 
> 
> Furthermore, there is no "utun*" device in this system:

There's no device; it's socket-based. What did the configure script say
when you ran it? Did it not find net/utun.h? 

-- 
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/20150403/fad9066a/attachment-0001.bin>


More information about the openconnect-devel mailing list