From owner-freebsd-net@FreeBSD.ORG Sun Oct 12 10:05:27 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 E056316A4B3 for ; Sun, 12 Oct 2003 10:05:27 -0700 (PDT) Received: from natto.numachi.com (natto.numachi.com [198.175.254.216]) by mx1.FreeBSD.org (Postfix) with SMTP id C745443F75 for ; Sun, 12 Oct 2003 10:05:26 -0700 (PDT) (envelope-from reichert@numachi.com) Received: (qmail 25172 invoked by uid 1001); 12 Oct 2003 17:05:26 -0000 Date: Sun, 12 Oct 2003 13:05:26 -0400 From: Brian Reichert To: Robert Downes Message-ID: <20031012170526.GB194@numachi.com> 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 Content-Disposition: inline In-Reply-To: <3F896979.6000102@lineone.net> User-Agent: Mutt/1.5.4i 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 17:05:28 -0000 On Sun, Oct 12, 2003 at 03:47:21PM +0100, 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. We're way off topic here, but here's a few quick pointers: See dhclient.conf(5): consider something like: supersede host-name "my.custom.hostname" or send host-name "my.custom.hostname"; It really depends on how that DHCP server is configured... > 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? By default, FreeBSD used the ICS DHCP client. It's called 'dhclient', it (and it's config file) have a manpage. In my case, I disabled the DHCP server on my ADSL-modem/router/switch, and instead chose to run my own server. The classic counterpart to dhclient is 'dhcpd', which is available via the isc-dhcp3 port. This let me side-step the questions surrounding the configuration of the ADSL-modem's server... 'Fully educate' is otherwise beyond the scope of this document. :) Good luck... > -- > Bob > echo Mail fefsensmrrjyaheeoceoq\! | tr "jefroq\!" "@obe.uk" > > -- > Bob > > -- Brian 'you Bastard' Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA BSD admin/developer at large