I upgraded to Ubuntu 18.04. Since then, I am able to access Internet only through Tor browser. Before the upgrade, I could access Internet using a normal Chrome/Firefox browser without involving Tor. How to fix this?
2 Answers
Did you try to add Google servers? That's a hard reset I do sometimes after updating NordVPN I cannot access the internet neither Chromium or Firefox but Telegram works perfectly fine, like what a hack... There's a hard reset I use by overwriting resolv.conf
sudo nano /etc/resolv.conf
delete what is inside and add
nameserver 8.8.8.8
nameserver 8.8.4.4
Save it and close. Resolv.conf
gets overwritten all the time by your system environment so you won't do much damage to the network it more likely will produce debug effect.
Now run
sudo systemctl restart NetworkManager.service
Or click switch On / Off network icon.
You can find lots of variants in this old thread as well as similar to my way of workaround above and use it as a fix.

- 6,972
- 9
- 43
- 65
You may have an incorrectly configured Internet connection, so you are experiencing problems with the Internet.
Tor when installed downloads a number of packages torsocks lynx and may be some others installed by you that affect the quality of the connection.
To resolve the situation, you need to do the following.
- Make sure that the output of ifconfig or ip addr shows the correct settings.
- Remove all packages related to the Internet.
- Make sure that the contents of /etc/resolv.conf correct 4. Check how the Internet is configured on the system, and if you use a network Manager or any other connection Manager, try to remove them and configure a static connection.
- Reinstall browser
- Check your gateway or router
- Reboot pc.
Also, here duplicate question? No internet after upgrade from 16.04 to 18.04
http
/https
are blocked (80 and 443) – damadam Nov 07 '19 at 09:02nmcli device show | grep -E "IP4.DNS|IP4.GATEWAY|IP4.ADDRESS"
and check if something is not right. Also to rule out this point or to fix it if you spot something is wrong, try refreshing your lease by runningsudo dhclient -r && sudo dhclient
two or three times and check your DNS again using the first command above then try internet and see if this helps. Best Of Luck – Raffa Nov 07 '19 at 18:17Looks quite similar. – Wojciech Malecha Nov 10 '19 at 10:44
dpkg-query -l dnscrypt-proxy
? Please [edit] that into your post. Thank you for helping us help you! – Elder Geek Nov 13 '19 at 02:12