Erstellt vor 20 Monaten

Geschlossen vor 10 Tagen

Zuletzt geändert vor 10 Tagen

#2773 closed defect (invalid)

OpenVPN does not start automatically | Device /dev/net/tun missing

Erstellt von: meymona Verantwortlicher:
Priorität: normal Meilenstein: freetz-next
Komponente: unknown Version: devel
Stichworte: Beobachter:
Product Id: Firmware Version: 117.06.30 rev30889

Beschreibung (zuletzt geändert von er13)

FRITZBox 7312 (UI)
Firmware: 117.06.30 rev30889
Freetz: devel-13340M
Build-OS: Debian Jessie


error:
I compiled freetz (only) with OpenVPN 2.9.3, bash and Dropbear.

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

# grep tun /etc/udev/rules.d/50-udev-default.rules
KERNEL=="vttuner*", GROUP="video"
KERNEL=="tun", MODE="0666", SYMLINK+="tun"

After manually creating /dev/net/tun, OpenVPN comes up:

mkdir -p /dev/net
mknod /dev/net/tun c 10 200
chmod 600 /dev/net/tun
/etc/init.d/rc.openvpn restart

Änderungshistorie (2)

comment:1 Geändert vor 10 Tagen durch er13

  • Lösung auf invalid gesetzt
  • Status von new nach closed geändert

Please provide your .config (in particular it would be good to know which openvpn GUI package you use FREETZ_PACKAGE_OPENVPN_CGI or FREETZ_PACKAGE_OPENVPN_V2_CGI).

Please disable automatic start of openvpn and provide the output of the following commands right after rebooting the box:

dmesg | grep -E "/dev(/net)?/tun"
find /dev -name tun | xargs ls -l

and then the output of the 2nd one right after starting openvpn (according to your description it won't start but nonetheless try to start it and provide the output).

Until then "invalid", feel free to reopen but only after providing the stuff mentioned above.

comment:2 Geändert vor 10 Tagen durch er13

  • Beschreibung geändert (Diff)
Hinweis: Hilfe zur Verwendung von Tickets finden Sie in TracTickets.