Home/Support/Support Forum/ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2) when using openvpn
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2) when using openvpn

0 votes
Hi, I use Digi Embedded Yocto and I got this error message when connecting to OpenVPN server

ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)

It's like TUN/TAP is not included in the DEY kernel.

Can anyone help me?
Thank you
asked Nov 2, 2017 in Linux by phammanh New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
I do not believe TUN/TAP are included in default Linux Yocto kernel.
it should be along those lines described here:
https://stackoverflow.com/questions/44313423/yocto-linux-cant-include-tun-tap-kernel-driver
answered Nov 3, 2017 by LeonidM Veteran of the Digi Community (3,326 points)
Thank you very much for your help
...