[SOLVED] switching to networkmanager 25 January 2020, 10:02:01 Hi all!I am trying to get Connman to work with VPN on the KDE build, but importing my openVPN conf file will always return an error (VPN disengaged). The same file was always working flawlessly with NetworkManager, but I can't get plasma-nm to even start after installing the package and the relative s6 service. Any help for properly configurating the service, please? Last Edit: 27 January 2020, 23:31:39 by nous
Re: switching to networkmanager Reply #1 – 25 January 2020, 15:01:18 What happens when you run openvpn /path/to/client.conf as root? Do you have Code: [Select]log-append /var/log/openvpn/client.log in your client.conf?
Re: switching to networkmanager Reply #2 – 25 January 2020, 15:48:19 "Sat Jan 25 14:47:01 2020 ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)Sat Jan 25 14:47:01 2020 Exiting due to fatal error"
Re: switching to networkmanager Reply #3 – 25 January 2020, 16:08:13 Can you post the output of$ mount | grep devtmpfs$ ls -la /dev/net/tun*If 2) gives you nothing, try running these commands as root:# mkdir -p /dev/net# mknod /dev/net/tun c 10 200source: https://www.kernel.org/doc/Documentation/networking/tuntap.txtAfter this, try running openvpn /path/to/your.conf and checking the log file.
Re: switching to networkmanager Reply #4 – 25 January 2020, 20:54:25 thanks for your help the second line gave me nothing, but i followed your instructions and finally got the vpn working, both from command line and with connman. The problem is that connman keeps disconnecting randomly, i don't really understand why
Re: switching to networkmanager Reply #5 – 25 January 2020, 21:05:25 It is conning you!If you do not like it, just switch to NM (disable connman and enable NM)
Re: switching to networkmanager Reply #6 – 25 January 2020, 23:27:04 Ok, uninstalled connman and installed NM, but how can I get the service to automatically run at startup?
Re: switching to networkmanager Reply #7 – 25 January 2020, 23:41:56 First, see what is in your current s6 default bundle and take note: s6-rc list defaultNext we need to delete the bundle: s6-rc-bundle delete defaultNow we add, also make sure you add in those previously listed in the first step.s6-rc-bundle add default OTHER-ONES_LISTED NetworkManager