home *** CD-ROM | disk | FTP | other *** search
- # Sample script file
-
- send "^M"
- send "at^M"
- wait 5 "OK"
- send "atdt 123-4567^M" # put your SLIP server's number here
- wait 45 "CONNECT" # wait for modem to connect
- wait 2 # wait 2 seconds for things to stabilize
- send "^M" # send CR
- wait 15 "login:" # wait for userid prompt
- send "userid^M" # substitute our userid here
- wait 15 "password:" # wait for passowrd prompt
- prompt "Password:" # display prompt window and get response
- wait 15 "to " # the word 'to' precedes our ip number
- capture 15 " beginning...." # capture until this literal is found
-
- file c:\windows\trumpwsk # post updates to Trumpet's INI file
- section Trumpet Winsock # in section [Trumpet Winsock]
-
- set ip=capture # set ip= to captured ip number
- set slip-port=port # set slip-port= to 1, 2, 3, or 4
- set slip-baudrate=speed # set slip-baudrate= to 300, 9600, etc.
-
- set netmask=255.255.255.0 # set other values as literals in the
- set gateway=164.109.201.3 # .INI file
- set dns=164.109.1.3
- set domain=digex.com
- set slip-enabled=1
- set slip-handshake=0
- set slip-compressed=0
-
- # we could repeat the file and/or section commands to post changes to a
- # number of different .INI files.
-