You are not logged in.
Hello:
My openvpn works fine and all, unless I run the package updater and there's a linux package update. The update goes on as expected. When I come back to retry a openvpn connection command I receive the following error:
ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
I reboot and everything's back to normal. Until there's another kernel update.
Is this normal? What can I do?
Thank you,
ram0042
Last edited by ram0042 (2024-02-04 16:43:31)
Offline
Yes, it's normal. After a kernel update without a reboot, you can't load any kernel modules as they're not on disk anymore. Load tun module at boot (using modules-load.d) or there are hooks that can keep the old modules around.
Offline
Load tun module at boot (using modules-load.d) or there are hooks that can keep the old modules around.
Thanks for the tip Scimmia!
Will try this today.
Offline