[Pkg-utopia-maintainers] Bug#508861: network-manager: /etc/resolv.conf is empty at boot
Michael Biebl
biebl at debian.org
Tue Dec 16 00:39:59 UTC 2008
Drew Parsons wrote:
> Package: network-manager
> Version: 0.7.0~svn4191-1
> Severity: normal
>
> I use network-manager for my laptop, managing switching between
> wireless and wired and between fixed (work/home) and dhcp (roaming).
>
> I'm finding that when I boot up, network-manager is "started" and the
> interface is brought up (ifconfig shows eth0), set for example to the
> last static IP which was active when I shut the computer down the
> previous night. But /etc/resolv.conf is unconfigured. resolvconf is
> installed, with the symlink existing:
>
> $ ls -l /etc/resolv.conf
> lrwxrwxrwx 1 root root 31 2008-12-05 17:05 /etc/resolv.conf ->
> /etc/resolvconf/run/resolv.conf
> $ cat /etc/resolv.conf
> # Dynamic resolv.conf(5) file for glibc resolver(3) generated by
> resolvconf(8)
> # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
> $
>
> In order to get network-manager populating resolv.conf, I need to
> start the Network Settings tool (System->Administration->Network in
> the Gnome menu) and click explicitly on the saved location (even
> though its settings are already in place in the Connections tab).
> Simply restarting the connection (clicking the tick-box off and on
> again) is not enough. Only reselecting the Location gets the job done.
>
> I pulled network-manager 0.7 beta from experimental - I need the WPA
> wireless support. I suspect the resolv.conf problems started
> after this but I'm not completely sure.
>
> I'm not sure if this is related to Ubuntu Bug #256480 or not,
> https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/256480
>
> Or is network-manager tripping over Debian bug #408292, ignoring a
> "static" ip configuration even thought it set it up itself? I'm
> filing this as a bug separated to #408292 since I did use
> network-manager to configure the static ip (which I need to be able to
> switch on and off depending on where I take my laptop).
>
> Let me know which further information you need me to provide.
>
Could you please show me your /etc/network/interfaces?
Have you configured the static configuration vi /e/n/i or the
nm-connection-editor, i.e. a keyfile 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.
Cheers,
Michael
--
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/de955109/attachment.pgp
More information about the Pkg-utopia-maintainers
mailing list