hostname

Randy Pratt bsd-unix at comcast.net
Sun Feb 19 15:13:58 PST 2006


On Sun, 19 Feb 2006 22:55:14 +0000
eoghan <freebsd at 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

-- 


More information about the freebsd-questions mailing list