No internet access when connected to WIFI
→ → No internet access when connected to WIFI
Connected to WIFI but there is no internet access
Problem
System is successfully connected to a WIFI network, but there is no connection to internet. The same wifi connection on other devices has internet access.
Check
Check your DNS (execute this command in your terminal):
cat /etc/resolv.conf
Solution
Run this terminal command:
dpkg-reconfigure resolvconf
If this does not help, you can try adding another DNS address to the resolv.conf file manually, and see if this will fix your connection. For example, you can add Google public DNS (8.8.8.8) or choose a DNS from the OpenNIC DNS list here (just pick the first address): https://www.opennic.org/
Execute the following terminal command to add this new DNS address to your /etc/resolv.conf file:
sudo sh -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf'
The effect of this change will be visible immediately, so if you now have internet access, the problem was your DNS (or the network stack that did not update it correctly). Make sure to update your system later!
- Last Author
- mladen
- Last Edited
- Nov 27 2018, 10:27