Linux agetty is a mess with teletypes. 

What RS232 adapter are you using?

There are a couple troubleshooting options:

1) easiest, turn on incorrect password logging and see what password is being received

2) bit harder, use a protocol analyzer to see what is happening on the line

7 bit can be an issue, agetty may not support all flags in ubuntu latest, all kinds of fun issues I have seen.

I generally use socat nowadays instead of real getty with linux. Much easier to set the options with stty then connect the teletype to bash or whatever command (telnet) directly.

-Eric

On Thu, Jan 4, 2024, 2:52 PM Tom Lake <tlake@twcny.rr.com> wrote:

I have an Ubuntu 23.10 system with agetty running on its eight serial ports. I can hook up most terminals to the ports and login to a bash shell.

When I try to use a Teletype ASR 33, however, I get the login prompt and I answer enter the username. If I hit Return, nothing happens. If I hot Line Feed, the Password prompt is shown.

After I enter the password (all uppercase) Incorrect password is shown.

 

Since the prompts are displayed properly, I’m pretty sure the baud rate, BPS and stop bits are correct. What else can I check?

 

I start agetty this way:

 

agetty  -L -U ttyUSB0 110 tty

 

The -L means it’s a dedicated line, not dial-in. The -U means the terminal is uppercase only and some upper/lowercase conversions should be made.

The port is a USB to serial port (ttyUSB0), baud is 110.

______________________________________________________________
GreenKeys mailing list
Home: http://mailman.qth.net/mailman/listinfo/greenkeys
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:GreenKeys@mailman.qth.net

>>> Jordan Spencer Cunningham's GreenKeys Search Tool: https://teletype.net/gksearch
>>> 2002-to-present greenkeys archive: http://mailman.qth.net/pipermail/greenkeys/
>>> 1998-to-2001 greenkeys archive: http://mailman.qth.net/archive/greenkeys/greenkeys.html
>>> Randy Guttery's 2001-to-2009 GreenKeys Search Tool: http://comcents.com/tty/greenkeyssearch.html

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to mooreericnyc@gmail.com