In my Ubuntu 20.04.2 LTS, after using ProtonVPN, and rebooting while connected, WiFi messed up.
If I try via WiFi:
$ sudo apt update
Err:1 http://ar.archive.ubuntu.com/ubuntu focal InRelease
Could not connect to ar.archive.ubuntu.com:80 (200.236.31.4). - connect (111: Connection refused) Cannot initiate the connection to ar.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable)
...
and I cannot surf the web via Firefox, e.g. If I connect via LAN, both things work. I don't think the router is blocking my WiFi.
With the help of:
- https://forum.zorin.com/t/unable-to-access-internet-after-using-protonvpn/2142
- https://forums.linuxmint.com/viewtopic.php?t=350047
- https://www.linuxquestions.org/questions/linux-hardware-18/network-connected-but-no-internet-4175687745/page2.html
I found "spurious" connection ipv6leakintrf0
, which I removed with nmcli connection delete <name>
, followed by rm -rf ~/.cache/protonvpn
and reboot.
As described here, I can connect if using a fixed IP.
How can I fix this, without manually setting a fixed IP for the WiFi connection (i.e., using DHCP)?