I went in the menu --> setting --> network
and under the VPN voice, I deleted the VPN connection I had set up.
Since then, it has been unable to connect to the Internet.
Neither from mobile network, nor from WIFI. I tried to uninstall also the protonVPN but nothing has changed.
what can I do to solve this problem?
have a look at this this topic on the forum the Problem sounds quite similar just different librem device and I guess it’s probably also the DNS.
you could check that quite easily via the terminal by ping 1.1.1.1 if that works you can be quite confident that it’s the DNS.
Sorry but I’m a really basic linux user. I’m not very experienced, but i like to learn and understand.
To me looks like if there’s some option somewhere (but i have no idea of where) that say “connect to internet only if a VPN is on” or something like this.
output of the command:
ip route
default via 10.187.51.53 de wwan0 proto static metric 1050
10.187.51.48/29 dev wwan0 proto kernel scope link src 10.187.51.52 metric 1050
OK done, i killed the modem like @irvinewade told me, enabled the wifi and I runned the command:
echo -e 'nameserver 192.168.0.1\nnameserver 1.1.1.1' | sudo tee /etc/resolv.conf
than wifi desappeared… i rebooted and runned those command once again, this time the wifi didn’t desappeare, and internet came back!
I reinstalled protonVPN and reset the connection vith vpn. than I switched off the phone, i connected once again the modem and killed the wifi, switch on and it was connecting again like normal.
My two cents, but I don’t think this is gonna be a permanent fix. Unless you stopped using networkmanager (or configured it to never touch resolv.conf) the file will probably get overwritten. A stronger solution would be to configure all of this in NM config files. Also forcing DNS can interfere with MMS (some providers’ dns will return an internal address for the MMS gateway weither you use their DNS from their network, or a public one)
I think there is a specific problem here when you have unclean exit scenarios with ProtonVPN. As long as you either don’t use ProtonVPN or use it cleanly, the file will be maintained properly.
The point of overwriting it manually is just in order to restore working DNS temporarily so that the ProtonVPN client can be re-installed.
Oh ok I probably read the thread too fast. I had the same kind of problems with wireguard. what definitely fixed it was to make NM use systemd-resolved as a resolver. Since then, it has been working flawlessly