From owner-freebsd-newbies Tue Jun 13 15:57:28 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from mail.hellasnet.gr (mail.hellasnet.gr [212.54.192.3]) by hub.freebsd.org (Postfix) with ESMTP id 156F637BB60 for ; Tue, 13 Jun 2000 15:57:17 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (ppp2.patr.hellasnet.gr [212.54.197.17]) by mail.hellasnet.gr (8.9.1/8.9.1) with ESMTP id AAA25976; Wed, 14 Jun 2000 00:56:14 +0200 (GMT) Received: (from charon@localhost) by hades.hell.gr (8.10.2/8.10.2) id e5EMwf106099; Thu, 15 Jun 2000 01:58:41 +0300 (EEST) Date: Thu, 15 Jun 2000 01:58:41 +0300 From: Giorgos Keramidas To: tyf0n3 Cc: freebsd-NewBies@FreeBSD.ORG Subject: Re: hostname Message-ID: <20000615015841.A5993@hades.hell.gr> References: <005301bfd5a1$056acec0$3a80b7d1@elite> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <005301bfd5a1$056acec0$3a80b7d1@elite>; from tlu@flashmail.com on Tue, Jun 13, 2000 at 06:36:51PM -0700 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jun 13, 2000 at 06:36:51PM -0700, tyf0n3 wrote: > I am using FreeBSD 3.2, when I boot up, how do i change the default hostname > (myname.my.domain) to what I want? I tried hostname -s myhost but that > doesn't work the next time i boot. You have to change the hostname in /etc/rc.conf too to make it keep it's value across reboots. If your /etc/rc.conf does not contain the proper line, copy it from /etc/defaults/rc.conf and edit it *only* in /etc/rc.conf ... do NOT change /etc/defaults/rc.conf :) -- Giorgos Keramidas, < keramida @ ceid . upatras . gr > For my public key: finger keramida@ceid.upatras.gr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message