your mail

Gert Doering (gert@greenie.muc.de)
Mon, 27 Jul 1998 11:23:43 +0200


Hi,

Chris Hammack wrote:
> I am attempting to get Solaris 2.5.1 to run mgetty.  I am having two
> (seemingly) completely different problems:
> 
> 1.  On ttyb (built in serial) on a sun 600mp, the issue is thrown up
> and a login prompt is displayed.  I enter the username, and it's fine.
> Password prompt comes up, but it echoes the characters of the password
> and when I hit enter the whole job hangs.

Sounds like a "no carrier detect" problem.  Make sure the modem sets
the DCD signal properly, and the serial cable wires this through to the
Sun.  You should see a warning in the log file if DCD is low before 
starting /bin/login.

> 2.  We have an old Sun ALM-2/mcp board.  it has 16 serial ports on it.
> It worked really well in SunOS 4.1.3 but we had to go to Solaris 2
> to run some apps that required it, and it has worked not nearly
> as well since then.  Anyhow, when you dial into one of these ports
> it throws the issue/login up but it is all garbled (you can read
> parts of it but some of the characters are mixed up).  I have
> tried different modems and cables, all the same result.
> 
> Strangely: if I open the port with tip, and answer the phone manually
> with an ATA, and send data from another modem, everything seems fine
> so it almost seems like maybe mgetty is not speaking in 8N1?

mgetty *is* speaking 8N1, as opposed to tip, which uses 7E1.  So, yes,
this could very well be a parity issue.

How did you "dial into one of those ports"?  If you used tip for that,
it's pretty clear - 7E1 on the calling end, 8N1 on the answering end...

(At least to my knowledge, tip still uses 7E1 as default).

> I have tried both the 1.0 release and the latest beta from July 5 and
> both produced the same results.

There are no differences regarding tty handling / parity in the last
couple of mgetty releases.  No change since 0.98 or so :-)

gert
-- 
Gert Doering
Mobile communications ... right now writing from *AWAY* :-)) 
... mobile phone: +49 177 2160221 ... or mail me:  gert@greenie.muc.de