NetworkManager
Karl Auer
kauer at biplane.com.au
Mon Oct 6 23:31:25 UTC 2008
On Mon, 2008-10-06 at 10:57 -0300, Derek Broughton wrote:
> > Well, it may be more semantics, but dhclient, apart from being the
> > *source* of (some of) the details, certainly has nothing to do with
> > storing them in any configuration files. NetworkManager, on the other
> > hand, does.
>
> Yes, dhclient does and no, NM doesn't.
The truth is out there!
This is what I did: Left-click on NM, select "manual config", add a
search domain, close. Result - resolv.conf has the new domain in it.
dhclient was not involved.
> Those aren't even NetworkManager's dialog boxes! When you select "manual
> configuration" in NM, it takes you _out_ of NM.
When I select an option in NetworkManager and it opens a dialogue called
"Network Settings", I reckon it's fair enough to call that "Network
Manager", but I take your point. Technically not NM.
> OK, I don't know where that is saved, BUT IT"S NOTHING TO DO WITH NETWORK
> MANAGER!
I do know where it's saved (at least the search domains) - it is saved
in /etc/resolv.conf. Try it.
> > BUT: The new search list *did* get written into /etc/resolv.conf!
>
> And THAT is dhclient.
No, it was NOT dhclient. dhclient had not yet been triggered. This was
done solely within the "Network Settings" dialogue, without requesting a
reconnect. When dhclient *did* get triggered, then it did overwrite the
file, as you describe. I.e., both the "Network Settings" dialogue AND
dhclient will modify resolv.conf.
> And yet again, I point out to you that if you have an
> NM managed interface, "networking restart" won't/can't and still shouldn't
> affect it.
No argument there. You're quite right, and I said so a couple of emails
ago :-)
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au) +61-2-64957160 (h)
http://www.biplane.com.au/~kauer/ +61-428-957160 (mob)
GPG fingerprint: DD23 0DF3 2260 3060 7FEC 5CA8 1AF6 D9E3 CFEE 6B28
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081007/ea521be8/attachment.sig>
More information about the ubuntu-users
mailing list