From owner-freebsd-questions Sat Apr 14 15:22:51 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 EAD1D37B42C for ; Sat, 14 Apr 2001 15:22:47 -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 SAA13015; Sat, 14 Apr 2001 18:22:32 -0400 Message-ID: <3AD8CD98.B724298A@acm.org> Date: Sat, 14 Apr 2001 18:22:16 -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> <3AD76BF3.C1772780@acm.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok, this is a reply to my own post. Consider it a progress report on my understanding of the situation (and thanks to all who helped get me there). Leonard Zettel wrote: > > 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? No. (snip) > If I don't need DHCP, how do I turn it off? It is being turned on by the following line in the default /etc/rc.conf supplied with the system: ifconfig_dc0="DHCP" Remove the line (note that you will have to supply some network information elsewhere). (more snip) -LenZ- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message