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 220.127.116.11 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.
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 18.104.22.168' | 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)
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