I have Ubuntu 20.04. My computer froze up and I had to hard power down. I was on a VPN at the time and I suspect that did something Since then, I cannot get on the Internet. I've been on forums for hours with no luck.
I can ping 8.8.8.8, 1.1.1.1, my gateway 192.168.1.1.
I used my cell phone with Termux and was able to resolve hosts
But when I ping www.google.com,
Temporary failure in Name resolution.
This works fine on other devices
Steps I've tried:
Sudo Nano /etc/netplan/01-network-manager-all.yaml
Netplan generate
Net plan apply
Systemd-resolve --flush-caches
Sudo nano /etc/resolv.conf
Add nameserver 8.8.8.8
Systemctl restart NetworkManager.service
I deleted all network profiles in the GUI and reset there
Rebooted the computer multiple times
Rebooted my Wi-Fi access point. The computer is cabled into the access point.
Rebooted the ISP modem
Sudo systemctl restart systemd-resolved
Nmcli networking off
Nmcli networking on
Dhclient -r
Dhclient
I am at out of ideas and it still doesn't work.
Is there any nuclear option on networking? At this point, I am worried I may be forced to reinstall the OS
UPDATE:
01-network-manager-all.yaml
Network:
version: 2
Renderer: NetworkManager
Uname -r 5.13.0-30-generic
Ls -al /etc/resolv.conf
lrwxrwxrwx root root 39 Sep 19 14:11 /etcresolv.conf -> ../run/systemd/resolve/stub-resolv.conf
UPDATE:
Uninstalled ProtonVPN
Ran
nmcli connection show --active
'pvpn-ipv6leak-protection...'
nmcli connection delete pvpn-ipv6leak-protection
'Connection pvpn-ipv6leak-protection successfully deleted
Now a ping to www.google.com works
I am not surprised it was the ipv6leak issue.
When I ran sudo systemd-resolve --status | grep Current
Current DNS Server: ::1
Why is there an ipv6 address there?
After deleting the kill switch. Now I get
Current DNS Server: 192.168.1.1
Which is the IP address of my ISP router (probably same IP on the vast majority of home routers)