I am baffled by this error output, which has appeared now on a client that
worked fine last time I connected OpenVPN.

The client is a RaspberryPi4 with openvpn version:

$ openvpn --version
OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL]
[PKCS11] [MH/PKTINFO] [AEAD] built on Feb 20 2019
library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10

I am using a script to connect to the remote server as follows:

sudo openvpn --config /etc/openvpn/BosseB_RPi_local95_NP.ovpn

This used to work fine to connect to the remote network so I could access the
subversion server on that network from the RPi4.

But now when I run the coommand this is what I get:

$ connectvpn.sh
Fri Mar 12 12:08:16 2021 OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL
(OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 20 2019
Fri Mar 12 12:08:16 2021 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
Fri Mar 12 12:08:16 2021 TCP/UDP: Preserving recently used remote address:
[AF_INET]209.36.xx.xx:1195
Fri Mar 12 12:08:16 2021 UDP link local: (not bound)
Fri Mar 12 12:08:16 2021 UDP link remote: [AF_INET]209.36.xx.xx:1195
Fri Mar 12 12:08:16 2021 [AGIVPN] Peer Connection Initiated with
[AF_INET]209.36.xx.xx:1195
Fri Mar 12 12:08:18 2021 ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such
device (errno=19)
Fri Mar 12 12:08:18 2021 Exiting due to fatal error

If I look for /dev/net/tun I get this:

$ ls -la /dev/net/tun
crw-rw-rw- 1 root root 10, 200 Jan 19 11:38 /dev/net/tun

i.e. a blank line.

What is OpenVpn looking for here and how can I fix the problem?


-- 
Bo Berglund
Developer in Sweden



_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to