Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2009 16:27:54 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Daniel Underwood <djuatdelta@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Xfce unable to lookup hostname
Message-ID:  <20090507162754.9a285eb4.freebsd@edvax.de>
In-Reply-To: <b6c05a470905070637g156ebd4ak38269d6a4711d2cb@mail.gmail.com>
References:  <b6c05a470905070614h5a665f8ai15b03a192666b1b9@mail.gmail.com> <20090507153239.600e1208.freebsd@edvax.de> <b6c05a470905070637g156ebd4ak38269d6a4711d2cb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 7 May 2009 09:37:59 -0400, Daniel Underwood <djuatdelta@gmail.com> wrote:
> Let me make sure I understand (part of) your advice.  Since I set
> hostname="bsdbox" in rc.conf, I should replace "localhost" instances
> in /etc/ttys ?

No, the name "localhost" should be in your /etc/hosts,
along with the hostname you selected. In this case,
something like

	# for localhost:
	::1             localhost
	127.0.0.1       localhost
	# for your hostname:
	127.0.0.1       bsdbox.local bsdbox
	127.0.0.1       bsdbox.local.

would be okay. You can use ".my.domain" instead of ".local";
".localdomain" is okay, too.


-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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