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

Michael Biebl biebl at debian.org
Tue Dec 16 01:15:13 UTC 2008


Drew Parsons wrote:
> 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.

Try to add the dns-* settings in /e/n/i, as I suggested, that should help.


> 
>> 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.

These are two different tools, not related to each other.

The Gnome Network tool will directly edit /etc/resolv.conf, but this information
will be lost, as soon as you activate the connection.

> 
>> 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?
> 

There are basically three ways, how to store a connection:

1.) As a user connection (stored in gconf)
2.) As a system connection (stored via keyfile plugin, see
/etc/NetworkManager/system-connections)
3.) As a (read only) system connection (/etc/network/interfaces)

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20081216/3b387ebe/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list