From owner-freebsd-questions Thu Feb 17 10:37:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from server.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.146]) by hub.freebsd.org (Postfix) with ESMTP id 71A6137B673 for ; Thu, 17 Feb 2000 10:37:37 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id NAA58115; Thu, 17 Feb 2000 13:37:26 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-Id: <200002171837.NAA58115@server.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000217120433.A5685@prime.cs.ohiou.edu> Date: Thu, 17 Feb 2000 13:37:26 -0500 (EST) From: John Baldwin To: Mark J Tomko Subject: RE: Getting a hostname from DHCP Cc: freebsd-questions@FreeBSD.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 17-Feb-00 Mark J Tomko wrote: > I've been using FreeBSD on a network with DHCP since October and I've > been trying to get it to read a hostname from the network automatically, > but to no avail. At the moment, I'm using 3.4. > > I can determine my hostname by logging in to another system and typing > "who", but locally, I have to set the hostname before the hostname > command will return anything. This was never a problem when I was using > Linux, but with BSD I can't figure it out. Put this in /etc/rc.conf: hostname="" > Any suggestions? > > Thanks! > > Mark -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message