Hostname

Mick Walker mwalker at codegurus.org
Fri Oct 29 02:04:55 PDT 2004


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"




More information about the freebsd-questions mailing list