From owner-freebsd-questions@FreeBSD.ORG Fri Oct 29 09:04:55 2004 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 0DF2416A4CE for ; Fri, 29 Oct 2004 09:04:55 +0000 (GMT) Received: from codegurus.org (cpc2-stoc7-3-0-cust147.midd.cable.ntl.com [81.104.76.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A75143D2F for ; Fri, 29 Oct 2004 09:04:54 +0000 (GMT) (envelope-from mwalker@codegurus.org) Received: from [192.168.0.1] (codegurus.org [192.168.0.1]) (authenticated bits=0) by codegurus.org (8.13.1/8.12.10) with ESMTP id i9T957MS059544 for ; Fri, 29 Oct 2004 10:05:07 +0100 (BST) (envelope-from mwalker@codegurus.org) From: Mick Walker To: "freebsd-questions@freebsd.org" In-Reply-To: <20041028232536.GA29572@xor.obsecurity.org> References: <1099005540.26921.5.camel@codegurus.org> <20041028232536.GA29572@xor.obsecurity.org> Message-Id: <1099040705.26921.9.camel@codegurus.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 29 Oct 2004 10:05:05 +0100 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: Hostname X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2004 09:04:55 -0000 On Fri, 2004-10-29 at 00:25, Kris Kennaway wrote: > On Fri, Oct 29, 2004 at 12:19:01AM +0100, Mick Walker wrote: > > Hi, > > > > I recently (today) upgraded to 5.3-STABLE. > > I am wondering why I cant set my hostname. > > It works if I issue the command hostname whatever.com, but on reboot it > > is reset to nothing. > > I have it set up in my /etc/rc.conf so it applies at boot time. > > > > Does anyone know how I can fix this? > > Show us what you've done first, don't describe what you think you did :-) > > Kris $ hostname $ $ hostname laptop.codegurus.org $ hostname laptop.codegurus.org $ And in my /etc/rc.conf file I have: hostname="laptop.codegurus.org"