I recently upgraded Ubuntu, and now whenever I restart my computer I have no internet. To get internet I have to edit my /etc/resolv.conf file.
It shows this when I load the file.
# Generated by NetworkManager
nameserver 127.0.1.1
To get internet I have to add another nameserver, so I chose Google's, and now it looks like this:
# Generated by NetworkManager
nameserver 127.0.1.1
nameserver 8.8.8.8
How to I get it so that I have internet when I restart?