mgetty and TVI925

Gert Doering (gert@greenie.muc.de)
Wed, 22 Jul 1998 23:05:10 +0200


Hi,

I forwarded your mail to the mgetty list (mgetty@muc.de), 'cause I just
didn't have time to look into it.  Now let's see what I can find.

root wrote:
> My name is Amir and i am trying to set up a TeleVideo925 terminal to work of my 
> Linux box on /dev/ttyS2....I have read all HowTo's and tried different setings to get a login on a terminal..No luck..The folloving is my setup. Please rewiev it and please let me know if needs modification.
> 
> /etc/inittab
> S2:123:respawn:/usr/sbin/mgetty -x 3 -r -s 9600 ttyS2 DT9600 vt100

Hmmm.  I'm not sure what the "vt100" is doing there, but it doesn't 
belong there.  If you want to set the TERM type, set "term vt100" in
mgetty.config.

The second thing is, don't use gettydefs together with mgetty on Linux.
It doesn't work (there are some subtle bugs left that nobody has nailed
down yet), and most likely, you don't need it, unless you have something
really weird, using 7 bits and parity.

> /etc/gettydefs
> DT9600# B9600 CS8 CLOCAL # B9600 SANE -ISTRIP CLOCAL #@S @L login: #DT9600

For *those* settings, you definitely don't need gettydefs, as that's
exactly what mgetty will do anyway.  Make sure you have set
"ignore-carrier yes" in mgetty.config (for CLOCAL).

> /sbin/init.d/serial
> ${SETSERIAL} /dev/ttyS2 uart 16550A port 0x03e8 irq 2 spd_vhi

Don't use spd_vhi.  Besides that, looks ok.
> 
> These are only files I changed...Rest of it is still default (/etc/mgetty+sendfax/*)
> on a ps command i can see mgetty running on that port..But instead of the login i get ".2.g".. I tried "blind" login and system recognizez it ( on a ps,who )

Could be a parity error.  Make sure your terminal uses 8 data bits, no
parity.

(and don't send e-mail as "root").

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-35655025                        gert.doering@physik.tu-muenchen.de