I installed elementary OS on a hp laptop, and everything was working fine. Suddenly, after 3 days Internet connection does not work anymore. The laptop connects to the WiFi, but Internet won't work. I installed Elementary in dual boot, and when using Windows the laptop connects to the Internet normally...
I solved by overwriting the resolv.conf file with only two lines: nameserver 220.127.116.11 nameserver 18.104.22.168
Now I fear I shouldn't have completely overwritten the file with only those two lines. I'm completely new to Linux; do you think it will generate more problems?
Thanks in advance!
2There is no problem because this file gets overwritten if you reconnect to your wifi. However, it seems that your wifi router is not configured well enough to provide the actual DNS server to elementary OS. Jun 5, 2017 at 21:50