On Sun, Jun 22, 2003 at 10:07:08AM +0300, Shachar Shemesh wrote: > Mix Sella wrote: > > >Again. There are precisely two places that deal with resolv.conf: > > > >1) Your dhcpcd that periodically renews leases. Yes, it's stupid. As I > >told before, I use -R command line option to prevent dhcpcd from > >overwriting /etc/resolv.conf > > > The problem is that I'm not using dhcpcd. I'm using dhcp-client > (dhclient). It does not appear to have such an option. I'll migrate to > dhcpcd and see whether that helps.
I'm using dhclient3 . I assume dhclient[2] is quite similar. in /etc/dhcp3/dhclient-script the function make_resolv_conf indeed seems quite hardwierd. However editing this file is easy (simply override this function). Though according to the dhcp distro (and maybe also the debian policy you're not supposed to edit this script... BTW: debian also comes with pump (and even the pathetic udhcpc). But I couldn't find dhcpcd or dhcpxd (anybody using it?). -- Tzafrir Cohen +---------------------------+ http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend| mailto:[EMAIL PROTECTED] +---------------------------+ ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]