From owner-freebsd-questions Thu Apr 12 0:25:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rm-rstar.sfu.ca (rm-rstar.sfu.ca [142.58.120.21]) by hub.freebsd.org (Postfix) with ESMTP id 3CE6F37B43F for ; Thu, 12 Apr 2001 00:25:38 -0700 (PDT) (envelope-from tmchow@sfu.ca) Received: from fraser.sfu.ca (tmchow@fraser.sfu.ca [142.58.101.25]) by rm-rstar.sfu.ca (8.10.1/8.10.1/SFU-5.0H) with ESMTP id f3C7PXq17982 for ; Thu, 12 Apr 2001 00:25:33 -0700 (PDT) Received: from localhost (tmchow@localhost) by fraser.sfu.ca (8.9.2/8.9.2/SFU-5.0C) with ESMTP id AAA14805 for ; Thu, 12 Apr 2001 00:25:33 -0700 (PDT) X-Authentication-Warning: fraser.sfu.ca: tmchow owned process doing -bs Date: Thu, 12 Apr 2001 00:25:33 -0700 (PDT) From: Trevin Chow To: Subject: RE: resolv.conf overwrite In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alternatively, you could also just do a: chflags schg /etc/resolv.conf Not as clean as some other people's solution, but it works :) On Wed, 11 Apr 2001, Todd Punderson wrote: > Check in /sbin/dhclient-script I commented the part right near the top that > updates that file. Now all is well, you just need to remember to do it again > after a installworld. :) > Todd > > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Leonard Zettel > Sent: Wednesday, April 11, 2001 10:27 PM > To: freebsd-questions@FreeBSD.ORG > Subject: resolv.conf overwrite > > > Following The Complete FreeBSD p 480 I created the following > /etc/resolv.conf > > # Changed by Len Zettel 4/11/01 > #----------removed------------- > # search > # nameserver 192.168.0.185 > # ------------------------------ > # ---------Added--------------- > domain Oz. > nameserver 204.254.120.6 # Bignet primary nameserver > nameserver 204.254.120.7 # Bignet secondart nameserver > #------------------------------------------------------ > > I was then happy as a clam at high tide at being able > to ping domain names on the net. :-) > This looked like PROGRESS! (One step at a time division). > > Then I rebooted :-( > > /etc/resolv.conf now contained > > search > nameserver 192.168.0.185 > > Tentative conclusion: something in the boot sequence > is fooling with (probably creating) /etc/resolv.conf > > So, what do I change to stop this? Or should I not > be trying to stop it? And doing something else entirely? > And where can I read about THAT? > > My access to the net is via DSL with a Windows machine as gateway > running a package calle SyGate. (Yes, technically DUMB, DUMB, DUMB) > except for one thing: it works. Even I got it working. When (not IF, > optimist that I am) I get Free BSD running well under this setup > we'll work on changing it. Hopefully a step at a time. > Thanks for reading. > -LenZ- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message