I've been using Ubuntu 24.02.2 LTS and just suddenly lost my wired internet access. I can still connect with other devices on my network for file transfers, but I can't reach any websites or servers on the internet. What can I check or do to figure out why my internet stopped working? I'm new to posting here, so I hope this is clear. I can provide more details if needed. By the way, I managed to fix the issue by restarting my VPN, which seems to have reset my DNS settings. Not sure why that worked, but thanks for all the help!
4 Answers
Have you checked if other devices on your network can access the internet? If they can, it might be a router issue rather than a problem with your Ubuntu machine. A quick solution could be rebooting your router or modem. You might be connected to the local network, but the internet connection might still be down.
It sounds like you can still access other devices in your home, but not the internet. Try running some simple commands to troubleshoot: see if you can 'ping 8.8.8.8' or 'ping google.com'. That'll help determine if it’s a connectivity issue or a DNS problem. You may also want to check your network settings using 'dig google.com' and the commands 'ip a' and 'route'. Typically, DNS settings could be the culprit here.
I agree, it’s likely a DNS issue if pinging worked for you.
Make sure to verify if your other devices are accessing the internet without issues. If that’s the case, log into your router’s admin panel to check the connection. Just because you have a network working doesn’t mean internet access is fine—check your router settings!
You might want to try a command like 'nmcli dev show | grep 'IP4\.ADDRESS\|IP4.GATEWAY'' to see if the right IP address and gateway are being used. That can give you clues about where the problem lies.
That’s what I thought too, but other devices are fine. It’s just this one.