I am currently running Ubuntu 20.04.4 LTS on my Macbook Pro. I connect it directly to my home modem via an ethernet connection. A few days ago, I suddenly lost connection to the internet. I ran the sudo ping command in Terminal and got a message that read “Temporary failure in name resolution” which confirms the lack of internet connection.
Here’s the odd part: I connect my iPhone directly to the same modem with an ethernet connection as well using a Belkin adapter and the internet on this phone runs perfectly fine (I’m writing this message from it). This rules out issues with my ISP or the modem itself.
Here is what I’ve tried so far but didn’t resolve the issue:
- Changed the ethernet port on the back of the modem (one of the ports could have been defective)
- Connecting via wifi
- Ran ClamAV to ensure no infections were on my computer
- Ran BleachBit to clean up files and clear cache/cookies
I can’t seem to figure out what went wrong.
ip a; ip r; cat /etc/netplan/*.yaml. Attach results to your question.