Score:0

Ubuntu 20.04.1: connected to WIFI/Wire but no internet

in flag

Wireless networks are detected and I am able to connect to them. Same goes for wired network. Yet, once actually trying to use a browser or connect to a remote server, it states that servers cannot be reached. For instance, if I write on command ping google.com it says that the service is not known, and on browser it always says "server not found". But if I write nmcli device, it indicates that I am connected, even though I know this is not true. ifconfig shows:

RX packets 31567 bytes 11153602 (11.1 MB)

RX errors 0 dropped 0 overruns 0 frame 0

TX packets 25736 bytes 3313999 (3.3 MB)

TX errors 0 dropped 0 overuns 0 carrier 0 collisions 0

So I don't seem to have a problem here. resolvectl indicates:

Current Scopes: DNS

DefaultRoute setting: yes

LLMNR setting: yes

The remaining settings say no. The file /etc/resolv.conf seems to be in place, so the problem is probably no there either. And in case anyone wonders, ping localhost shows the expected result.

I have tried using several networks: they all work on other devices, except for mine. In fact, I have Ubuntu on a drive partition, and if I log into my Windows partition I can use the internet without trouble, this only happens on Ubuntu. I have also tried to reebot my machine, but it makes no difference. Does anybody know what else can I check/troubleshoot?

This only started happening today, yesterday I was able to use the internet without a problem in Ubuntu.

Minsky avatar
mx flag
what do `journalctl -e | grep NetworkManager`, and maybe `nmcli general` say? Did you change any of the IPs manually?
M. Colom i Bernadich avatar
in flag
```nmcli general``` says ```connected full enabled enabled enabled enabled``` ```journalctl -e | grep NetworkManager``` has many entries. The last one says ```state changed extended -> extended```. I have not attempted to change any IP recently.
waltinator avatar
it flag
Look at the logs! `sudo journalctl -b 0 -u NetworkManager`. Read `man journalctl`.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.