Comment 95 for bug 279262

Revision history for this message
Martin G Miller (mgmiller) wrote : Re: [regression] devices/interfaces not set to "auto" in /etc/network/interfaces get blacklisted in 0.7 (intrepid) but were managed in 0.6 (hardy and before)

Paul, you didn't look at the gui for network manager very closely, did you?
Network manager does write to resolv.conf.

This is how you set up for a static IP connection:
Right click the icon, select "edit connections", highlight the connection you want to tweak. Click Edit and then select the "IPV4 Settings"tab. You put your gateway (192.168.1.1 in my case also) on the line with the IP address in the field labeled "Gateway". You put the DNS servers on the DNS servers line, seperated by a comma(,).

As gui's go it's pretty straightforward and seems to work fine once the other issues I experienced in my upgrade from Hardy to Intrepid were sorted.

In fact, you have put your routers IP in the DNS field, which really isn't correct. Apparently, something in your router is taking care of the DNS lookups for you.

Go into your router and look in the "Status" field or whatever your router calls it (I have a Linksys) to see the correct DNS entries.
I am assuming your router uses TCP/IP and is set to DHCP to pull an address from your ISP.

Of course, if you use PPP or PPPoe, which I have no experience with, I may be totally off base here.

Here is my resolve.conf, properly written to by network manager with the correct DNS entries, retrieved from looking at my router:
$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 167.206.254.2
nameserver 167.206.254.1

If I use the "Automatic Eth0" connection, every thing in all the fields is set to automatic and greyed out & works
fine in the half dozen or so Intrepid machines I have set up. You still have the option to change this setting as noted above by changing the method in the IPV4 tab from "Automatic (DHCP)" to "Manual" and then you can enter whatever you want. I just haven't found that to be necessary.

If you are not able to write to the needed fields or it tells you "permission denied" when you try to save something, that is a bug as noted above on Hardy to Intrepid upgrades and if you read through the posts above, you will find the fix for that.