From owner-freebsd-arch Tue Apr 9 19:18:27 2002 Delivered-To: freebsd-arch@freebsd.org Received: from nothing-going-on.demon.co.uk (pc-62-31-42-140-hy.blueyonder.co.uk [62.31.42.140]) by hub.freebsd.org (Postfix) with ESMTP id 6ADFC37B41B for ; Tue, 9 Apr 2002 19:18:21 -0700 (PDT) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.11.3/8.11.3) id g39JWlZ18621; Tue, 9 Apr 2002 20:32:47 +0100 (BST) (envelope-from nik) Date: Tue, 9 Apr 2002 20:32:46 +0100 From: Nik Clayton To: Garance A Drosihn Cc: Nate Williams , Luigi Rizzo , arch@FreeBSD.ORG Subject: Re: proposed code: automatic setting of hostname from MAC address Message-ID: <20020409203246.T30474@canyon.nothing-going-on.org> References: <20020407035941.B37911@iguana.icir.org> <15538.12905.744914.71228@caddis.yogotech.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="qUsYCxAE223BCwdt" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from drosih@rpi.edu on Mon, Apr 08, 2002 at 08:45:02PM -0400 Organization: FreeBSD Project Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --qUsYCxAE223BCwdt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 08, 2002 at 08:45:02PM -0400, Garance A Drosihn wrote: > Hmm. I did not understand Luigi's reference to /etc/hosts, but > I had assumed that the feature was similar to how MacOS 10 works. > The machine gets an IP address via DHCP (for instance), and > then sets the machine's hostname based on what DNS says is the > hostname for that IP address. That works out pretty well. Not directly relevant to the topic at hand, but FreeBSD does this too. Just make sure that you that you don't have a 'hostname' line in=20 /etc/rc.conf and dhclient will pick up whatever hostname is offered by the DHCP server. N --=20 FreeBSD: The Power to Serve http://www.freebsd.org/ (__) FreeBSD Documentation Project http://www.freebsd.org/docproj/ \\\'',) \/ \= ^ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- .\._/= _) --qUsYCxAE223BCwdt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjyzQd0ACgkQk6gHZCw343XFqwCghQbZu4TXoRva8XiFsp4hK2Qd +hsAn1SkrvoFb9iqmKlILKFqZb9WvCVr =86gY -----END PGP SIGNATURE----- --qUsYCxAE223BCwdt-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message