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

Re: setting up a static IP address

16.8.2011 18:31, Steve Kleene kirjoitti:
> On Tue, 16 Aug 2011 03:32:42 -0500, Selim T. Erdogan wrote:
>> (I also have dns-nameservers lines in my eth0 stanza in /e/n/i.
>> IIRC, when I didn't, using dynamic wireless connections kept clobbering
>> the static DNS entries in /etc/resolv.conf.)
> That's interesting, because on one my machines resolv.conf gets nulled out
> during the boot process.  I hacked around that by putting it back via
> /etc/rc.local.  I'll try the better solution you suggest.

It is dhclient rewriting it, with data received from DHCP.

Edit "/etc/dhcp3/dhclient.conf"

I have added

prepend domain-name-servers,,;
prepend domain-name "fredriksson.dy.fi";


Accent on helpful side of your nature.  Drain the moat.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: