IBM AS/400e Computer Hardware User Manual


 
If authentication is enabled, then a connection script
must
be used to pass the user
name and password information to the remote system. For more information on
connection scripts, see “Writing Connection Dialog Scripts”.
Writing Connection Dialog Scripts
A connection dialog script is information in an AS/400 source file that AS/400 uses
to exchange data prior to establishing a SLIP (or in some cases a PPP) connection.
Note: Your AS/400 does
not
support the capability to select SLIP or PPP service
from a connection dialog script when a remote system dials AS/400.
The configuration profile determines which connection script is used. The dialog text
must exactly match the connection sequence that is exchanged between AS/400
and a remote system.
Each connection script contains the dialog text required for the exchange of
authorization and connection parameters with a remote host. The configuration
profile determines which connection script is to be used. The dialog text must be an
exact match for the connection to be established between the client and server or
client and ISP.
Note: AS/400 expects each input line of dialog text from the remote system to end
with an end-of-line character. See “Rules for Creating and Changing
Connection Scripts” on page 119 for further details.
Connection Script Considerations for SLIP
For SLIP on an AS/400, connection dialog scripts commonly perform the following
functions:
v Exchange sign-on and password information to authorize an AS/400 to connect
to a remote host or ISP
v Exchange sign-on and password information to authorize a remote host to
connect to an AS/400
v Select the type of service requested (for example SLIP or PPP) from an ISP
v Allow the dynamic assignment of an IP address by an ISP to an AS/400
v Allow AS/400 to assign an IP address dynamically to a remote host
If you do not require these functions for SLIP connections to or from an AS/400,
you do not need to use a connection script. If you do not use connection dialog
scripts, though, AS/400 will establish SLIP connections without user ID or password
authentication.
Creating and Changing Connection Scripts
You cannot change the default connection script file QUSRSYS/QATOCPPSCR.
You must first create your own connection script file. Do this by copying the default
file as follows:
CPYF FROMFILE(QUSRSYS/QATOCPPSCR)
TOFILE(lib/file) FROMMBR(*ALL)
TOMBR(*FROMMBR) MBROPT(*ADD)
CRTFILE(*YES)
118 OS/400 TCP/IP Configuration and Reference V4R4