I recently installed Ubuntu on an external SSD and I've been having a tough time getting an internet connection. I turned off IPv6 and set up IPv4 to use DHCP automatically. For a little while, I did have internet access, but it was spotty—some websites worked while others didn't, and now it's completely down. Since I have a dual boot setup and Windows connects just fine, I suspect this is an issue specific to Linux. Here are some details from my setup:
- CPU: R5 3600
- Motherboard: Aorus B450
- Ubuntu version: 24.04.3 LTS
I executed some network commands but I'm not sure what they mean or how to proceed. Any help would be greatly appreciated, as I've already invested a lot of time trying to fix it!
3 Answers
It looks like you're not getting an IPv4 address based on your output. First, let’s figure out if it’s a connectivity issue or just a DNS problem. Try pinging 8.8.8.8 (Google's public DNS) and then ping google.com. If pinging 8.8.8.8 gives you a response but google.com doesn't, that indicates a DNS issue. If both fail, there might be a broader connectivity problem.
Sounds frustrating! Since you mentioned issues with DNS, it could be worth checking your DNS servers in your network settings. You could try setting Google's DNS servers directly. For IPv4, you can use 8.8.8.8 and 8.8.4.4. If you’re still having trouble after that, might want to check for driver updates or additional network config options.
Also, just as a friendly tip: when you’re posting about technical issues, it’s usually helpful to include your distro version and hardware specs. That way, everyone can give you the most accurate advice! Good luck getting it sorted!

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures