4

enter image description here

Suddenly my connection is lost

enter image description here

Ravexina
  • 55,668
  • 25
  • 164
  • 183
Ripon
  • 59
  • 2
    What are your DNS servers. try changing them to something like: 8.8.8.8 and 8.8.4.4 – Ravexina Apr 11 '17 at 17:45
  • Could you please [edit] your question to include the output of host google.com and host google.com 8.8.8.8? If neither produce a positive result, please also add the output of ping -c4 8.8.8.8. Thanks. – David Foerster Apr 11 '17 at 18:07

1 Answers1

6

I've had this issue many times on new machines and I never know how to prevent it. But here's your fix.

Open /etc/NetworkManager/NetworkManager.conf with root privileges:

sudo nano /etc/NetworkManager/NetworkManager.conf

And comment out this line:

dns=dnsmasq

So it reads:

#dns=dnsmasq

Then run:

sudo service network-manager restart

This will cause NetworkManager to update your DNS server, instead of it referencing your machine for the DNS server.

Zanna
  • 70,465
drewburr
  • 294
  • 1
  • 15