|
GAP/SVR4 Terminal Configuration GAP/SVR4 Terminal Configuration
Terminals are usually configured for software (Xon/Xoff) flow control.
While the following procedure is sufficient for most cases, it may be
necessary to take additional steps to properly configure your terminal or
to set up the OS for a specific application.
Software flow control can usually be accomplished with a 4 wire cable in
most cases. The cable specification below is recommended to allow
interchangeability of cables between terminals and printers, and to
allow easy migration to hardware flow control if this proves necessary for
a given terminal or application.
1) The Cable
Use the Standard Terminal Cable as diagrammed in the
Digi Standard Cable section.
2) The Unix Server
- Select Terminal Port
scoadmin
--> hardware --> serial manager --> view --> boards
Select digi item from the list
--> view --> ports
Select port from the list
- Modify Terminal Port for proper parameters
--> port --> modify
Note: Terminals usually use
- Software Flow Control
- Incoming Only
- A fixed baud rate (9600)
- Advanced settings allows changes to character bits and stop bits
- Carrier Detect
If the port is wired with 8 wire cable, put the command:
ditty altpin /dev/term/a01s in the /etc/rc2.d/S99digi file.
If the port is not wired with 8 wire cable, carrier detect will need to be forced,
put the command:
ditty forcedcd /dev/term/a01s in the /etc/rc2.d/S99digi file.
*In Unixware 7.x/SVR5 the modem control device is for dial-in, the
standard device is for dial-out and configuration:
| Device | Dialin | Dialout/Printer/Terminal
|
|---|
xem, c/x, epc/x
and portserver | term/a01m | term/a01s
| | xe and xi | term/i1A | term/i1a
| | xr | term/r1A | term/r1a |
3) Troubleshooting a Port
If a terminal is not working correctly, the first step in determining
what the problem is is to do a loopback test on the port:
- Plug in the loopback plug sent with the product. If you do not have the loopback
plug you can loop send and receive signals (ie: a phillips head screwdriver between pins 2+3 of a DB25 or strip and twist the center two wires together on an RJ45 or RJ12 plug).
- Make sure the port is disabled with no ttymon running on it.
- from the command line:
- cat < /dev/term/a01s &
- date > /dev/term/a01s
- cat /etc/termcap > /dev/term/a01s
- kill 0
If the date appears on the screen, the port is working
The /etc/termcap file will test software flow control
|