Skip to main content
Topic: Networkmanager-openvpn broke something (Read 414 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Networkmanager-openvpn broke something

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
cat /etc/resolv.conf
# Generated by NetworkManager
nameserver ::1

I 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.

 

Re: Networkmanager-openvpn broke something

Reply #2
Which init do you use ?
And I are you trying to connect to openvpn as a client or run it as a server ?