Ubuntu – No internet after 16.04 LTS 18.04.01 upgrade

18.04ethernetnetworkingwireless

This may seem like a duplicate, but many solutions have been unsuccessfully tried. Currently I have no internet, WIFI or Ethernet. Sometimes: "no wifi adapter found". The device is HP dm4, dual boot with Windows 7.

Here is the wireless script output The issue started 3 weeks ago as no GUI after 16.04 LTS to 18.04.01 upgrade. At that time, I was able to use the terminal to connect to the Internet and run "fixes" in Upgrade to 18.04.01 from 16.04 LTS… Login but no Gnome Gui Then mysteriously, the GUI ran after restarting several times. But since then, I am unable to connect to the Internet in the terminal or GUI.

There is a chatroom here on Ask Ubuntu about my issues.

sudo nmcli c up <saved WIFI connection>

only appears to connect.

sudo nmcli d wifi list

shows strong signal strength, but ping to google and nyt fails.

The phone I use as a hotspot shows a successful connection.

In the GUI Network Tools show the phone/hotspot recently used minutes ago, the Available Networks list shows the phone/hotspot as available with a check mark, but the "connect" button is grayed out and unfunctional.

REGDOMAIN=00 and attempts to change this has failed as others describe. I have a similar set up to the one described by cipricus in Wifi regression on 16.04 Centrino Wireless-N 1000
and the situation described in this deleted question

Best Answer

During our long chat, we determined that you were connected to the internet; we showed it with:

ping -c3 8.8.8.8

...which succeeded. However, pings to www.ubuntu.com did not succeed. This pointed to a problem with DNS nameserver resolution. We ran:

ls -al /etc/resolv.conf

Your result was:

lrwxrwxrwx 1 root root 29 Sep 1 22:07 /etc/resolv.conf -> ../run/resolvconf/resolv.conf

In your case, resolv.conf was not pointing to systemd as expected. Therefore, we removed and recreated the link:

sudo rm -f /etc/resolv.conf
ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf

Upon reboot, the computer connected and was able to ping names and numbers with no difficulty.

I also recommended a full update and upgrade; about 1700 packages were upgraded.

I'm glad it's now working as expected.

Related Question