Modifying System Configuration File Inittab; Editing The Ttyd Configuration File - 3Com MSR 50 Series Configuration Manual

3com msr 30-16: software guide
Hide thumbs Also See for MSR 50 Series:
Table of Contents

Advertisement

Modifying System
Configuration File
inittab
Editing the ttyd
Configuration File
Check whether the pseudo terminals are configured in file inittab. Taking ttyp50
as example, edit file /etc/inittab and check whether the following line is present:
C50:234:respawn:/etc/getty ttyp50 m
If the line is absent, add it. In the sample line, C50 is the identifier of the line. Each
line in file inittab must have a unique identifier consisting of no more than four
characters. According to banking applications, pseudo terminals fall into two
categories: active terminal and dumb terminal. When an active terminal user logs
into the Unix server, the Unix server pushes the login interface to the terminal.
When a dumb terminal user logs into the Unix server, the Unix server does not
push the login interface to the terminal. In system configuration file inittab, the
third column of a line is "respawn" for an active terminal and "off" for a dumb
terminal.
After adding the line, execute the init q command to bring the configuration into
effect.
# init q
In addition, you can use the enable command to configure a pseudo terminal as
an active terminal, or use the disable command to configure a pseudo terminal as
a dumb terminal.
# enable ttyp50
The default ttyd configuration file is /etc/ttyd.conf. In a ttyd configuration file, you
can define the listening port number and map the terminal numbers on the router
to the pseudo terminals on the Unix server. The following shows the format of ttyd
configuration file:
# The router terminal access configuration file on the Unix server
serverport 9010
mode 1
nodelay 1
screen 0
lang 1
logsep 1
debugpath /var/ttydlist
sendsize 512
readsize 300
noblock 1
ttyp30 10.110.96.44 1 accesstime 1 8:00-18:00
exit
1
compat 1
The following explains the file format:
In the configuration file, the lines starting with a "#" are comment lines.
serverport 9010
TCP listening port for the ttyd process. By default, it is 9010. A Unix server can run
multiple ttyd processes, each of which must use a unique configuration file and a
unique listening port.
Installing and Configuring SCO OpenServer Server
775

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents