You are not logged in.
New install, running a known config.
ls -l /dev/net/tun
crw-rw-rw- 1 root root 10, 200 Apr 11 15:21 tun
And the config says:
dev tap0
server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100
script-security 2
When running openvpn --config /etc/openvpn/server.conf, i get:
Wed May 15 09:54:57 2013 Socket Buffers: R=[212992->131072] S=[212992->131072]
Wed May 15 09:54:57 2013 ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
Wed May 15 09:54:57 2013 Exiting due to fatal error
For whatever reasons, bridge-utils is installed and normally OpenVPN does create the interface if it doesn't exists..
But i tried:
openvpn --mktun --dev tap0
Same error, is it because i'm not using systemd (don't ask.. I want to, but i can't for a number of random reasons)
Also tried:
# modprobe tun
# modinfo tun
modinfo: ERROR: Module alias tun not found.
Last edited by Torxed (2013-05-15 12:30:43)
Offline
I had the same problem with OpenVPN 2.3.1 AFAIK but because of a kernel update with pacman -Syu I had to reboot and the error was gone, but I am using systemd, so I don't know if this is related to the problem in your non-systemd setup.
Offline
I had the same problem with OpenVPN 2.3.1 AFAIK but because of a kernel update with pacman -Syu I had to reboot and the error was gone, but I am using systemd, so I don't know if this is related to the problem in your non-systemd setup.
Yepp, rebooting fixed the issue. kernel was updated by another tech and a reboot was all it took.
modinfo tun shows all i needed to see to be happy and safe and openvpn runs
Offline