Got this lap top. It's configured (like all my servers) with fixed-IP (it's normally connected with Ethernet). When it's "on the road," it's connected with wi-fi and that blasted thing overwrites
/etc/resolv.conf.
I have these un-commented in
/etc/rc.d/rc.inet1.conf:
Code:
DHCP_KEEPRESOLV[4]="yes" # If you don't want /etc/resolv.conf overwritten
DHCP_KEEPNTP[4]="yes" # If you don't want ntp.conf overwritten
Is there some setting I've missed somewhere? I keep a
/etc/resolv.conf.bak that I copy over
/etc/resolv.conf to get the DNS server addresses after connecting with WICD (and the file gets wiped) which is annoying but not fatal and I'd really like to stop having to do that.
Any hints? Some setting I've missed somewhere or other?