1
21.1 Legacy Series / Re: getty repeating too quickly on port /dev/ttyU3, sleeping 30 secs
« on: June 03, 2021, 09:50:25 pm »
Replying to this thread to share the good news. I dug into this a bit further and realized this may be a rather simple settings. During my initial build and installation, I used a usb based serial adapter to test if serial connections work and to ensure I could install successfully. During the initial setup I remembered allowing usb based serial. With that said, I found the trick to getting these messages to stop.
First head over to "System: Settings: Administration" and Uncheck "Use USB-based serial ports". If you have this checked off and you don't have a usb-based serial port plugged in, then you see those repeating messages from getty trying to find that device(s). Reboot the device after saving this setting.
Enabling and disabling this setting changes the systems /etc/ttys file which is what controls this behaviour.
Checked "Use USB-based serial ports" <- the problem configuration
Unchecked "Use USB-based serial ports" <- the solution configuration when not using usb serial.
imgur album with screenshots:
https://imgur.com/a/1HHk17M
hope this helps anyone else if they have the same or similar findings.
First head over to "System: Settings: Administration" and Uncheck "Use USB-based serial ports". If you have this checked off and you don't have a usb-based serial port plugged in, then you see those repeating messages from getty trying to find that device(s). Reboot the device after saving this setting.
Enabling and disabling this setting changes the systems /etc/ttys file which is what controls this behaviour.
Checked "Use USB-based serial ports" <- the problem configuration
Code: [Select]
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyU0 "/usr/libexec/getty al.3wire.115200" vt100 on secure
ttyU1 "/usr/libexec/getty al.3wire.115200" vt100 on secure
ttyU2 "/usr/libexec/getty al.3wire.115200" vt100 on secure
ttyU3 "/usr/libexec/getty al.3wire.115200" vt100 on secure
Unchecked "Use USB-based serial ports" <- the solution configuration when not using usb serial.
Code: [Select]
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu0 "/usr/libexec/getty al.3wire.115200" vt100 onifconsole secure
ttyu1 "/usr/libexec/getty al.3wire.115200" vt100 onifconsole secure
ttyu2 "/usr/libexec/getty al.3wire.115200" vt100 onifconsole secure
ttyu3 "/usr/libexec/getty al.3wire.115200" vt100 onifconsole secure
imgur album with screenshots:
https://imgur.com/a/1HHk17M
hope this helps anyone else if they have the same or similar findings.