Subject: Solved! (was: Re: I can't use talk(1))
To: Paulo Alexandre Pinto Pires <pappires@crux.del.ufrj.br>
From: Heron GALLEGOS <gallegos@polaris.cred.uadec.mx>
List: netbsd-help
Date: 12/18/1996 09:38:53
Include the following line in your config file and talkd(8) will work: 

options COMPAT_43

and don't forget to clean the compile directory

rm -r ../compile/machine-name
config machine-name
cd ../compile/machine-name
make depend
make netbsd


Heron Gallegos


On Fri, 6 Dec 1996, Paulo Alexandre Pinto Pires wrote: 

> > Help!
> > The talk(1) command fails in my new NetBSD 1.2
> > 
> > My talkd(8) don't send the ANNOUNCE message
> > 
> > /* (from /usr/include/protocols/talkd.h)
> >  ...
> >  * (to speak to the callee specified in the message).  If the lookup
> >  * fails, the caller then sends an ANNOUNCE message causing the server
> >  * to broadcast an announcement on the callee's login ports requesting
> >  * contact.  When the callee responds, the local server uses the
> >  * recorded invitation to respond with the appropriate rendezvous
> >  * address and the caller and callee client programs establish a
> >  * stream connection through which the conversation takes place.
> >  */
> > 
> > It just sends the following lines to /var/log/messages
> > 
> > Nov 25 16:17:42 polaris talkd[166]: sendto: Address family not supported by protocol family
> > Nov 25 16:17:44 polaris talkd[166]: sendto: Address family not supported by protocol family
> > Nov 25 16:18:57 polaris last message repeated 2 times
> > 
> > My /etc/inetd.conf
> > ntalk	dgram  udp wait	root	/usr/libexec/ntalkd	ntalkd
> > 
> > What am I doing wrong?
> 
> I've already experienced this.  I don't remeber excatly what should be
> changed but the problem is surely related to your machine identification.
> I don't remember if it is something in /etc/resolv.conf, in /etc/myname,
> in /etc/hosts, in /etc/hostname.* or some combination of them, but you'll
> surely fix it by having all of these files correctly set.
> 
> ---
> 	Pappires
> 
>