When Ubuntu Desktop connects to your router but displays a small question mark (?) over the Wi-Fi symbol in the top-right bar, it means your laptop joined the local wireless signal successfully yet cannot reach the wider internet. Websites time out, software updates stall, and Ubuntu’s built-in connectivity check marks the link as limited.
In everyday desktop use, three culprits cause this almost every time: broken DNS settings from your router, a leftover VPN kill switch from an earlier session, or a stale wireless lease after waking from sleep.
Set a Reliable DNS Server in Ubuntu Wi-Fi Settings
Very often your internet connection itself works fine, but your router’s automatic DNS resolver fails to translate website names into addresses — making Chrome, Firefox, and Ubuntu’s connectivity test think you are offline.
- Click the system menu in the top-right corner of Ubuntu and open Settings -> Wi-Fi.
- Click the small gear icon beside your connected Wi-Fi network name.
- Open the IPv4 tab.
- Switch off the Automatic toggle next to DNS, then enter
1.1.1.1, 8.8.8.8into the DNS box. - Click Apply in the top-right corner, toggle Wi-Fi off and back on once, and test loading a webpage.
Check for Leftover VPN Profiles or Stuck Kill Switches
If you closed a VPN app abruptly or rebooted while connected to a VPN, Ubuntu’s NetworkManager can leave an invisible virtual interface or strict firewall kill switch active that blocks normal Wi-Fi traffic on the next login.
- Open Settings -> Network and inspect the VPN section for any active or broken toggles and switch them off.
- If you installed a third-party VPN client (such as Proton VPN, Mullvad, NordVPN, or OpenVPN), open the app once, connect and cleanly Disconnect, or turn off its Kill Switch option inside the app settings.
- If your browser still hangs, press
Ctrl + Alt + Tto open Terminal and runnmcli connection show --activeto spot any lingeringtun0orwg0VPN tunnel, then turn off that named VPN connection cleanly inside Network Settings or withnmcli connection down "VPN_NAME".
Refresh Your Wireless Lease and Reset Networking
After travelling between home and work routers, or waking a laptop from suspend, Ubuntu sometimes holds onto an expired IP address that the current router refuses to route.
- Forget and rejoin the network: Inside Settings -> Wi-Fi, click the gear icon beside the network, click Forget Connection, then reconnect and re-enter your Wi-Fi password.
- Toggle NetworkManager cleanly: Open Terminal (
Ctrl + Alt + T) and runnmcli networking off && sleep 2 && nmcli networking onto drop stale sockets and pull a fresh router lease. - Test disabling IPv6 on problematic routers: Inside your Wi-Fi network’s gear icon -> IPv6 tab, set IPv6 Method to Disable, click Apply, and reconnect. Some older ISP routers misbehave when laptops try IPv6 first.
Finally, if the question mark icon only shows up at a hotel, train, or campus, open a plain HTTP page like http://neverssl.com in Firefox or Chrome to check whether the Wi-Fi is waiting for you to click an acceptance button on a sign-in page.