I have modem with which I connect to the internet, and it works fine on-till when I installed Best resume ever a node.js package on github and later when I try connecting to internet using the modem, modem connects fine but when I try opening any page on a browser I get server not found error or when I ping i get the error Name or service not known
Using the same modem on other machine works no problem. I am guessing the package I installed edited some of my system setting( proxy settings ).
I browser fine when I connect to a wifi.
I appreciate any help on how to fix this.
update:
After total re-installation of Ubuntu( 17.04 ), everything worked fine for a while, unfortunately the-same issues came up again.
22 Answers
just add the google DNS address to your resolv.conf, open your terminal and then tipe this :
sudo echo "nameserver 8.8.8.8" > /etc/resolv.conf
it will add dns server to your ubuntu , the /etc/resolv.conf is an config file to setup DNS on your machine,,, AFAIK this method work for me, so I hope this work for you to, if your problem solved please mark as solved this question, Hope this help you
4The problem definitely seems to be with DNS. To resolve it, you must first find what is the proper DNS for your network (you can user google's one 8.8.8.8 but this is not the most elegant solution).
If you are using Network Manager, open the settings off your modem connection, switch to IPv4 tab, and type your DNS address in the "DNS servers" field: be it either your provider's DNS, Google's or both separated with comma (the last option is recommended).
0