HP UX Internet and Networking Software manual 55 definetn3270association

Models: UX Internet and Networking Software

1 651
Download 651 pages 11.83 Kb
Page 215
Image 215

Administration Commands

define_tn3270_association

2.54.4 Using the Telnet Daemon’s TCP/IP Port

If you are setting up TN server to TCP/IP port number 23, you need to set up the HP-UX computer running TN server to share this port between TN server and the Telnet daemon program. To do this, take the following steps:

Sharing TCP/IP Port Number 23

1.Ensure that the SNAplus2 software has stopped on the HP-UX computer.

2.Log on to the HP-UX computer as root.

3.Edit the file /etc/inetd.conf, and find the line beginning with “telnet.”. Make a note of the full pathname for the Telnet daemon executable program, and any supplied parameters for this program, which are included at the end of this line; typically these are /etc/telnetd and telnetd. Insert a [#] character at the start of the line to comment out the line, then save the file.

4.Create an ASCII text file /etc/snapinetd.conf. This file should consist of a single line containing the Telnet daemon executable pathname and parameters, as determined in step 3. For example:

/etc/telnetd telnetd

5.Use the HP-UX ps command to find the process ID of the Internet daemon program inetd.

6.Use the HP-UX kill command to stop this process by issuing the following command:

kill processid

processid is the process ID that you found in step 5.

7. Start the SNAplus2 Internet daemon program by issuing the following command:

snapinetd

8. Restart the Internet daemon program by issuing the following command:

inetd

9. Restart the SNAplus2 software, then restart the node.

Steps 5, 6, 7, and 8 must be repeated each time you restart the HP-UX computer. You may want to set up a shell script containing these commands, so that it can be run at startup.

Note

If you have set up a session to use the Telnet daemon’s TCP/IP port, do not use SSL for this session. If you use SSL on a session that uses the Telnet daemon’s TCP/IP port, Telnet clients will not be able to use telnet to access the SNAplus2 computer while the node is active.

2.55 define_tn3270_association

The define_tn3270_association command defines an association between a display LU and a printer LU. This association allows a TN3270E client to connect to the printer LU that is associated with a display LU without knowing the name of the printer LU. The define_tn3270_association command can be used to define a new association or to overwrite an existing association for a particular display LU.

2.55.1 Supplied Parameters

Parameter

Type

Length

Default

[define_tn3270_association]

215

Page 215
Image 215
HP UX Internet and Networking Software manual 55 definetn3270association, Using the Telnet Daemon’s TCP/IP Port