UNIX onlyAllocating TIPH Ports
On UNIX, if you do not specify a port number when using the PH-START command, a pseudo TIPH port is allocated. If you wish to allocate a real port for use by TIPH, you must disable the associated UNIX device and enable Reality to use it for TIPH.
Procedure
The following procedure must be carried out on all systems with hardwired port connections.
-
Determine the corresponding tty device identity for the Reality port number on which you wish to run TIPHs.
Note
PLId to Port mapping information defined in the devices file determines the UNIX device for the TIPH port. See the topic PLId to Port Mapping.
-
Prevent the tty device being used by UNIX, by setting its status to 'off'. This will prevent the ttymon process being started on the associated tty device.
The way in which a tty device is identified and the procedure by which you set it to 'off' will vary according to the system being used. On Solaris and AIX, you must modify the tty entry in the inittab file, setting the action field (field 3) to 'off'. For example:
tty4:2:respawn:/usr/sbin/...
In the above, change field 3 from respawn to off.
Refer to the documentation supplied with your system to determine the appropriate procedure.
-
Enable the device for use by the Terminal Independent Port Handler by setting the permissions on the UNIX device file to read and write.
When you try to use a TIPH port, Reality checks permissions and allows allocation only if read and write permissions are present. This prevents allocation of ports that are in use by UNIX users outside the Reality environment as these have write permissions only.
The permissions you give to the associated device file depend on whether you wish to restrict the use of the line. To allow all users to use it, set the 'others' permission to read and write. To restrict use of it to a particular group, set the group identity of the device file to the required group, and set read and write permissions for the group.
Example
To allocate port 2, with associated device file /dev/tty02, for use by TIPH:
-
Set the line state to off.
-
Change the permissions on /dev/tty02 to read and write, either to rw-rw-rw with root ownership, or rw-rw---- with a new group id.
You can now allocate port 2 to run TIPH.