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
You can adding another DNS address to the file, 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 command in Terminal to add this new DNS address to your /etc/resolv.conf file:
sudo sh -c 'echo 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
- Dec 20 2017, 11:15