From owner-freebsd-questions@FreeBSD.ORG Fri Oct 29 10:52:41 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 6643316A4CE for ; Fri, 29 Oct 2004 10:52:41 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 149A743D31 for ; Fri, 29 Oct 2004 10:52:41 +0000 (GMT) (envelope-from nlamprecht@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so577251wri for ; Fri, 29 Oct 2004 03:52:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=uL/dH5KIolbPkw5CT60VKOsfly3Q9orMSY5gNVzYhKiON0Nyrr59YjTbH8zIo7Ca20QTijRVQnjp4UGd035BQjPZfcWwzcRvNfED426ga+tiDB/UBFAwAkaRP7K2LUpaL9SVW2r4K1xKd2L/ig2I73h+QTLWJRKl0HXwepEMxhk= Received: by 10.54.31.64 with SMTP id e64mr158293wre; Fri, 29 Oct 2004 03:52:39 -0700 (PDT) Received: by 10.54.38.55 with HTTP; Fri, 29 Oct 2004 03:52:39 -0700 (PDT) Message-ID: <7cbadc870410290352c8b9dde@mail.gmail.com> Date: Fri, 29 Oct 2004 12:52:39 +0200 From: Nelis Lamprecht To: Mick Walker In-Reply-To: <1099040705.26921.9.camel@codegurus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1099005540.26921.5.camel@codegurus.org> <20041028232536.GA29572@xor.obsecurity.org> <1099040705.26921.9.camel@codegurus.org> cc: FreeBSD Questions Subject: Re: Hostname X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nelis Lamprecht List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2004 10:52:41 -0000 On Fri, 29 Oct 2004 10:05:05 +0100, Mick Walker wrote: > 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" > Perhaps you have conflicting information in /etc/hosts ? Nelis