2011/2/3 elbbit
<elbbit@gmail.com>
On 03/02/11 10:19, Raffaele Morelli wrote:
> Hi,
>
> I am having serious troubles with dhcp. The resolv.conf file is being
> continuosly overwritten by some program/daemon I can't guess.
> 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?
>
> Best regards
> Raffaele
>
Maybe you could grep the list of open files to see if you can identify
what may be overwriting it?
lsof | grep resolv
Hi,
you'll find the output of lsof|grep resolv at the end and but as you can see there are too many apps involved...
I actually have a stable resolv.conf but I really don't know why... I only switched from network-manager to plasma-widget-networkmanagement, but /etc/dhcp3 dir it's not there anymore even if dhcp related pkgs are installed (below) and no dhclient.conf exists anymore on / filesystem
ii dhcp-client 3.1.1-6+lenny4
ii dhcp3-client 4.1.1-P1-15
ii dhcp3-common 4.1.1-P1-15
regards
raffaele
------------------------ ------------------------
NetworkMa 1371 root mem REG 8,1 80712 201973 /lib/