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 anAS/400 source file that AS/400 uses
to exchange data prior to establishing a SLIP (or in some cases a PPP) connection.
Note: YourAS/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 page119 for further details.
Connection Script Considerations for SLIP
For SLIP on an AS/400, connection dialog scripts commonly perform the following
functions:
vExchange sign-on and password information to authorize an AS/400 to connect
to a remote host or ISP
vExchange sign-on and password information to authorize a remote host to
connect to an AS/400
vSelect the type of service requested (for example SLIP or PPP) from an ISP
vAllow the dynamic assignment of an IP address by an ISP to anAS/400
vAllow 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

Youcannot change the default connection script file QUSRSYS/QATOCPPSCR.
Youmust 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