How to enable TUN/TAP for openvpn

Hello,

I try to connect OpenVPN and I have this error:
“ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2) opensuse”

I can fix that problem with "sudo mknod /dev/net/tun c 10 200" but problem return after reboot.
I checked with this command
“cat /dev/net/tun”**
I believe TUN/TAP not enabled or not working
How can I sure TUN/TAP is enabled ?

thanks,

Which openSUSE version?
Kernel vesion?
Is the ‘tun’ module loaded?

This guide may be useful to you

https://en.opensuse.org/SDB:OpenVPN_Installation_and_Setup#TUN.2FTAP

Sorry for delayed answer.

openSUSE Tumbleweed Gnome
Kernel 3.17.4

cat /dev/net/tun display:
cat: /dev/net/tun: No such file or directory

Try the following

modprobe tun

Then check

cat /dev/net/tun

Any different?

FWIW, I’m using openSUSE 13.1, which has udev-208-23.3 installed. The device file is created at boot. I wonder if you’ve stumbled on a udev regression here. I did find a Debian bug report descrbing similar.

openSUSE Tumbleweed Gnome
Kernel 3.17.4

BTW, since you’ve stated you’re using TW, I’ll move this to the appropriate forum.

Moved from Network/Internet