You will need superuser access for the following.
smit devices
TTY
from the menu.
List All Defined TTYs
.
Add a
TTY
. If you are given a choice between RS-232 and RS-422, choose
RS-232. Choose the desired hardware serial port.
Now, configure that port. Select the desired TTY, like tty0
,
etc., if you are given a choice. Under port number, select the appropriate port
(press F4/List for a list of valid ports, usually only one).
Make sure bits, parity and stop bits are 8N1 (8, none, 1). Set
the baud rate appropriately (SwiftLink maximum: 38400 bps; Turbo232: 57600;
null modem to user port maximum: 1200bps).
Login should be enabled;
terminal type should be dumb
; flow control should be
rts
; status of device should be available
. Leave
all other settings at default. Commit the change by pressing ENTER.
Now, check everything by following paragraph below:
Change/Show Characteristics of a
TTY
. Choose the TTY you have just/previously defined. Make sure
login is enabled and the settings are the same as above. Commit any changes
by pressing ENTER, or if you changed nothing, press F3/Cancel.
ps -ef | grep getty
. If there is no getty process
listening on the new TTY, you may need to bounce the init
process with /etc/init q
, or reboot the machine.
If you get garbled characters, verify baud rate and parity/stop bit/character bit settings.
If you get some normal characters and seem to lose or garble the rest, check
that flow control is set to rts
(hardware). (This won't work
if you're using the null modem on the Commodore user port; in that case,
set the baud rate even lower on both the Commodore and AIX sides.)
Flow control only affects terminal mode; HLPP has its own software flow
control.