Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2006 18:14:07 -0500
From:      Randy Pratt <bsd-unix@comcast.net>
To:        eoghan <freebsd@redry.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: hostname
Message-ID:  <20060219181407.03e1625b.bsd-unix@comcast.net>
In-Reply-To: <9E440663-1793-43C3-A188-2B12012D8F90@redry.net>
References:  <9E440663-1793-43C3-A188-2B12012D8F90@redry.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 19 Feb 2006 22:55:14 +0000
eoghan <freebsd@redry.net> wrote:

> Hello
> Im wondering what the hostname value should read in my rc.conf... I  
> booted to gnome and it was complaining it couldnt find "myhostname"...
> suggested adding it to /etc/hosts
> So i added
> 127.0.0.1 nathaniel
> also in here was:
> 127.0.0.1 localhost
> reboot and i was getting errors about not being able to bind to nathanie
> Check my rc.conf and hostname now read nathanie (without the l)
> I changed it to localhost and im still getting these boot errors and  
> message when i startx.
> What should this read. I has been long since i have edited my rc.conf...

/etc/rc.conf should contain the hostname in the form of:

	hostname="mymachine.example.net"

Some further information can be found in the Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-core-configuration.html

HTH,

Randy

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060219181407.03e1625b.bsd-unix>