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

Re: modem insists on overwriting my resolv.conf



On Sun, 8 Dec 2002 12:15:12 +0000
Paul Lewis <paul lewis karachi freeuk com> wrote:

> My adsl modem (Eicon 2430) seems to require dhcp on its ethernet 
> interface to my server. What is annoying me is that it insists on 
> overwriting my resolv.conf file.
> 
> If the modem does not provide a dhcp lease to my server it will not 
> allow me internet access. What I would like to do is to get the ip 
> lease but ignore the update to the resolv.conf file which the modem 
> writes.
> 
> I want to use the dns from my ip provider not the dns supplied by my 
> dsl modem. Anyone suggest an easy way to accomplish this?
> 
> Redhat 6
> 
> Thanks in advance.

Mine never changes unless my IP changes. It never changes unless I move
the NIC, which I don't.

What I did was get a good resolv.conf and make it read-only. I never had
to replace it again.

Keep a backup just in case, but that one hasn't failed me yet.

-- 
/etc/passwd is full -- go away!





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