Editing Ttyd Configuration File; Modifying System Configuration File Inittab; Modifying Route Configuration File; Running And Terminating Ttyd On Unix Server - 3Com MSR 50 Series Configuration Manual

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

Advertisement

794
C
52: FEP I
HAPTER
NSTALLATION AND
Modifying System
Configuration File
inittab
Editing ttyd
Configuration File
Modifying Route
Configuration File
Running and
Terminating ttyd on
Unix Server
C
ONFIGURATION
1 Check whether the pseudo terminal has been configured in the inittab
configuration file.
Take the device ttypa as an example. Edit the file /etc/inittab and check whether
this file contains the following line:
pa:3456:respawn:/usr/sbin/getty ttypa 9600
If the line is absent, add it. In the sample line, pa is the identifier of the line. Each
line in file inittab must have a unique identifier consisting of no more than four
characters. In system configuration file inittab, the third column of a line is
"respawn" for an active terminal and "off" for a dumb terminal.
2 Bring the configuration into effect after the addition.
# init q
Refer to
"Editing the ttyd Configuration File" on page
The terminal access router is usually connected to the Unix server through WANs
and therefore located on an IP segment different from that of the Unix server, in
which case you must configure a route on the Unix server.
The following example shows how to do so:
# route add net 10.110.96.0 netmask 255.255.255.0 63.1.1.250
Running ttyd
Refer to
"Running and Terminating ttyd on Unix Server" on page
Terminating ttyd
Refer to
"Terminating ttyd" on page
Enabling ttyd autorun at system startup
1 Create the file /sbin/init.d/ttyd.
# vi /sbin/init.d/ttyd
2 Add the following contents:
case "$1" in
'start_msg')
echo "Start ttyd"
;;
'start')
# To launch multiple configuration files, list each of them in a line.
/etc/ttyd /etc/ttyd.conf
;;
'stop_msg')
775.
779.
778.

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents