[comp.unix.aux] Telnet problems with A/UX 1.1.1

scfisher@dtoa1.dt.navy.mil (Fisher) (05/08/90)

I just got A/UX 1.1.1 for my Mac IIci, and I configured the kernal for
NFS.  I am able to telnet to other machines, but I cannot telnet to the
Mac (or FTP or rlogin in).  Iv'e even tried telnet loop, and I still get
the same error message -  "Connection closed by foreign host.".

NFS works fine, and Iv'e tried it with and without YP.  I had someone else
who has a Mac with A/UX look at what I did, and he can't figure it out.
Any ideas?

Thanks!!!

steve

davism@creatures.cs.vt.edu (Mat Davis) (05/09/90)

In article <1834@nems.dt.navy.mil> scfisher@dtoa1.dt.navy.mil (Steven Fisher) writes:
>I just got A/UX 1.1.1 for my Mac IIci, and I configured the kernal for
>NFS.  I am able to telnet to other machines, but I cannot telnet to the
>Mac (or FTP or rlogin in).  Iv'e even tried telnet loop, and I still get
>the same error message -  "Connection closed by foreign host.".

Are you running X by any chance?  We've had that problem occur occasionally
around here and we believe that 'xterm' corrupts the /etc/utmp file slightly
at times.  It appears that you do the 'telnet' or 'rlogin', and they find an
"unused" pseudo-tty but then when they actually try to *use* that pty, they
think that someone who has closed an 'xterm' window still owns it and the login
aborts.  (At least, I *think* that's what we decided was happening.)

In that case, you can frequently telnet to the machine and then suspend the
telnet at the 'login:' prompt and telnet a *second* time to actually get in.
The (suspended) telnet will "occupy" the pty that's causing the problem so that
the second telnet will work.

On the other hand, I've also seen this happen on a couple of machines due to
a shortage of MBUFs (check that with 'netstat -m'), and I've still got one 
machine that does it occasionally and I haven't figured out why yet...

	Mat