Respawning a login when terminal is turned off using Ioland

Issue:
How to respawn a login using Ioland for SCO Openserver and the Iolan when the dumb terminal is turned off.

Solution:

In order to send a signal hangup to the processes running on the Ioland device you must configure Ioland with the following command switches:
-p continous connection
-m push the STREAMS tty module
-h hangs up the pseudo-tty

Example: ioland -p -m -h iorack4 10001 ttyp1

You must configure the Iolan port to monitor DSR or DCD in order for the Iolan to drop the TCP port connection.

When DSR or DCD drops on the serial connection the Iolan will drop the TCP port connection. Ioland will then hang up the pseudo-tty device and send a signal hangup to all processes running on the ioland device. Then the getty process will be respawned and present a new login prompt.

Make sure your cable supports the signal you have set to monitor.

Example; port is configured to Monitor DSR and using Xon/Xoff flow control. The cable pinouts would be:

IOLAN+ RJ45                  Terminal DB25
3  (DSR) ---------------------- 20 (DTR)
4  (TXD) ---------------------- 3  (RXD)
5  (RXD) ---------------------- 2  (TXD)
6  (GND) ---------------------- 7  (Gnd)



Article ID:
362
Published:
7/9/2003 10:56:26 AM
Last Modified:
7/9/2003 11:46:47 AM
Issue Type:
Configuration