My laptop can connect to the internet through an Ethernet cable, but Wi-Fi no longer works anywhere—not at home or at school. Other devices connect normally, so the routers don't seem to be the problem. The laptop reports that the standard gateway is unavailable and shows limited connectivity, which makes me wonder whether it can connect to the router but cannot reach the internet. I need Wi-Fi for school, and running a cable isn't practical. Is this likely to be an easy software or hardware fix, or is it time to replace the laptop?
5 Answers
You can also test with a Linux live USB without installing anything. If Wi-Fi works there, the issue is probably Windows, its drivers, or its network settings. If it fails there too, the wireless card is more likely defective.
Given the age of the machine, plus the loose battery and wobbly charging port, replacing it sounds reasonable. You’ve already gotten a good lifespan from it. If you retire it, remove the hard drive first and use a USB SATA adapter to recover or transfer your files. The original poster agreed that the battery and charging-port problems make replacement the better choice.
Before replacing the laptop, try resetting the Windows network stack. Open Command Prompt as administrator and run `netsh winsock reset`, followed by `netsh int ip reset`, then restart. You can also uninstall the Wi-Fi adapter in Device Manager and reboot so Windows reinstalls it. If that doesn’t work, install the latest Wi-Fi driver for the laptop.
A cheap USB Wi-Fi adapter is probably the easiest test and workaround. They’re usually inexpensive, and if one works, you’ll know the built-in wireless card has failed. Replacing the internal card is another option, but compatibility and opening the laptop can make it more trouble than it’s worth.
Check whether the laptop is configured with a manually assigned IP address or DNS settings. It should generally be set to obtain an IP address and DNS automatically. A bad fixed configuration can cause the gateway and limited-connectivity errors even when the hardware is fine.

That sounds like more repair work than this laptop is worth, especially with the loose battery and charging port. I think it’s finally time to buy a new one.