Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
talkd and Xinetd are giving me nightmares ...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
isoaga
Apprentice
Apprentice


Joined: 31 Oct 2002
Posts: 206
Location: Newcastle, Australia

PostPosted: Fri Jun 06, 2003 9:15 am    Post subject: talkd and Xinetd are giving me nightmares ... Reply with quote

Ok, all i want to do is enable some sort of LAN instant messaging between two gentoo boxes. It looked as though talk in some form was the way to go about this so i have since done the following...

Code:
emerge ytalk

Code:
emerge xinetd


added the following to my /etc/xinet.conf file

Code:

defaults
{
        only_from      = localhost
        instances      = 60
        log_type       = SYSLOG authpriv info
        log_on_success = HOST PID
        log_on_failure = HOST
        cps            = 25 30
}

includedir /etc/xinetd.d

service talk
{
only_from       =       somehostip
server          =       /usr/sbin/talkd
socket_type     =       dgram
user            =       nobody
wait            =       no
}


restarted the xinetd countless times with

Code:
/etc/init.d/xinetd restart


but whenever i try to use talk by:
Code:
talk chris@machinename


i get a "Error on read from talk daemon: Connection refused"

and i get a similar error using ytalk.

Could someone please explain my error,

Thanx
Back to top
View user's profile Send private message
kopfarzt
Apprentice
Apprentice


Joined: 05 Apr 2003
Posts: 170
Location: Vienna, Austria

PostPosted: Fri Jun 06, 2003 9:47 am    Post subject: Reply with quote

Did you emerge a talkd as well? If not try net-misc/netkit-talk. Remove the bottom lines of your xinted.conf and edit instead the version installed in /etc/xinetd.d/talk.

Note, that talk is a rather "old" protocol and usually receiving talk requests is disabled in newer installations. You might succeed with saying
Code:
mesg y
on the receiving side.

Also watch your /var/log/everything/current (if you are using metalog) for talk requests.

Hope this helps a little bit
kopfarzt
Back to top
View user's profile Send private message
soth
Apprentice
Apprentice


Joined: 12 Sep 2003
Posts: 207

PostPosted: Sun Sep 26, 2004 9:26 pm    Post subject: Reply with quote

it worked fine on one machine when i put localhost in only from.
did you try it with user@localhost between two users on the same machine? did that work?
_________________
- Never argue with an idiot. They just drag you down to your level and beat you with experience.

Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum