Tutorials ยท 2025-12-06
Troubleshooting Checklist When the Internet Is Not Working
A checklist prevents me from skipping simple causes when something does not connect.
Step by step
- Check physical connection or Wi-Fi status.
- Confirm the device has an IP address.
- Check subnet mask, gateway, and DNS settings.
- Ping the gateway.
- Ping a public IP address.
- Test DNS with a domain name.
- Use traceroute if routing looks suspicious.
Why this order works
The order moves from local to remote. If the cable is unplugged, DNS tests do not matter yet. If the gateway cannot be reached, testing websites is too early. Each step depends on the previous step.
Example case
If a device can ping the gateway and can ping 8.8.8.8, but cannot open websites by name, DNS becomes a strong suspect. If the device cannot ping the gateway, I should focus on local network settings first.
How I document results
I write each test and result. For example: gateway ping works, public IP ping works, domain name fails. That points toward a DNS issue instead of a cable issue.
Useful command examples
ip addr: check local IP address on Linux.ip route: check default gateway on Linux.ping gateway-ip: test local gateway reachability.nslookup example.com: test DNS resolution.traceroute example.com: inspect path toward destination.
Lesson learned
Good troubleshooting is organized. The checklist helps me move from simple local checks to wider network checks without guessing.