Date: Sun, 12 Oct 2003 09:53:35 -0700 (PDT) From: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= <mbsd@pacbell.net> To: Robert Downes <nullentropy@lineone.net> Cc: freebsd-net@freebsd.org Subject: Re: named sandbox trouble Message-ID: <20031012094813.U3248@atlas.home> 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, 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031012094813.U3248>