#
# Default connect script
#
# Handles connection up to PPP negotiation. 
# 
# the following commands are recognized:
# send           - send quoted string 
# expect         - block until quoted string is received
# pause          - pause 1 sec
# 
# The following variables will be replaces with their actual values:
# 
# ~u     - user name
# ~p     - password
# ~i     - modem init string
# ~d     - dial command, including phone number
#
# Once this script finishes executing, automated chat begins (unless it has been disabled
# with the "disable_chat" option in the profile file)

pause
send ~i
expect OK
send ~d
expect CONNECT%SPEED
