I have two laptops with the same ubuntu version, and almost the same software installed. I have been using them lenghtly with the same home wifi and external wifi with no problem of connection of any kind.
From this morning, suddently laptop A have stopped connecting to internet (
site can't be reached on chrome, trying forever to open a webpage on Firefox, even
ping google.com was returning
Name or service not known), despite the wifi status was still connected.
Laptop B, was working as usual.
To solve the problem I tried the usual things (restarting the laptop, cleaning cache, killing a couple of processes that I have started when donig web development (e.g. rabbitMQ)...), and none worked.
Then, more out of frustration than anything else, as last option before reinstalling ubuntu, and starting to suspect a virus, I simply restarted the router.
And this, totally unexpectedly, solved the issue. No password was asked, no settings to be changed. Laptop A just re-connected automatically and now it connects to internet flawlessly.
My question is WHY?
How is it possible that restarting the router can solve an issue affecting only one laptop and not the other? And if if happens again, in a situation where I can not restart the router (internet cafe, office...) is there an alternative solution I can try from the computer?
More specs as requested in comments:
Distributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: bionic