Xfce unable to lookup hostname

Polytropon freebsd at edvax.de
Thu May 7 14:28:05 UTC 2009


On Thu, 7 May 2009 09:37:59 -0400, Daniel Underwood <djuatdelta at 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, ...


More information about the freebsd-questions mailing list