R2511-HP MSR Router Series Terminal Access Configuration Guide(V5)
72
# ln /dev/ptym/ptyy0 /dev/ptyy0
Modifying the maximum number of processes supported by the system
By default, the HP-UX server supports up to 664 processes. If a Unix server is to be connected with many
terminals (usually more than 50), change the value to 2000. To do this, use the following commands:
# sam
After entering the menu interface, select [kernel configuration] to enter the submenu, and then select
[configurable parameters] and change the value of [nproc] to 2000.
After modification, you must reboot the server to apply your configuration. You do not need to change
other system kernel parameters.
Editing ttyd configuration file
For more information, see "Editing the ttyd configuration file."
Modifying route configuration file
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 this case, you must configure a route on the Unix
server.
The following example shows how to do this:
# route add net 10.110.96.0 netmask 255.255.255.0 63.1.1.250
Running and terminating ttyd on Unix server
Running ttyd
For more information, see "Running and terminating ttyd on Unix server."
Terminating ttyd
For more information, see "Terminating ttyd."
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')
echo "Stop ttyd"
;;
'stop')










