[Pkg-utopia-maintainers] Bug#508861: network-manager: /etc/resolv.conf is empty at boot

Drew Parsons dparsons at debian.org
Tue Dec 16 01:00:12 UTC 2008


On Tue, 2008-12-16 at 01:39 +0100, Michael Biebl wrote:
> 
> Could you please show me your /etc/network/interfaces?
> 

Attached. It's showing my static office address, since that's the nm
profile I've currently selected.


> Have you configured the static configuration vi /e/n/i or the
> nm-connection-editor, i.e. a keyfile connection.
> 

No, I did all the configuration using network-manager (i.e the Network
Settings tool).  When I select my roaming (dhcp) profile in nm, for
instance, then the static configuration in /etc/network/interfaces
disappears.

I may have had a look at nm-connection-editor (Gnome
System->Preferences->Network Configuration) but didn't see any useful
settings there (the new 0.7 version seems to have more but I only had a
brief glimpse without configuring settings), so I've been using
System->Administration->Network instead.

> If you want to pass dns info to NM and you are using /e/n/i, you should use a
> 
> dns-nameservers and dns-search stanza (see the resolvconf man page).
> 
> If you are using the keyfile plugin, you have to configure a dns server via
> nm-connection-editor under IPv4-Settings.

I typed in the dns info using the Network Settings (nm) tool, in the DNS
tab and saved it to the fixed Location which I've been having to select
to reset resolv.conf.  I haven't been touching /e/n/i manually at all.  

I don't know what the keyfile plugin is so I haven't been using it as
far as I know. Is there a way to check if it might be mixing up my
configuration accidentally?

Drew

-------------- next part --------------
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0













iface eth0 inet static
address 150.203.181.71
netmask 255.255.248.0
gateway 150.203.176.1


More information about the Pkg-utopia-maintainers mailing list