kauer at biplane.com.au
Tue Oct 7 16:10:39 UTC 2008
On Tue, 2008-10-07 at 11:58 -0300, Derek Broughton wrote:
> LOL. You didn't get a thing out of this thread, did you? Network Manager
> NEVER writes to /etc/resolv.conf.
You're right. I misread /sbin/dhclient-script.
NetworkManager doesn't manage resolv.conf at all.
When it runs, dhclient will write /etc/resolv.conf based on information
received from the DHCP server and any additional information found in
the DHCP client configuration file.
If you want to change what dhclient does when it runs, you can make
changes in the configuration file /etc/dhcp3/dhclient.conf and/or to the
script /sbin/dhclient-script. In general, the config file describes how
the client should interact with the server and what adjustments (if any)
should be made to the information retrieved. The script defines what to
do after the information is retrieved - such as setting up interfaces
and writing nameserver information into /etc/resolv.conf.
The Network Settings tool (System -> Administration -> Network) reads
and lets you modify /etc/resolv.conf directly; however, any mods you
make will be wiped the next time dhclient runs. The Network Settings
tool also reads and lets you modify the /etc/hosts
and /etc/network/interfaces files directly. This tool is what runs when
you select "manual configuration" inside Network Manager.
Derek, thanks for your patience. It helped me learn a lot.
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...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the ubuntu-users