🌐 How to Restore Internet Access on Windows, macOS & Linux Device says "Connected, No Internet" or no pages load at all ⚠ You may be seeing "ERR_NETWORK_CHANGED" or "ERR_NAME_NOT_RESOLVED" in browser Yellow exclamation mark on the network icon Wi-Fi shows connected but nothing loads Other devices on the same Wi-Fi work fine 🪟 Windows 🍎 macOS 🐧 Ubuntu / Linux 1 Run the built-in Network Troubleshooter Right-click the network icon in the taskbar → Troubleshoot problems → apply every suggested fix. 2 Reset the network stack Open Command Prompt as Administrator (Win + X → Terminal (Admin)) and run these in order: # Flush stale DNS entries ipconfig /flushdns # Reset Winsock (socket layer) netsh winsock reset # Reset TCP/IP stack netsh int ip reset # Get a fresh IP address ipconfig /release ipconfig /renew Restart your PC after running these commands. 3 Update or reinstall the network driver Device Manager (Win + X) → expand Network Adapters → right-click your adapter → Update driver. Still stuck? Uninstall device → restart — Windows reinstalls it automatically. 4 Switch to a reliable public DNS Network Connections → Adapter Properties → IPv4 Properties → set: # Preferred 8.8.8.8 # Alternate 8.8.4.4 5 Power-cycle your router and modem Unplug modem + router → wait 30 sec → plug in modem first, wait for steady lights → then router. Forces a fresh DHCP lease. 1 Run Wireless Diagnostics Hold Option → click the Wi-Fi icon in the menu bar → Open Wireless Diagnostics → let the scan finish. It identifies interference, auth issues, and IP conflicts, and suggests the next step. 2 Flush the DNS cache and reset mDNSResponder Open Terminal (Spotlight → Terminal) → run: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder Enter your Mac login password when prompted. This clears stale DNS entries that point to wrong or expired IP addresses. 3 Renew your DHCP lease System Settings → Wi-Fi → Details (click ⓘ next to your network) → TCP/IP tab → Renew DHCP Lease. Fixes "Connected, No Internet" caused by a failed or expired DHCP assignment. 4 Switch to a reliable public DNS server System Settings → Wi-Fi → Details → DNS tab → click + → add: # Google DNS (fast and reliable) 8.8.8.8 8.8.4.4 Alternatively use Cloudflare DNS: 1.1.1.1 and 1.0.0.1. This bypasses a slow or broken ISP DNS server, which is a common hidden cause of "no internet" when the connection itself is fine. 5 Forget and rejoin the Wi-Fi network System Settings → Wi-Fi → click ⓘ next to your network → Forget This Network → reconnect (select network → enter password). Clears corrupted keychain credentials and saved network config.Still stuck? Power-cycle the router: unplug 30 sec → plug back in → wait for steady lights before rejoining. 1 Check your connection status Open a terminal → check your network interface state: # List all interfaces and their state ip link show # Check if you have an IP address assigned ip addr show Look for your primary interface (usually eth0, enp3s0, or wlan0). It should show state UP and have an inet address. 2 Flush DNS cache # Modern Ubuntu (18.04+) using systemd-resolved sudo resolvectl flush-caches # Verify cache was cleared resolvectl statistics | grep -i cache 3 Restart the network service # Restart NetworkManager (standard on Ubuntu Desktop) sudo systemctl restart NetworkManager # If using netplan (Ubuntu Server 18.04+) sudo netplan apply # Check NetworkManager status systemctl status NetworkManager 4 Renew DHCP lease # Replace eth0 with your actual interface name sudo dhclient -r eth0 sudo dhclient eth0 # Or using NetworkManager's nmcli nmcli con down "Your Connection Name" nmcli con up "Your Connection Name" 5 Set a reliable public DNS # Edit resolved config sudo nano /etc/systemd/resolved.conf Under [Resolve] → add or uncomment: DNS=8.8.8.8 8.8.4.4 FallbackDNS=1.1.1.1 1.0.0.1 Then restart the resolver: sudo systemctl restart systemd-resolved 💡 Quick check first: If other devices on the same router also have no internet, the problem is the router or your ISP — not your computer. Skip straight to step 5 (power-cycle) and check your ISP's outage page.
❓ Related Questions Quick answers for this issue Why does internet work on my phone but not my laptop? ▼ This almost always points to a laptop-specific issue rather than your router or ISP. Common causes are a corrupted network driver, a misconfigured DNS or IP setting, or a local firewall blocking connections. Start with ipconfig /flushdns and netsh winsock reset in an elevated Command Prompt, restart, then update your Wi-Fi adapter driver in Device Manager if the issue persists. How do I tell if my ISP is the problem, not my router? ▼ Connect your laptop directly to the modem using an Ethernet cable, bypassing the router entirely. If the problem persists, it's the ISP or modem — call your ISP and ask them to run a line test. If it works fine directly through the modem, the router is the culprit. Also check your ISP's outage page or Downdetector.com.