Failed to open tun device: Invalid argument

S P Arif Sahari Wibowo lists-infradead.org at arifsaha.com
Thu Apr 2 20:43:07 PDT 2015


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.

> 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:

mycomputer:~ root# ls -l /dev/*tun*
crw-rw----  1 root  wheel   39,   0  2 Apr 21:41 /dev/tun0
crw-rw----  1 root  wheel   39,   1  1 Apr 12:25 /dev/tun1
crw-rw----  1 root  wheel   39,  10  1 Apr 12:25 /dev/tun10
crw-rw----  1 root  wheel   39,  11  1 Apr 12:25 /dev/tun11
crw-rw----  1 root  wheel   39,  12  1 Apr 12:25 /dev/tun12
crw-rw----  1 root  wheel   39,  13  1 Apr 12:25 /dev/tun13
crw-rw----  1 root  wheel   39,  14  1 Apr 12:25 /dev/tun14
crw-rw----  1 root  wheel   39,  15  1 Apr 12:25 /dev/tun15
crw-rw----  1 root  wheel   39,   2  1 Apr 12:25 /dev/tun2
crw-rw----  1 root  wheel   39,   3  1 Apr 12:25 /dev/tun3
crw-rw----  1 root  wheel   39,   4  1 Apr 12:25 /dev/tun4
crw-rw----  1 root  wheel   39,   5  1 Apr 12:25 /dev/tun5
crw-rw----  1 root  wheel   39,   6  1 Apr 12:25 /dev/tun6
crw-rw----  1 root  wheel   39,   7  1 Apr 12:25 /dev/tun7
crw-rw----  1 root  wheel   39,   8  1 Apr 12:25 /dev/tun8
crw-rw----  1 root  wheel   39,   9  1 Apr 12:25 /dev/tun9


Thanks!

-- 
    ____  ____  ____  ____ (stephan paul) Arif Sahari Wibowo
   /___  /___/ /___/ /___      http://www.arifsaha.com/
  ____/ /     /   / ____/
***** http://www.catholic.org/clife/lent/#content *****



More information about the openconnect-devel mailing list