[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DHCP weirdness? broken?

On Thu, 03 Feb 2011 11:19:55 +0100, Raffaele Morelli wrote:

> I am having serious troubles with dhcp. The resolv.conf file is being
> continuosly overwritten by some program/daemon I can't guess. 

Hum... maybe network manager or dhcpcd, buts should be normal if you are 
using a dynamic IP setup :-?

> I tried the supersede/prepend directives in dhclient.conf with no
> success, the same with the dhclient-script hooks I tried using network
> -manager connections to get rid of dhcp client settings.
> I have removed dhcp* packages and reinstalled again from scratch and as
> a result the /etc/dhcp3/ directory is not there anymore.
> I really can't figure out what to do.
> Any suggestion?

You can tell dhcpcd to do not modify the "/etc/resolv.conf" file by 
adding "nohook resolv.conf" at "/etc/dhcpcd/dhclient.conf" file.



Reply to: