Changing serial port settings (stty), Setting up terminals and modems (mgetty, getty) – Comtrol DM ATS-LNX User Manual
Page 18

PC104 RocketPort Option
18
Changing Serial Port Settings (stty)
Changing Serial
Port Settings (stty)
Use the following information if you need assistance changing or viewing the baud
rate settings.
To change the baud rate, use the following example, which changes the baud rate
to 19200:
stty 19200 </dev/ttyR0
To view the current serial port settings for ttyR0, enter:
stty -a </dev/ttyR0
Note: Settings changes via stty are only valid during current log in session. For
permanent setting changes, use the /etc/inittab file.
Setting Up
Terminals and
Modems (mgetty,
getty)
Add the appropriate line or lines to the /etc/inittab then restart:
Terminal Example:
T0:23:respawn:/sbin/getty -L ttyR0 57600 vt100
Modem Example:
T1:23:respawn:+/sbin/mgetty -m ‘”” AT&F OK’ -D -x9 -s 115200 ttyR0
Note: If necessary, see the manual pages for more information on mgetty.