[comp.unix.aux] talk not working

marcelo@deadzone.uucp (Marcelo Gallardo) (04/23/91)

	I've got a problem that seems to have popped up after moving to
	2.0.1. When I try to "talk" to anyone connected to my machine,
	talk gives me a strange error message...

	[deadzone]/usr/users/marcelo % talk root
	This machine doesn't exist. Boy, am I confused!

	I don't have an ethernet card, but I have configured both bnet
	and nfs. Anyone know why I'm getting this error? To quote a
	silly error "Boy, am I confused!"

-- 
Marcelo Gallardo			marcelo%deadzone@princeton.edu
Test and Evaluation Specialist		...!princeton!deadzone!marcelo
Princeton University			marcelo@sparcwood.princeton.edu
Advanced Technologies and Applications		(609) 258-5661

andyp@treehouse.UUCP (Andy Peterman) (04/24/91)

In article <1991Apr23.044356.15079@deadzone.uucp> marcelo@deadzone.uucp (Marcelo Gallardo) writes:
>
>	I've got a problem that seems to have popped up after moving to
>	2.0.1. When I try to "talk" to anyone connected to my machine,
>	talk gives me a strange error message...
>
>	[deadzone]/usr/users/marcelo % talk root
>	This machine doesn't exist. Boy, am I confused!

Make sure you have the /etc/hosts and /etc/HOSTNAME set up correctly.
There are manual pages for each of them.  I've had the same problem and
I think that when one of them was missing, you get that error message.

-- 
Andy Peterman                       |   Opinions expressed
treehouse!andyp@gvgpsa.gvg.tek.com  | are definitely those of
(916) 273-4569                      |      my employer!

alexis@panix.uucp (Alexis Rosen) (04/24/91)

marcelo@deadzone.uucp (Marcelo Gallardo) writes:
>	I've got a problem that seems to have popped up after moving to
>	2.0.1. When I try to "talk" to anyone connected to my machine,
>	talk gives me a strange error message...
>
>	[deadzone]/usr/users/marcelo % talk root
>	This machine doesn't exist. Boy, am I confused!
>
>	I don't have an ethernet card, but I have configured both bnet
>	and nfs. Anyone know why I'm getting this error? To quote a
>	silly error "Boy, am I confused!"

I HATE this crap. Whoever wrote talk was a hacker in the dirty sense of the
word! I struggled with the same thing for months before I finally figured
this one out.

(And if you think that's a bad error message, how about the one that says:
   You don't exist. Go away.
Nice user interface, huh?)

Anyway, the solution is quite simple: Your hostname is not the first name
in the first line in /etc/hosts. Yes, that's right- the one that says something
like:
127.0.0.1	loopback loop lo	# loopback interface

Talk wants your hostname, "deadzone," before any other name. Simply putting
it in as an alias (ie, at the end of the line) does not work (or at least
it didn't used to. I don't trust anything anymore :-( ).

Even if you have SLIP running, you need your hostname in the loopback line.

With a real EtherNet card installed, I don't think any of this matters, but
I haven't tried it.

---
Alexis Rosen
Owner/Sysadmin, PANIX Public Access Unix, NY
{cmcl2,apple}!panix!alexis

marcelo@deadzone.uucp (Marcelo Gallardo) (04/25/91)

In article <849@treehouse.UUCP> treehouse!andyp@gvgpsa.gvg.tek.com writes:
>>	This machine doesn't exist. Boy, am I confused!
>
>Make sure you have the /etc/hosts and /etc/HOSTNAME set up correctly.
>There are manual pages for each of them.  I've had the same problem and
>I think that when one of them was missing, you get that error message.
>

	You were right! It turns out that the /etc/HOSTNAME permissions
	were not set properly (boy do I feel stupid for not checking
	that)!

	A quick chmod and it's working properly. Thanks a bunch.


-- 
Marcelo Gallardo			marcelo%deadzone@princeton.edu
Test and Evaluation Specialist		...!princeton!deadzone!marcelo
Princeton University			marcelo@sparcwood.princeton.edu
Advanced Technologies and Applications		(609) 258-5661