Table 9. SLIP Client Connection Scripts-Examples (continued)
Client (Dial-Out) Examples Server (Dial-In) Examples
Member DIALAIX in File QATOCPPSCR
*******************************************************
* CLIENT CONNECTION SCRIPT EXAMPLE
* FOR AIX 4.1 SLIPLOGIN SCRIPT
*******************************************************
&(PROMPT)
login:
&(USERID)
password:
&(PASSWORD)
Called system's address is (IPGATE)
Calling system's address is (IPADDR)
discipline
* END OF CLIENT CONNECTION SCRIPT EXAMPLE
Member ANSAIX in File QATOCPPSCR
*******************************************************
* SERVER CONNECTION SCRIPT EXAMPLE
* FOR AIX 4.1 SLIPCALL SCRIPT
*******************************************************
(PROMPT)
& login:
(USERID)
& password:
(PASSWORD)
& Called system's address is (IPGATE)
& Calling system's address is (IPADDR)
& The netmask is 255.255.255.0
& Activating slip line discipline
* END OF SERVER CONNECTION SCRIPT EXAMPLE
Member DIALIGN in File QATOCPPSCR
*******************************************************
* CLIENT CONNECTION SCRIPT EXAMPLE FOR
* IBM GLOBAL NETWORK (IGN) INTERNET SERVICE
*******************************************************
&&
Enter dial script version ==>
& 1.1
Enter service ==>
& INTERNET
Enter account userID password
& (USERID) (PASSWORD)
(IPADDR) is your IP address.
& (PROMPT)
(IPGATE) is the gateway IP address.
Begin TCP/IP communication now.
* END OF CLIENT CONNECTION SCRIPT EXAMPLE
Member ANSWIN95 in File QATOCPPSCR
*******************************************************
* SERVER CONNECTION SCRIPT EXAMPLE
* Windows 95 system with Microsoft Plus for Windows 95
* installed dialing into AS/400 *ANS session.
*******************************************************
(PROMPT)
& Userid:
(USERID)
& Password?
(PASSWORD)
& InternetLR/E>
(PROMPT)
& (IPGATE) IS AS/400 IP ADDRESS.
& (IPADDR) IS IP ADDRESS OF SYSTEM CALLING AS/400.
* END OF SERVER CONNECTION SCRIPT EXAMPLE
Creating SLIP Client (Dial-Out) Connection Scripts-Examples
This topic explains how to create connection scripts for dial-out connections.
The following is an example of a client connection script for a generic (non-IBM
Global Network) ISP:
1. * Generic client connection script example
2. & (PROMPT)
3. Username:
4. & (USERID)
5. Password:
6. & (PASSWORD)
7. Protocol:
8. SLIP
9. The gateway address is (IPGATE)
10. Your IP address is (IPADDR)
11. * End of Generic client script example
After the modem dials and connects, AS/400 reads the connection script. Each line
in the connection script causes AS/400 to send or receive data as follows:
1. Comment line.
2. AS/400 sends a blank followed by a carriage return to the remote system that
AS/400 called.
122 OS/400 TCP/IP Configuration and Reference V4R4