Date: Mon, 30 Nov 1998 01:36:54 -0500 From: Malartre <malartre@aei.ca> To: Neil Blakey-Milner <nbm@rucus.ru.ac.za> Cc: questions@FreeBSD.ORG Subject: Re: Weird problem with "talk" about an "Unknown host". Both user are logged on the same machine! Message-ID: <36623D06.54B454BC@aei.ca> References: <3660A1F0.A1C246F4@aei.ca> <19981129124434.A9959@rucus.ru.ac.za>
next in thread | previous in thread | raw e-mail | index | archive | help
Neil Blakey-Milner wrote: > > On Sat 1998-11-28 (20:22), Malartre wrote: > > http://www.lowrent.org/freebsd/talk.html > > > > $ uname -a > > FreeBSD f00f.org 2.2.7-STABLE FreeBSD 2.2.7-STABLE #0: Sat Nov 21 > > 03:37:08 EST 1998 root@f00f.org:/usr/src/sys/compile/F00F i386 > > $ who am I > > toto ttyv0 28 nov 20:01 > > $ who > > toto ttyv0 28 nov 20:01 > > elvis ttyv9 28 nov 20:04 > > $ talk elvis ttyv9 > > talk: f00f.org: Unknown host > > > > toto try to "talk" with elvis, but the system (whose name is f00f.org) > > try to find the host "f00f.org". But f00f.org is the system's name... > > Both user did "mesg y". > > > > What's wrong? > > Just put f00f.org into your /etc/hosts, and change the order of bind, then > hosts to hosts, then bind, in your host.conf. > > Putting f00f.org to 127.0.0.1 should be ok, but if it has a permanent network > card and IP address, put it to that IP address. > > Neil > -- > Neil Blakey-Milner > nbm@rucus.ru.ac.za Hi I did that: /etc/host.conf # Default is to use the nameserver first # bind # If that doesn't work, then try the /etc/hosts file hosts bind And then did that: /etc/hosts # 127.0.0.1 localhost localhost.my.domain myname.my.domain 127.0.0.1 f00f.org Well, I don't really understand what's the difference between localhost, localhost.my.domain and myname.my.domain [No connection yet] [Checking for invitation on caller's machine] What should I put in that? PS: I did a kill -HUP 1 before testing the new config PPS: I did read the hosts man page. -- [Malartre][malartre@aei.ca][http://www.lowrent.org/freebsd/malartre/] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36623D06.54B454BC>