From owner-freebsd-questions@FreeBSD.ORG Fri Apr 1 11:50:06 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B6E516A4CE for ; Fri, 1 Apr 2005 11:50:06 +0000 (GMT) Received: from catflap.slightlystrange.org (cpc2-cmbg1-3-0-cust94.cmbg.cable.ntl.com [213.107.104.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EA6743D41 for ; Fri, 1 Apr 2005 11:50:06 +0000 (GMT) (envelope-from danielby@slightlystrange.org) Received: from danielby by catflap.slightlystrange.org with local (Exim 4.50 (FreeBSD)) id 1DHKf6-00061X-6n for freebsd-questions@freebsd.org; Fri, 01 Apr 2005 12:50:04 +0100 Date: Fri, 1 Apr 2005 12:50:04 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20050401115003.GA21164@catflap.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <9e46c99e05033114133842921e@mail.gmail.com> <5adc49922399d3d2b84b9f21fadcd415@asu.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK" Content-Disposition: inline In-Reply-To: <5adc49922399d3d2b84b9f21fadcd415@asu.edu> User-Agent: Mutt/1.4.2.1i Subject: Re: Setting up network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 11:50:06 -0000 --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 31, 2005 at 10:26:13PM -0500, Anthony M. Agelastos wrote: > Hello all, >=20 > While we are on the topic, after the hostname and domain have been=20 > setup from the initial installation, how can they be changed? I went=20 > through the FreeBSD manual and some Google searching and did not come=20 > up with anything that made any sense. I assume there are files to be=20 > edited, probably under /etc. I am just not sure what all of them are.=20 > Any assistance (or reference to a site that will explain this to me)=20 > will be greatly appreciated (I am a newbie to UNIX and especially=20 > FreeBSD). In /etc/rc.conf, the variable $hostname sets the machine's name at startup. Simply edit the value set here, and next time the machine starts up, the new hostname will be set. To change it in a running system without rebooting, use hostname(1): # hostname new.machine.name HTH Dan --=20 Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --CE+1k2dSO48ffgeK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCTTVrhvzwOpChvo8RAsXwAJ0emMs9E0fzoAt1i6iOX6WjvnvciACeIgqL 1HmXGJ40uIJXpr9/0N5pqoY= =2CbD -----END PGP SIGNATURE----- --CE+1k2dSO48ffgeK--