0

Now that I've upgraded Ubuntu to 18.04.1 LTS, the WiFi indicator is a question mark, and no longer works.

The only fix I have found that works is for me to manually change my DNS server in resolv.conf, but I have to do this every time I restart.

Here is what I do:

enter image description here

And the result is:

enter image description here

I then change it:

enter image description here

And after restarting network-manager, wifi works correctly

Edit: My problem is not that I want to change my default DNS into a faster one. I would just like wifi to work without me having to manually change my DNS server every time I reboot

6
  • 3
    Possible duplicate of How do I Permanently configure the DNS server list in 16.04? – guiverc Sep 10 '18 at 6:57
  • @guiverc no, his problem about permanently change the normal (working) DNS into the speedy working Google's DNS but my problem is that the normal DNS doesn't work! – Abanoub Hanna Sep 10 '18 at 7:12
  • I still think it applies. However yes you are correct, instead of using DHCP; you follow instructions on the page but instead of Automatic (DHCP; which you want off), you listed DNS servers being the 8.8.8.... you want. Sorry, I assumed you'd realize this. – guiverc Sep 10 '18 at 7:33
  • Don't ever set your name server in resolv.conf, head or tail. They'll always be changed on a reboot. That is a temporary change for minor issues and or debugging, always set your name servers in the network manager file because your network manager will overwrite the interfaces file, the dhcp file and the resolv.conf file, dhcp only overwrites the resolv.conf and interfaces overwrites dhcp and interfaces, really dhcp, interfaces and network manager are all great files to choose from, but if it's already pretty set in one. That might be the core of your ::: problem – user610658 Sep 10 '18 at 10:04
  • Also, if you want to restart your interfaces at the same time you restart your network manager, change false to true in the network manager file, then restart network manager – user610658 Sep 10 '18 at 10:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.