From owner-freebsd-net@FreeBSD.ORG Sun Oct 12 09:53:38 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83DE716A4B3 for ; Sun, 12 Oct 2003 09:53:38 -0700 (PDT) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A70743F93 for ; Sun, 12 Oct 2003 09:53:37 -0700 (PDT) (envelope-from mbsd@pacbell.net) Received: from atlas (adsl-64-168-24-209.dsl.snfc21.pacbell.net [64.168.24.209])h9CGrZw5006521; Sun, 12 Oct 2003 11:53:36 -0500 (CDT) Date: Sun, 12 Oct 2003 09:53:35 -0700 (PDT) From: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= X-X-Sender: mikko@atlas.home To: Robert Downes In-Reply-To: <3F896979.6000102@lineone.net> Message-ID: <20031012094813.U3248@atlas.home> References: <3F862EA7.7000402@lineone.net> <20031010162031.GO56167@numachi.com> <3F873F44.4000205@bobulous.net> <20031012060500.GA274@numachi.com> <3F896979.6000102@lineone.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: named sandbox trouble X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2003 16:53:38 -0000 On Sun, 12 Oct 2003, Robert Downes wrote: [...] > I've realised that my /etc/resolv.conf is being overwritten on every > reboot. I assumed this was because of DHCP, but disabling DHCP meant > that my network connection was disabled. Create an executable script called /etc/dhclient-enter-hooks, containing the empty function make_resolv_conf() { : } That will prevent dhclient from overwriting resolv.conf. You can insert any code you want to be executed by dhclient when it gets new leases. See dhclient-script(8) for details. $.02, /Mikko > I think a lot of the problem is not understanding how to define a home > network behind an ADSL-modem/router/switch, so I'm configuring things > badly, and that's causing failure. > > Where can I go to fully educate myself on how to configure my > ADSL-modem/router/switch and also FreeBSD behind that router? > -- > Bob > echo Mail fefsensmrrjyaheeoceoq\! | tr "jefroq\!" "@obe.uk" > > -- > Bob > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >