Listing 7: Sample dialup.scr file for FTP software's TCP/IP
;
; This file is based upon the dialup.scr model provided by FTP Software
; Chris Hare
; June 1993
;
; To operate a modem which supports the Hayes Command Set with
; command extensions:
send AT&F&C1\r
;
; Leave this first pause time at 1 second (the minimum time possible).
;
pause 1
;
; "ATDT" is the Hayes touch-tone dialing prefix. Replace "5551212"
; with the phone number (and extension) of the remote site.
;
send ATDT5551212\r
;
; Pause to confirm that the physical layer is open
;
poll physical open
;
; For most situations, a 8 second pause should suffice for the remote
; system to respond with a login prompt. Change if necessary.
;
pause 8
;
; Replace "username" with your SLIP or PPP login name (which may be
; different from your username on the remote system).
;
send username\r
;
; For most situations, a 4 second pause should suffice for the remote
; system to respond with a password prompt. Change if necessary.
;
pause 4
;
; Replace "password" with your SLIP or PPP password (which may be
; different from your password on the remote system).
;
send password/r
;
; For most situations, a 2 second pause should suffice for the remote
; system to respond to your password. Change if necessary.
;
pause 5
;
; Switch the packet driver from character mode to packet mode.
;
changemode packet
pause 5
;
; Send a request to open the LCP layer
;
; Note: Comscrpt ignores the following 3 commands if the SLIP kernel
; (SLPDRV) is being used because SLIP does not have lcp and ipcp
; layers. If using SLIP the presence or absence of these commands
; will not have an adverse effect.
;
signal lcp open
;
; Pause to confirm that the lcp and ipcp layers are open.
;
poll lcp open
poll ipcp open
|