754
C
51: T
HAPTER
ERMINAL
A
C
CCESS
ONFIGURATION
[Sysname] interface loopback 0
[Sysname-loopback0] ip address 2.2.2.1 255.255.0.0
[Sysname-loopback0] quit
[Sysname] rta source-ip 2.2.2.1
# Apply the template to the asynchronous serial interfaces.
[Sysname] interface async 1/0
[Sysname-Async1/0] async mode flow
[Sysname-Async1/0] rta terminal temp1 1
[Sysname-Async1/0] interface async 1/1
[Sysname-Async1/1] async mode flow
[Sysname-Async1/1] rta terminal temp1 2
[Sysname-Async1/1] interface async 1/2
[Sysname-Async1/2] async mode flow
[Sysname-Async1/2] rta terminal temp1 3
[Sysname-Async1/2] interface async 1/3
[Sysname-Async1/3] async mode flow
[Sysname-Async1/3] rta terminal temp1 4
# Configure software flow control.
[Sysname] user-interface tty 17 20
[Sysname-ui-tty17-20] flow-control software
Configure the receiver (Unix server).
■
Perform the following configuration by referring to
Configuration" on page
example.
1 # Edit the file /etc/ttyd.conf.
serverport 9010
mode 1
ttyp40 2.2.2.1 1
ttyp41 2.2.2.1 2
ttyp42 2.2.2.1 3
ttyp43 2.2.2.1 4
2 Modify system configuration file /etc/inittab
Suppose the terminals operate in the active terminal mode. Check whether the
pseudo terminal devices have been configured in the file inittab. Edit the file
/etc/inittab and see whether the following information is available. If not, add this
information.
C40:234:respawn:/etc/getty ttyp40 m
C41:234:respawn:/etc/getty ttyp41 m
C42:234:respawn:/etc/getty ttyp42 m
C43:234:respawn:/etc/getty ttyp43 m
After adding, execute the init q command to bring the configuration into effect.
# init q
The above are basic configurations. After verifying terminal connectivity to the
server, you can proceed with other configurations.
771. The following uses SCO OpenServer Unix as an
"FEP Installation and