Configuring Ports for Terminals and Computers
6-3
• bps is the line speed
• characters is the character size
• parity is the parity scheme to use on this line
• num-bits is the number of stop bits to use
3. If your terminal uses hardware flow control, supply a set flow command that specifies the fol-
lowing (software flow control is the default, so a set flow command is not required in that case):
set flow range=range ixoff=off ixon=off cts=on rts=on
where range is a port or range of ports
Note: You may need to use additional set flow command fields, depending on the flow con-
trol scheme required by your terminal. See the set flow command in the Digi
One/PortServer TS Command Reference for more information.
Example
In this example, port 1 and 2 are configured for connection to terminals using hardware flow control.
The connection uses default for character size (8 bits), parity (no parity), and stop bits (1).
set ports range=1-2 sess=3 dev=term termtype=wy60
set line range=1-2 baud=19200
set flow range=1-2 ixon=off ixoff=off rts=on cts=on
About Computer Connections
Configuring computer connections is very similar to configuring terminal connections, which is
discussed on page 6-2. Consequently, this section simply discusses the differences between these
connection types.
Starting Point
This section assumes that
• You are logged in as root
• You know the attributes, such as baud rate and parity, of the PC that will be connected to this
port
Configuring Typical PC Connections
To configure a port for a directly-connected PC, where the PC always initiates the connection,
configure the connection as you would a terminal connection, except on the set ports command do
the following:
• Specify dev=min if you have a 10-pin null modem cable to support this type of connection.
• Specify dev=term if you do not have a 10-pin null modem cable
Consider defining the serial connection as a PPP link. See "Configuring PPP" on page 8-1 for more
information.
Command Line Example
In this example, ports 1-2 are set up for a BBS host.
set ports range=1-2 dev=prn group=70
set line range=1-2 baud=19200
set flow range=1-2 ixon=off ixoff=off rts=on cts=on
set altip group=70 ip=199.179.23.10