Problem finding tun device

David Woodhouse dwmw2 at infradead.org
Sun Jun 5 00:33:37 PDT 2016


> On Sat, 2016-06-04 at 20:53 -0400, Stuart Luppescu wrote:
>> Failed to open tun device: No such device
>> Set up tun device failed
>>
>> This is very strange because I have a proper tun device:
>>
>>  ls -al /dev/net/tun
>> crw-rw-rw- 1 root root 10, 200 Jun  4 19:57 /dev/net/tun
>
> Oops. Wait a minute. I rebooted. When the computer came back up, there
> was not tun device. When I ran the openconnect start script, it was
> like this:
>
> ll /dev/net/tun
> crw-r----- 1 root root 10, 200 Jun  4 21:36 /dev/net/tun

It should be 0666; please file a bug with your distribution. But I suspect
your problem is that although to device node (10,200) exists in the file
system, your *kernel* doesn't have the tun driver loaded.

-- 
dwmw2




More information about the openconnect-devel mailing list