Re: Can't talk to user on same machine

2001-01-17 Thread Brian Frederick Kimball
Kent West wrote:

 tcpdump doesn't seem to be an available command (yes, as root); nor 
 does locate return anything for it. Does this indicate that I'm 
 perhaps missing a package?
 
It's not missing, it's just not installed by default apparently.
Run apt-get install tcpdump.

  My /etc/hosts.deny looks like:
  ALL: PARANOID
  ALL: 150.252.128.10 : DENY
  ALL: 150.252.219.10 : DENY
  ALL: 150.252.219.10 : DENY
  ALL: 4.16.229.105 : DENY
  ALL: 150.252.128.10 : DENY
  ALL: 150.252.219.10 : DENY
  ALL: 150.252.128.10 : DENY
  ALL: 4.16.229.149 : DENY
  
  This is not correct.

Did you try fixing hosts.deny?



Re: Can't talk to user on same machine

2001-01-14 Thread Sebastiaan
HI,

you can try to do as user:
$ mesg y

It could be that you have your messages turned off.

Greetz,
Sebastian


On Sat, 13 Jan 2001, Kent West wrote:

 I'm trying to get talk to work and can't.
 
 It started out with me trying to talk from my Debian box to a friend's 
 Mandrake box. After that failed, I turned to trying to get his Mandrake 
 box to talk to another user on the same Mandrake box. After a while of 
 failure, I thought I'd try it on my Debian box.
 
 So I opened two VTs, and logged into one as westk and the other as 
 bubba. I tried several incarnations of talk, such as from the 
 westk terminal talk bubba and talk bubba tty2 and talk bubba 
 /dev/tty2, etc. I've also tried from xterms from within X, and tried 
 talking from westk to westk and from bubba to bubba, etc.
 
 No matter what I've tried I can never get past the caller's screen 
 saying Checking for invitation on caller's machine.
 
 My /etc/services file looks like:
 . . .
 printer 515/tcp spooler # line printer spooler
 talk517/udp
 ntalk   518/udp
 . . .
 
 My /etc/inetd.conf file looks like:
 . . .
 talkdgram   udp waitnobody.tty  /usr/sbin/tcpd  
 /usr/sbin/in.talkd
 #off#
 ntalk   dgram   udp waitnobody.tty  /usr/sbin/tcpd  
 /usr/sbin/in.ntalkd
 . . .
 
 
 My /etc/hosts.allow (temporarily, for testing) looks like:
 ALL: 127.0.0.1
 
 
 My /etc/hosts.deny looks like:
 ALL: PARANOID
 ALL: 150.252.128.10 : DENY
 ALL: 150.252.219.10 : DENY
 ALL: 150.252.219.10 : DENY
 ALL: 4.16.229.105 : DENY
 ALL: 150.252.128.10 : DENY
 ALL: 150.252.219.10 : DENY
 ALL: 150.252.128.10 : DENY
 ALL: 4.16.229.149 : DENY
 
 
 Any suggestions? Thanks!
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Can't talk to user on same machine

2001-01-14 Thread Kent West

Sebastiaan wrote:


HI,

you can try to do as user:
$ mesg y

It could be that you have your messages turned off.

Greetz,
Sebastian



Sorry; meant to include that in my list of specs. Already tried that; no 
difference. Thanks anyway.




On Sat, 13 Jan 2001, Kent West wrote:



I'm trying to get talk to work and can't.

It started out with me trying to talk from my Debian box to a friend's 
Mandrake box. After that failed, I turned to trying to get his Mandrake 
box to talk to another user on the same Mandrake box. After a while of 
failure, I thought I'd try it on my Debian box.


So I opened two VTs, and logged into one as westk and the other as 
bubba. I tried several incarnations of talk, such as from the 
westk terminal talk bubba and talk bubba tty2 and talk bubba 
/dev/tty2, etc. I've also tried from xterms from within X, and tried 
talking from westk to westk and from bubba to bubba, etc.


No matter what I've tried I can never get past the caller's screen 
saying Checking for invitation on caller's machine.


My /etc/services file looks like:
. . .
printer 515/tcp spooler # line printer spooler
talk517/udp
ntalk   518/udp
. . .

My /etc/inetd.conf file looks like:
. . .
talkdgram   udp waitnobody.tty  /usr/sbin/tcpd  
/usr/sbin/in.talkd

#off#
ntalk   dgram   udp waitnobody.tty  /usr/sbin/tcpd  
/usr/sbin/in.ntalkd

. . .


My /etc/hosts.allow (temporarily, for testing) looks like:
ALL: 127.0.0.1


My /etc/hosts.deny looks like:
ALL: PARANOID
ALL: 150.252.128.10 : DENY
ALL: 150.252.219.10 : DENY
ALL: 150.252.219.10 : DENY
ALL: 4.16.229.105 : DENY
ALL: 150.252.128.10 : DENY
ALL: 150.252.219.10 : DENY
ALL: 150.252.128.10 : DENY
ALL: 4.16.229.149 : DENY


Any suggestions? Thanks!








Re: Can't talk to user on same machine

2001-01-14 Thread Brian Frederick Kimball
Kent West wrote:

 My /etc/inetd.conf file looks like:
 . . .
 talkdgram   udp waitnobody.tty  /usr/sbin/tcpd  
 /usr/sbin/in.talkd
 #off#
 ntalk   dgram   udp waitnobody.tty  /usr/sbin/tcpd  
 /usr/sbin/in.ntalkd
 . . .
 
Is #off# in front of the ntalk line?  The wrapping of the text
makes this difficult to parse.  IIRC you need ntalk enabled.  You can
always run tcpdump on the interface being used to see what port the
talk program is trying to connect to (that's how I found I needed ntalk
also).

As someone else said, make sure msg n hasn't been run by any of the
users you're trying to talk with.

 My /etc/hosts.deny looks like:
 ALL: PARANOID
 ALL: 150.252.128.10 : DENY
 ALL: 150.252.219.10 : DENY
 ALL: 150.252.219.10 : DENY
 ALL: 4.16.229.105 : DENY
 ALL: 150.252.128.10 : DENY
 ALL: 150.252.219.10 : DENY
 ALL: 150.252.128.10 : DENY
 ALL: 4.16.229.149 : DENY

This is not correct.  You need to remove  : DENY from the end of each
line.  The second semicolon is used to specify a shell script to run,
not to specify a target, which is what I presume you're trying to do.
Any host that matches these rules will already be denied because this is
the hosts.deny file.  See hosts_access(5) for more info.



Re: Can't talk to user on same machine

2001-01-14 Thread David B . Harris
To quote Brian Frederick Kimball [EMAIL PROTECTED],
# Is #off# in front of the ntalk line?  The wrapping of the text
# makes this difficult to parse.  IIRC you need ntalk enabled.  You can
# always run tcpdump on the interface being used to see what port the
# talk program is trying to connect to (that's how I found I needed
ntalk
# also).
# 
# As someone else said, make sure msg n hasn't been run by any of the
# users you're trying to talk with.

You can use the 'update-inetd' Debian utility to turn inetd services
on/off. That's where the #off# came from.

David Barclay Harris, Clan Barclay
Aut agere, aut mori. (Either action, or death.)



Re: Can't talk to user on same machine

2001-01-14 Thread Kent West

Brian Frederick Kimball wrote:


Kent West wrote:



My /etc/inetd.conf file looks like:
. . .
talkdgram   udp waitnobody.tty  /usr/sbin/tcpd  
/usr/sbin/in.talkd

#off#
ntalk   dgram   udp waitnobody.tty  /usr/sbin/tcpd  
/usr/sbin/in.ntalkd

. . .


 
Is #off# in front of the ntalk line?  The wrapping of the text

makes this difficult to parse.  IIRC you need ntalk enabled.  You can
always run tcpdump on the interface being used to see what port the
talk program is trying to connect to (that's how I found I needed ntalk
also).


No, #off# is on a separate line; It was on the same line, but I just 
moved my cursor to beyond it and hit ENTER to move the ntalk . . . 
line onto a separate line by itself, then restarted inetd with 
/etc/init.d/inetd restart.


tcpdump doesn't seem to be an available command (yes, as root); nor 
does locate return anything for it. Does this indicate that I'm 
perhaps missing a package?


I've just now tried this on a third box (Debian), from westk in one 
xterm to westk in another xterm, using the command talk pts/2 (which 
is the term indicated by the tty command of the second xterm/westk). I 
still get the same message, but something I may not have noticed on the 
other machines last night is that before the message Checking for 
invitation on caller's machine appears, the message Error on read from 
talk daemon: Connection refused. Press any key . . . appears briefly.



As someone else said, make sure msg n hasn't been run by any of the
users you're trying to talk with.



My /etc/hosts.deny looks like:
ALL: PARANOID
ALL: 150.252.128.10 : DENY
ALL: 150.252.219.10 : DENY
ALL: 150.252.219.10 : DENY
ALL: 4.16.229.105 : DENY
ALL: 150.252.128.10 : DENY
ALL: 150.252.219.10 : DENY
ALL: 150.252.128.10 : DENY
ALL: 4.16.229.149 : DENY


This is not correct.  You need to remove  : DENY from the end of each
line.  The second semicolon is used to specify a shell script to run,
not to specify a target, which is what I presume you're trying to do.
Any host that matches these rules will already be denied because this is
the hosts.deny file.  See hosts_access(5) for more info.








Can't talk to user on same machine

2001-01-13 Thread Kent West

I'm trying to get talk to work and can't.

It started out with me trying to talk from my Debian box to a friend's 
Mandrake box. After that failed, I turned to trying to get his Mandrake 
box to talk to another user on the same Mandrake box. After a while of 
failure, I thought I'd try it on my Debian box.


So I opened two VTs, and logged into one as westk and the other as 
bubba. I tried several incarnations of talk, such as from the 
westk terminal talk bubba and talk bubba tty2 and talk bubba 
/dev/tty2, etc. I've also tried from xterms from within X, and tried 
talking from westk to westk and from bubba to bubba, etc.


No matter what I've tried I can never get past the caller's screen 
saying Checking for invitation on caller's machine.


My /etc/services file looks like:
. . .
printer 515/tcp spooler # line printer spooler
talk517/udp
ntalk   518/udp
. . .

My /etc/inetd.conf file looks like:
. . .
talkdgram   udp waitnobody.tty  /usr/sbin/tcpd  
/usr/sbin/in.talkd

#off#
ntalk   dgram   udp waitnobody.tty  /usr/sbin/tcpd  
/usr/sbin/in.ntalkd

. . .


My /etc/hosts.allow (temporarily, for testing) looks like:
ALL: 127.0.0.1


My /etc/hosts.deny looks like:
ALL: PARANOID
ALL: 150.252.128.10 : DENY
ALL: 150.252.219.10 : DENY
ALL: 150.252.219.10 : DENY
ALL: 4.16.229.105 : DENY
ALL: 150.252.128.10 : DENY
ALL: 150.252.219.10 : DENY
ALL: 150.252.128.10 : DENY
ALL: 4.16.229.149 : DENY


Any suggestions? Thanks!