R2511-HP MSR Router Series Terminal Access Configuration Guide(V5)

83
7. Exit to the level 2 interface and select [Relink Kernel] to recompile the kernel.
8. Exit scoadmin and reboot the Unix server.
After reboot, the change takes effect. You can use the netstat -m command to view current system stream
resources. The third line from the bottom of the command output will show that the total configured
streams memory has been changed from 2048 KB to 8000 KB.
Some banking services cannot use pseudo terminal names containing more than six characters
By default, the name of a pseudo terminal consists of six characters, for example, ttyp50. But some
banking services do not support pseudo terminal names containing six or more characters. Therefore,
you must modify the names to 5-character long names. The following example shows the steps:
1. Kill all the current main and child ttyd processes.
2. Modify pseudo terminal names in configuration file ttyd.conf, for example:
Original: ttyp30 10.110.96.11 0
Modified: ttya0 10.110.96.11 0
3. Modify 6-character pseudo terminal names to 5-character ones with the following commands:
# mv /dev/ttyp30 /dev/ttya0
# mv /dev/ptyp30 /dev/ptya0
4. Modify pseudo terminals attributes with the following commands:
# chmod 666 /dev/ttya0
# chmod 666 /dev/ptya0
5. Synchronize with the following command:
# sync
6. For active terminals, add corresponding pseudo terminal configuration in system file inittab by
using the following command:
a0:234:respawn:/etc/getty ttya0 m
7. Add configuration entry for pseudo terminal ttya0 in the banking service configuration file.
8. Restart the ttyd program.
When the program restarts, 6-character VTY names have been changed to 5-character names.
A terminal does not display the login interface
A terminal does not display the login interface in the following cases:
Sometimes, when you kill the main ttyd process, some banking service process may remain. In this
case, when you restart ttyd, the terminal cannot be opened.
The terminal has baud rates different from those of the asynchronous interface.
The corresponding device is not configured in the inittab file.
The router and the Unix server use different application modes. For example, the Unix server may
use the many-to-one mode and the router may use the TTY one-to-one mode. The router only
supports TTY one-to-one mode.
Solution:
For the first case, you may check the UNIX server log for a message similar to "open ptyp10 failed:
I/O error." If you find a message like this, execute the following command on the Unix server:
# ps -ef | grep ttyp10
Then kill all the displayed processes associated with ttyp10.
For the second case, you must reconfigure the baud rates to be consistent.