Can't use VPN anymore

Hello,

I regularly use 2 VPNs for work. One with openvpn and the other with cisco anyconnect. I access both VPNs from the Gnome network settings.

Everything was working fine until this morning. Now, I can’t connect to any of the VPNs.

Here is the log for openvpn

Dec 14 11:13:14 monoceros nm-openvpn[9338]: OpenVPN 2.5.0 [git:makepkg/a73072d8f780e888+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Nov  6 2020
Dec 14 11:13:14 monoceros nm-openvpn[9338]: library versions: OpenSSL 1.1.1i  8 Dec 2020, LZO 2.10
Dec 14 11:13:14 monoceros nm-openvpn[9338]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Dec 14 11:13:14 monoceros nm-openvpn[9338]: TCP/UDP: Preserving recently used remote address: [AF_INET]13.66.188.160:443
Dec 14 11:13:14 monoceros nm-openvpn[9338]: Attempting to establish TCP connection with [AF_INET]13.66.188.160:443 [nonblock]
Dec 14 11:13:14 monoceros nm-openvpn[9338]: TCP connection established with [AF_INET]13.66.188.160:443
Dec 14 11:13:14 monoceros nm-openvpn[9338]: TCP_CLIENT link local: (not bound)
Dec 14 11:13:14 monoceros nm-openvpn[9338]: TCP_CLIENT link remote: [AF_INET]13.66.188.160:443
Dec 14 11:13:14 monoceros nm-openvpn[9338]: NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Dec 14 11:13:15 monoceros nm-openvpn[9338]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1551', remote='link-mtu 1500'
Dec 14 11:13:15 monoceros nm-openvpn[9338]: WARNING: 'tun-mtu' is present in local config but missing in remote config, local='tun-mtu 1500'
Dec 14 11:13:15 monoceros nm-openvpn[9338]: [ea9690d7-67b2-4007-8077-cf660a1412f0.vpn.azure.com] Peer Connection Initiated with [AF_INET]13.66.188.160:443
Dec 14 11:13:16 monoceros nm-openvpn[9338]: ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
Dec 14 11:13:16 monoceros nm-openvpn[9338]: Exiting due to fatal error

I did an update this morning pacman -Syu. Maybe it is related to that. Here is was got updated

[2020-12-14T09:15:09-0500] [ALPM] upgraded atkmm (2.28.0-2 -> 2.28.1-1)
[2020-12-14T09:15:09-0500] [ALPM] upgraded boost-libs (1.74.0-2 -> 1.75.0-1)
[2020-12-14T09:15:09-0500] [ALPM] upgraded libcap-ng (0.8-1 -> 0.8.2-1)
[2020-12-14T09:15:09-0500] [ALPM] upgraded openssl (1.1.1.h-1 -> 1.1.1.i-2)
[2020-12-14T09:15:10-0500] [ALPM] upgraded ca-certificates-mozilla (3.59-1 -> 3.60-1)
[2020-12-14T09:15:10-0500] [ALPM] upgraded cifs-utils (6.11-1 -> 6.11-2)
[2020-12-14T09:15:10-0500] [ALPM] upgraded nss (3.59-1 -> 3.60-1)
[2020-12-14T09:15:10-0500] [ALPM] upgraded gnome-disk-utility (3.38.0-1 -> 3.38.1-1)
[2020-12-14T09:15:10-0500] [ALPM] upgraded gnome-keyring (1:3.36.0-1 -> 1:3.36.0-3)
[2020-12-14T09:15:10-0500] [ALPM] upgraded pangomm (2.42.1-2 -> 2.42.2-1)
[2020-12-14T09:15:10-0500] [ALPM] upgraded gtkmm3 (3.24.2-2 -> 3.24.3-1)
[2020-12-14T09:15:10-0500] [ALPM] upgraded lib32-nss (3.59-1 -> 3.60-1)
[2020-12-14T09:15:10-0500] [ALPM] upgraded libphonenumber (8.12.14-1 -> 8.12.14-2)
[2020-12-14T09:15:10-0500] [ALPM] upgraded linux (5.9.13.arch1-1 -> 5.9.14.arch1-1)
[2020-12-14T09:15:12-0500] [ALPM] upgraded linux-headers (5.9.13.arch1-1 -> 5.9.14.arch1-1)
[2020-12-14T09:15:12-0500] [ALPM] upgraded openexr (2.5.3-4 -> 2.5.3-5)
[2020-12-14T09:15:12-0500] [ALPM] upgraded r8168 (8.048.03-48 -> 8.048.03-49)
[2020-12-14T09:15:12-0500] [ALPM] upgraded solid (5.76.0-1 -> 5.77.0-1)
[2020-12-14T09:15:12-0500] [ALPM] upgraded typescript (4.1.2-1 -> 4.1.3-1)
[2020-12-14T09:15:12-0500] [ALPM] upgraded welcome (3.8.8-1 -> 3.8.9-1)
[2020-12-14T09:15:12-0500] [ALPM] upgraded xorg-xwayland (1.20.0.r792.g36e353bcf-5 -> 1.20.0.r797.g5d73a8b59-1)
[2020-12-14T11:13:00-0500] [ALPM] upgraded eos-translations (1.1.3-1 -> 1.1.4-1)

Thank you!

Did you reboot after updating your kernel? If not, reboot.

1 Like

Ok, that was simple. It so rare that I have to reboot to make something works I don’t try it anymore. :man_facepalming:

It does advise in the terminal to reboot after a kernel upgrade :slight_smile:

If the kernel is upgraded then the existing kernel modules are deleted, so anything that requires loading of modules will not work until the box is rebooted.

1 Like