R2511-HP MSR Router Series Terminal Access Configuration Guide(V5)
71
Running and terminating ttyd on the 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
Add the command for starting ttyd at the end of the file /etc/inittab.
# vi /etc/inittab
Append the following line:
ttyd:23:wait:/etc/ttyd /etc/ttyd.conf
Installing and using ttyd administration program ttyadm
For more information, see "Installing and using ttyd administration program ttyadm."
Installing and configuring HP-UX server
You can choose to install device drivers using a floppy disk or FTP.
Installing device drivers
Using the floppy disk
For more information, see "Using a floppy disk."
Using FTP
For more information, see "Using FTP."
Configuration prerequisites
Adding VTYs
If there are not enough pseudo terminals on the HP-UX server, you can add new pseudo terminals by
modifying the system file as follows:
1. Launch sam.
# sam
2. Select [Kernel Configuration].
3. Select [Configurable Parameters].
Change the value of the npty parameter to 256.
4. Compile the kernel.
5. Reboot the device.
Now, the number of pseudo terminals is 256 in the directories /dev/pty and /dev/ptym.
Link the added devices to /dev as follows:
# ln /dev/pty/ttyy0 /dev/ttyy0










