Networkmanager-openvpn broke something 27 March 2023, 09:31:41 Hey guys, I broke something while trying to get a VPN to work through networkmanager-openvpn, now I can't connect without either 1: my computer connected via VPN, or 2: I have to run dhcpcd. I added dhcpcd to /run/runit/service/ on boot-up which at least gets me internet but I'm wondering what I did wrong and how I can reset networkmanager so I don't have to rely on dhcpcd
Re: Networkmanager-openvpn broke something Reply #1 – 27 March 2023, 09:51:10 cat /etc/resolv.conf# Generated by NetworkManagernameserver ::1I suspect there's a problem here, I'm not totally sure what to do, why is networkmanager doing this to me?if I edit /etc/resolv.conf to 192.168.1.1 instead of ::1 the connection starts working again, but upon every reboot resolv.conf displays ::1 so how do I fix this guys?I deleted /etc/NetworkManager and then reinstalled NetworkManager and now I'm no longer getting this ::1 nonsense in my resolv.conf, all this for a simple VPN. I'm losing my mind on this lol, any recommendations for a free and easy to config VPN for Linux? Preferably a standalone client that doesn't have to work through networkmanager-openvpn. Last Edit: 27 March 2023, 10:12:00 by kenny_w
Re: Networkmanager-openvpn broke something Reply #2 – 27 March 2023, 11:50:47 Which init do you use ?And I are you trying to connect to openvpn as a client or run it as a server ?
Re: Networkmanager-openvpn broke something Reply #3 – 27 March 2023, 17:39:32 Quote from: gripped – on 27 March 2023, 11:50:47Which init do you use ?And I are you trying to connect to openvpn as a client or run it as a server ?client, and I use Runit.
Re: Networkmanager-openvpn broke something Reply #4 – 27 March 2023, 17:51:28 Quote from: kenny_w – on 27 March 2023, 17:39:32client, and I use Runit.When I posted I was thinking of the Gentoo wiki. I.E. OpenrcBut most of it should be applicable to any init.https://wiki.gentoo.org/wiki/OpenVPNQuotewhy is networkmanager doing this to me?Best avoided imho.