Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2003 13:05:26 -0400
From:      Brian Reichert <reichert@numachi.com>
To:        Robert Downes <nullentropy@lineone.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: named sandbox trouble
Message-ID:  <20031012170526.GB194@numachi.com>
In-Reply-To: <3F896979.6000102@lineone.net>
References:  <3F862EA7.7000402@lineone.net> <20031010162031.GO56167@numachi.com> <3F873F44.4000205@bobulous.net> <20031012060500.GA274@numachi.com> <3F896979.6000102@lineone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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		<reichert@numachi.com>
37 Crystal Ave. #303			Daytime number: (603) 434-6842
Derry NH 03038-1713 USA			BSD admin/developer at large	



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031012170526.GB194>