your mail

Gert Doering (gert@greenie.muc.de)
Tue, 7 Oct 1997 20:09:13 +0200


Hi,

John Wehle wrote:
> > John: please make sure that you use 8N1 (no parity!) on the *CALLING*
> > end as well. This could very well be the cause for the problem.
> 
> Oh I understand that not using 8N1 could cause the problem. However,
> from a practial standpoint:
> 
> 1) The machine in question has five modems (four USR couriers, one
> ZyXEL 2864) on a Central Data ST-1008+.
> 
> 2) Running ttymon on all of them with the following ttydef allows
> me to cu from one modem into the other and successfully login:
> 
> 38400M:38400 hupcl -parity crtscts crtsxoff:38400 hupcl sane -parity crtscts crtsxoff::38400M

Uh, ttymon may very well set "istrip". This doesn't yet tell us that
the call-out side doesn't have a parity problem.

How is the istrip flag set when ttymon forks off "login"? (please
do a "stty -a" from a different window)

> When I'm logged in through the modem stty -a says (in addition to
> other things):
> 
>  -parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk crtscts crtsxoff

This is the call-out modem? Or the call-in modem?

What program do you use to call out? "tip"? For tip on FreeBSD, I know
for sure that it defaults to 7E2, but I have no idea about Solaris.

> 3) Shutting off ttymon for the ZyXEL and switching to mgetty prevents
> me from logging in (login reports that an incorrect password was
> entered).

This may expose a "problem" on the calling side, masked by ttymon
stripping the parity bit. Hard to say, which is why I'm asking for more
evidence.

(On all systems I have access to - SCO, Linux, AIX, FreeBSD - I can
login fine without "istrip")

> 4) Making the change included in my earlier email allows me to login.

Which might mimic ttymon's behaviour.

> 5) As random information to further confuse the issue the cu manual
> page states:
> 
>  By default, the character size of the line is set to the same
>  as the current local terminal.
> 
> I do most of my work on the machine telneted into it. Stty -a says
> (in addition to other things):
> 
>  -parenb -parodd cs8 -cstopb -hupcl cread -clocal -loblk -crtscts -crtsxoff

Hmmm.

gert

-- 
USENET is *not* the non-clickable part of WWW!
           //www.muc.de/~gert/
Gert Doering - Munich, Germany      gert@greenie.muc.de
fax: +49-89-3545980     gert.doering@physik.tu-muenchen.de
.