When the Internet Suddenly Stops Working: How to Diagnose a Network Connectivity Problem
Computing is wonderful when everything works.
A student opens a laptop, clicks the browser, types in a website, and within a fraction of a second the page appears. It feels effortless. It feels almost magical.
Until it does not.
One minute the computer is happily connected to the internet. The next minute the browser says:
“This site can’t be reached.”
Or perhaps:
“No internet.”
Or, even more irritatingly:
“Connected, no internet.”
For an A Level Computer Science student, this is a useful real-world problem because it shows that computing is not just about writing programs. It is also about understanding systems. A network is not one thing. It is a chain of devices, addresses, protocols, cables, switches, routers, wireless access points, DNS servers and network interfaces.
When the internet stops working, the challenge is not just fixing it. The challenge is working out where the failure is.
That is what makes network problems so awkward. They are often not solved by guessing. They are solved by following a logical diagnostic process.
Why Network Problems Are So Difficult
A broken keyboard is usually obvious. A cracked screen is usually visible. A printer with no paper is annoying, but at least it tells you what it wants.
A network problem is different because the fault may be hidden several steps away from the computer.
The problem could be:
- the website itself is down
- the browser is misbehaving
- the computer’s Wi-Fi has disconnected
- the network interface has frozen
- the IP address has not been assigned correctly
- the DNS server is not responding
- the router has stopped routing
- the switch has locked up
- a cable has failed
- the internet service provider has a fault
- the entire local network infrastructure needs rebooting
The user simply sees one thing:
“The internet does not work.”
But that statement is far too vague for a technician or computer scientist. The proper question is:
At what point in the communication chain is the failure occurring?
A Realistic Scenario
Imagine a student is working in a classroom or home office. Their computer was connected to the internet earlier in the day. Nothing obvious has changed.
Then suddenly:
- web pages will not load
- Teams or Zoom stops connecting
- email refuses to refresh
- cloud storage will not sync
- the Wi-Fi symbol may still show as connected
- other devices might or might not be working
This is exactly the sort of problem that catches people out. They often restart the browser, click random settings, disconnect and reconnect Wi-Fi several times, and then finally give up.
A better approach is to diagnose the problem in layers.
Step 1: Check the Obvious First
This may sound too simple, but it is where good troubleshooting begins.
Before changing settings, ask:
- Is Wi-Fi turned on?
- Is airplane mode off?
- Is the network cable plugged in?
- Has the laptop connected to the wrong Wi-Fi network?
- Is the device too far from the wireless access point?
- Is the router or switch powered on?
- Are other people having the same problem?
This matters because the simplest explanation is often correct.
A Level students sometimes want to jump straight into advanced tools such as ipconfig, ping and DNS testing. Those tools are useful, but not before checking the basics.
There is no point investigating DNS if the network cable has been pulled out.
Step 2: Decide Whether the Fault Is One Device or Many
This is one of the most important early questions.
Ask:
Is only this computer affected, or are other devices affected too?
If only one computer cannot access the internet, the fault is probably local to that machine. It may be a Wi-Fi issue, a network adapter problem, a bad IP configuration or a software problem.
If several devices cannot access the internet, the fault is probably further up the network. It could be the router, switch, access point, broadband connection or internet service provider.
This one question immediately narrows the search.
For example:
- Laptop A fails, but Laptop B and a phone work: likely Laptop A problem.
- All laptops fail, but phones on mobile data work: likely local network or broadband issue.
- Wired computers work, but Wi-Fi devices fail: likely wireless access point issue.
- Wi-Fi works, but wired desktops fail: possibly switch, cable or wired network issue.
A good technician does not simply ask, “Does it work?”
They ask, “Where does it stop working?”
Step 3: Restart the Application — But Do Not Stop There
Sometimes the browser itself is the problem. It may have frozen, cached an error, or failed to update a connection.
Try:
- closing and reopening the browser
- trying a different browser
- testing several different websites
- checking whether other internet-based applications work
This helps distinguish between a website problem, a browser problem and a general network problem.
For example, if one website fails but others work, the computer is probably connected. The issue may be with that website, a login system, a certificate, or a temporary server fault.
If every website fails and email also fails, the problem is more likely to be network-related.
Step 4: Disconnect and Reconnect the Network
The next simple action is to disconnect from the network and reconnect.
For Wi-Fi:
- turn Wi-Fi off
- wait a few seconds
- turn Wi-Fi back on
- reconnect to the correct network
For wired Ethernet:
- unplug the cable
- wait a few seconds
- plug it back in
- check for link lights near the socket, if available
This can force the computer to renegotiate its connection with the network. In some cases, that is enough.
However, if the network interface itself has become stuck, this may not solve the problem. That is when resetting the network adapter becomes useful.
Step 5: Reset the Network Interface
A network interface is the hardware or virtual device that allows the computer to communicate with a network.
It may be:
- a Wi-Fi adapter
- an Ethernet adapter
- a USB network dongle
- a virtual adapter created by VPN software
Sometimes the network interface becomes unresponsive. It may still appear connected, but packets are not being sent or received properly.
On Windows, one practical solution is to disable and re-enable the network adapter.
This can be done through:
Settings → Network & Internet → Advanced network settings → Network adapters
Or through the older Control Panel network settings.
Disabling and re-enabling the adapter forces the operating system to restart that interface. It is a bit like unplugging and reconnecting the network hardware, but in software.
This is often enough to fix a machine that was working normally but has suddenly lost connectivity.
Step 6: Restart the Computer
It sounds basic, but it is still a valid troubleshooting step.
Restarting the computer clears temporary software faults, reloads drivers, restarts network services and forces the machine to request network settings again.
A restart can fix:
- frozen network services
- driver glitches
- VPN conflicts
- temporary operating system faults
- failed DHCP renewal
- adapter problems
However, a restart should not be treated as magic. If the fault keeps returning, there is still an underlying problem to investigate.
In computing, we should not just say, “Restart it and hope.”
We should say, “Restart it, observe what changes, and use that evidence.”
Step 7: Check the IP Address
A device needs a valid IP address to communicate on a network.
On Windows, open Command Prompt and type:
ipconfigYou are looking for information such as:
- IPv4 address
- subnet mask
- default gateway
- DNS servers
A normal home or school network might give an address like:
192.168.1.25or
10.0.0.18The exact numbers depend on the network.
A warning sign is an address beginning:
169.254This usually means the computer has failed to obtain an IP address from the DHCP server. DHCP is the system that automatically gives devices their network settings.
If the computer has not received a valid IP address, it may be connected physically or wirelessly, but still unable to communicate properly.
This is why “connected” does not always mean “working”.
Step 8: Renew the IP Address
If the device has a bad or missing IP address, it may help to release and renew the address.
On Windows Command Prompt, the commands are:
ipconfig /release
ipconfig /renewThe first command gives up the current address. The second asks the DHCP server for a new one.
This can fix problems where the computer has become confused about its network settings or where the DHCP lease has not renewed correctly.
For A Level students, this is a useful link between theory and practice. DHCP is often taught as a protocol that automatically assigns IP addresses. Here, students can see what happens when that process fails.
Step 9: Test the Local Network with Ping
The ping command is one of the most useful tools for diagnosing network connectivity.
It sends a small test packet to another device and waits for a reply.
First, test the default gateway. The default gateway is usually the router.
If the gateway address is:
192.168.1.1you can type:
ping 192.168.1.1If this works, the computer can communicate with the router.
If it fails, the problem is likely between the computer and the local network. That may involve:
- Wi-Fi connection
- Ethernet cable
- network adapter
- switch
- access point
- router LAN interface
This is an important distinction.
If you cannot even ping the router, there is little point blaming a website.
The data is not even leaving the local network properly.
Step 10: Test the Internet Without DNS
Next, test whether the computer can reach the wider internet using an IP address.
A common test is:
ping 8.8.8.8This tests whether the computer can reach an external internet address.
If this works, the internet connection may be functioning, but name resolution may be failing.
In other words, the computer can reach the internet by number, but not by name.
That suggests a DNS problem.
Step 11: Check DNS
DNS stands for Domain Name System. It converts website names into IP addresses.
Humans prefer names such as:
www.bbc.co.ukComputers need IP addresses.
If DNS fails, the computer may still have an internet connection, but websites will not load by name.
A useful test is:
ping www.bbc.co.ukIf pinging an IP address works but pinging a website name fails, DNS is likely to be the problem.
DNS faults can be caused by:
- incorrect DNS settings
- router DNS problems
- ISP DNS failure
- VPN software
- security software
- local DNS cache corruption
One possible fix is to flush the DNS cache:
ipconfig /flushdnsThis clears stored DNS results and forces the computer to look them up again.
Step 12: Check for VPN or Security Software Problems
Many modern network faults are caused not by the network itself, but by software sitting between the computer and the network.
VPNs, firewalls, antivirus tools and filtering systems can all interfere with connectivity.
A student may say:
“The internet is broken.”
But the actual cause may be:
- a VPN that failed to disconnect properly
- a firewall blocking the browser
- school filtering software
- parental control settings
- a security update
- a proxy setting left behind
If the problem began after installing software, joining a different network, using a VPN, or changing security settings, that clue matters.
Troubleshooting is partly technical and partly detective work.
Step 13: Try Another Network
If possible, connect the computer to a different network.
For example:
- use a mobile hotspot
- connect to a different Wi-Fi network
- try a wired Ethernet connection
- try the same network with another device
This helps identify whether the problem follows the computer or stays with the network.
If the computer works perfectly on a mobile hotspot, the device is probably fine. The problem may be with the original router, switch, access point or internet connection.
If the computer fails on every network, the problem is probably on the computer itself.
This is a very powerful diagnostic method.
Step 14: Reboot the Router or Access Point
If several devices are affected, the fault may be with the router or wireless access point.
Routers are small computers. They have processors, memory, software and configuration files. Like all computers, they can crash, freeze or behave unpredictably.
Rebooting the router can fix:
- routing faults
- DNS forwarding problems
- DHCP problems
- overloaded memory
- wireless access point faults
- temporary ISP connection issues
However, this should be done sensibly.
Before rebooting shared infrastructure, check whether other users are relying on it. In a school, business or studio environment, restarting the router could interrupt lessons, video calls, uploads or livestreams.
A good technician does not casually reboot infrastructure without thinking about the consequences.
Step 15: Check the Switch
This is where things become more interesting.
A network switch connects wired devices together. In many homes and businesses, the switch is almost invisible. It may sit in a cupboard with blinking lights and be forgotten for years.
But switches can fail or lock up.
Symptoms of a switch problem may include:
- several wired devices losing connection
- Wi-Fi still working but desktops failing
- devices showing network connected but no traffic passing
- some network sockets working and others not
- intermittent faults that seem random
Sometimes a switch simply needs power-cycling. Other times, a port, cable or power supply may have failed.
This is one reason network problems can be so hard to diagnose. The computer may be perfectly fine, but the fault may be in a small box several rooms away.
Step 16: Check the Physical Infrastructure
Computing students sometimes think networks are purely digital. In reality, networks depend on physical infrastructure.
That includes:
- Ethernet cables
- wall sockets
- patch panels
- switches
- routers
- power supplies
- fibre or broadband connections
- wireless access points
A single damaged cable can cause hours of confusion.
A loose patch lead in a cabinet can disconnect one room while the rest of the building works perfectly.
A switch with a failing power supply can create intermittent faults that appear and disappear.
A wireless access point may be powered by Power over Ethernet, so a cable fault can also become a power fault.
The physical layer matters.
This links beautifully to the OSI model, where the bottom layer is the physical layer. Without that, none of the clever protocols above it can help.
Step 17: Use a Logical Troubleshooting Order
Here is a practical checklist students can use.
Network Troubleshooting Checklist
1. Confirm the problem
- What exactly does not work?
- Is it one website or every website?
- Is it only the browser, or all internet services?
2. Check the obvious
- Wi-Fi on?
- Airplane mode off?
- Cable connected?
- Correct network selected?
- Router or switch powered?
3. Compare devices
- Does another computer work?
- Does a phone work on the same Wi-Fi?
- Are wired and wireless devices affected differently?
4. Restart simple things first
- Restart browser
- Disconnect and reconnect Wi-Fi
- Unplug and reconnect Ethernet
- Restart the computer
5. Reset the network adapter
- Disable and re-enable Wi-Fi or Ethernet adapter
- Check whether the network reconnects correctly
6. Check IP settings
Use:
ipconfigLook for:
- valid IPv4 address
- default gateway
- DNS server
- warning signs such as 169.254 addresses
7. Renew network settings
Use:
ipconfig /release
ipconfig /renew8. Test local network
Use:
ping default_gateway_addressFor example:
ping 192.168.1.19. Test internet by IP address
Use:
ping 8.8.8.810. Test DNS
Use:
ping www.bbc.co.ukIf IP works but names fail, suspect DNS.
11. Flush DNS
Use:
ipconfig /flushdns12. Check software interference
- VPN
- firewall
- antivirus
- proxy settings
- filtering software
13. Test another network
- mobile hotspot
- different Wi-Fi
- wired connection
14. Check infrastructure
- router
- access point
- switch
- cables
- wall sockets
- patch leads
15. Reboot shared equipment carefully
- router
- switch
- wireless access point
Only do this when appropriate and when it will not disrupt others unnecessarily.
Why This Matters for A Level Computer Science
Network troubleshooting is not just useful life experience. It directly links to key computing ideas.
Students can connect this problem to:
- IP addressing
- DHCP
- DNS
- routing
- packets
- protocols
- client-server communication
- network hardware
- the OSI model
- fault diagnosis
- abstraction
- systems thinking
It also teaches an important professional habit:
Do not randomly try things. Use evidence.
A good computer scientist asks:
- What works?
- What does not work?
- What changed?
- Is the fault local or wider?
- Can I test each part of the chain?
- What evidence points to the next step?
This is the same kind of thinking used in programming, electronics, engineering and science.
A Personal Reflection from Teaching Computing
One of the reasons I enjoy teaching computing is that it quickly becomes real.
A student may understand networks perfectly on paper, but then panic when their own computer refuses to connect to the internet. That is when the theory becomes useful.
DNS is no longer just a term in a textbook.
DHCP is no longer just something to memorise for an exam.
A switch is no longer just a diagram symbol.
Suddenly, these ideas matter because the student wants to get back online, upload their work, join a lesson or complete a project.
In my own teaching and studio work, reliable networking is essential. Online lessons, video streaming, file transfer, cloud backup and multi-device teaching all depend on the network behaving itself. When it does not, the solution is rarely to wave a hand vaguely and say, “The internet is down.”
The real solution is to work through the system carefully.
Computer science is not just about knowing the answer. It is about knowing how to investigate when the answer is not obvious.
The Bigger Lesson: Think Like a Technician
The worst way to fix a network problem is to change ten things at once.
If it starts working again, you do not know which change fixed it. If it gets worse, you do not know which change caused the new problem.
A better approach is:
- observe the fault
- form a hypothesis
- test one thing
- observe the result
- move to the next layer
That is scientific thinking.
That is also good computing.
Whether students go on to study computer science, engineering, cybersecurity, networking, software development or IT support, this kind of structured troubleshooting is invaluable.
Conclusion: The Internet Is Not One Thing
When a computer suddenly cannot access the internet, it is tempting to say:
“The internet is broken.”
But that is almost never precise enough.
The failure might be in the browser, the network interface, the IP configuration, DNS, the router, a switch, a cable, a wireless access point or the wider internet connection.
The skill is learning how to narrow the problem down.
For an A Level Computer Science student, this is a perfect example of systems thinking. The computer is part of a larger network. Every stage depends on the previous one working correctly.
The next time a computer says “No internet,” do not just panic and restart everything.
Start with the basics. Compare devices. Check the IP address. Test the gateway. Test the internet. Test DNS. Think logically.
Because in computing, the best problem-solvers are not the people who know one magic fix.
They are the people who know how to investigate.
