Mailinglist Archive: opensuse (769 mails)

< Previous Next >
Re: [opensuse] openvpn - Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Fri, 27 May 2016 21:07:09 +0200
  • Message-id: <nia5st$sir$>
Andrei Borzenkov wrote:

27.05.2016 19:59, Per Jessen пишет:
Andrei Borzenkov wrote:

20.05.2016 17:06, Per Jessen пишет:
Per Jessen wrote:

This morning I patched/upgraded a 13.2 box and rebooted. Normally
I have no problems starting openvpn, but this time the 'tun'
wasn't autoloaded. Nor when I manually tried starting openvpn

Can anyone suggest a reason why 'tun' was not automatically
loaded?? I have never had this issue before.

It wasn't just a fluke on the first boot-up, have just rebooted
had to load 'tun' manually. Surely it should be autoloaded when
openvpn tries to access /dev/net/tun?

It is autoloaded if I do "true < /dev/net/tun". Are you sure openvpn
actually tries to access this device?

That's what it says, $SUBJ is from the log.

Normally this file should have been created by
kmod-static-nodes.service. Does it exist? What "systemctl status
kmod-static-nodes.service" says?

boeing:~ # systemctl status kmod-static-nodes.service
kmod-static-nodes.service - Create list of required static device nodes for the
current kernel
Loaded: loaded (/usr/lib/systemd/system/kmod-static-nodes.service; static)
Active: active (exited) since Fri 2016-05-20 14:31:17 CEST; 1 weeks 0 days
Main PID: 76 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/kmod-static-nodes.service

Looks good, I would say.

Per Jessen, Zürich (18.4°C) - free dynamic DNS, made in Switzerland.

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups