How to resolve network wifi issue in Ubuntu 16.04 LTS
After I upgrade to Ubuntu 16.04 found network issues, wifi does not work at all
where as it was connecting to wifi also ifconfig shows the ip details.
I tried restarting the network manager
$ sudo service network-manager restart
which didn’t help.
I could see the connection information, it has taken all the ip details with primary and Secondary DNS (check image – 1)

When I ping to www.google.com . it throws error lke unknown host www.google.com
(check image – 2)

It seems like dns resolve issue then I checked nameservers entry in /etc/resolv.conf file
$ sudo nano /etc/resolv.conf
Defination: resolv.conf is the name of a computer file used in various operating systems to configure the system’s Domain Name System (DNS) resolver
I could see only 127.0.0.1 and nameservers are not getting populated there.
SOLUTION:
Open that file /etc/NetworkManager/NetworkManager.conf
$ sudo nano /etc/NetworkManager/NetworkManager.conf
find dnsmasq entry is there ?
comment out that
#dns=dnsmasq
save and close
Restart network service
$ sudo service network-manager restart
else restart the machine
$ sudo shutdown -r now
you should now able to browse properly without any DNS error, also you can see in /etc/resolv.conf nameserver entries there.
Hope the above steps will work to fix the Ubuntu 16.04 found network issues, wifi does not work at all.
You may also like: Basic easy steps to install Apache, PHP, MySql and PhpMyAdmin in Ubuntu