Troubleshooting
Troubleshooting Linux Systems
lcom(1)
File Transfer
Changing Serial
Port Settings (stty)
Setting Up
Terminals and
Modems (mgetty,
getty)
Testing with
minicom
34 - Troubleshooting
You can use the following subsections to test the serial ports.
Comtrol has available lcom(1), which is a multiport serial I/O test program. You
can use lcom in test mode to send test data to any serial port.
lcom is available on the Software and Documentation CD or you can
latest version.
Note: For assistance using lcom, use the manual page, lcom(1) that accompanies
the program.
You can transfer a file using the following information. The default settings are
9600, 8, n, 1, and no parity. To send a file you can redirect output to a device; for
example:
cat /etc/inittab > /dev/ttyRP0
Sends the contents of the /etc/inittab file to the ttyRP0 device at 9600 baud, 8, n, 1,
and no parity.
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/ttyRP0
To view the current serial port settings for ttyRP0, enter:
stty -a </dev/ttyRP0
Note: Settings changes via stty are only valid during current log in session. For
permanent setting changes, use the /etc/inittab file.
Add the appropriate line or lines to the /etc/inittab file then restart.
Terminal Example:
T0:23:respawn:/sbin/agetty -L ttyRP0 57600 vt100
Modem Example:
T1:23:respawn:+/sbin/mgetty -m '"" AT&F OK' -D -x9 -s 115200 ttyRP0
Note: If necessary, see the manual pages for more information on mgetty.
You can also use minicom, which shipped with most Linux distributions, to test the
serial ports. A Comtrol document is available for using minicom.
RocketPort INFINITY User Guide: 2000465 Rev. G
download
the
Need help?
Do you have a question about the RocketPort INFINITY and is the answer not in the manual?
Questions and answers