Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2004 12:52:39 +0200
From:      Nelis Lamprecht <nlamprecht@gmail.com>
To:        Mick Walker <mwalker@codegurus.org>
Cc:        FreeBSD Questions <questions@freebsd.org>
Subject:   Re: Hostname
Message-ID:  <7cbadc870410290352c8b9dde@mail.gmail.com>
In-Reply-To: <1099040705.26921.9.camel@codegurus.org>
References:  <1099005540.26921.5.camel@codegurus.org> <20041028232536.GA29572@xor.obsecurity.org> <1099040705.26921.9.camel@codegurus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 29 Oct 2004 10:05:05 +0100, Mick Walker <mwalker@codegurus.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7cbadc870410290352c8b9dde>