From owner-freebsd-questions Fri Apr 13 14:13:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bakabaka.bignet.net (bakabaka.bignet.net [64.79.64.12]) by hub.freebsd.org (Postfix) with ESMTP id B71CC37B509 for ; Fri, 13 Apr 2001 14:13:55 -0700 (PDT) (envelope-from zettel@acm.org) Received: from acm.org (host171.64-79-90.bignet.net [64.79.90.171]) by bakabaka.bignet.net (8.9.3/8.9.3) with ESMTP id RAA19759; Fri, 13 Apr 2001 17:13:39 -0400 Message-ID: <3AD76BF3.C1772780@acm.org> Date: Fri, 13 Apr 2001 17:13:24 -0400 From: Leonard Zettel X-Mailer: Mozilla 4.75 [en] (Win95; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: Reg , freebsd-questions@freebsd.org Subject: Re: resolv.conf overwrite References: <3AD51271.25615AEB@acm.org> <3AD51655.871D49A3@typhoon.co.jp> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Reg wrote: > > Hello! > > My guess is that you're using DHCP? If so, then resolve.conf is > overwritten at boot time to reflect the information given out by the DHCP > server. > Yes, it looks like I am using DHCP. I have now studied the relevant man pages. To continue on the elephant one bite at a time, given that I will (for the indefinite future anyway) always be going to another machine on my local network (192.168.0.185) to get to the net, is it necessary (or a good idea) to use DHCP? If so, what service is it providing (configuration or otherwise) that I need? What information is it using to create /etc/resolv.conf? Given that 192.168.0.185 is not a nameserver (at least I don't think it is), how do I disabuse DHCP of this notion? If I don't need DHCP, how do I turn it off? -LenZ- > Reg. > > Leonard Zettel wrote: > > > 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 > > #------------------------------------------------------ > > (snip) > > Then I rebooted :-( > > > > /etc/resolv.conf now contained > > > > search > > nameserver 192.168.0.185 > > (snip) > > 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