#!/bin/sh
#
# This is the second part of the ppp-on script. 
# It is the chat connection protocol for the Harvard connection. 
#
exec chat -V                                            \
        TIMEOUT         3                               \
        ABORT           '\nBUSY\r'                      \
        ABORT           '\nNO ANSWER\r'                 \
        ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
        ''              \rAT                            \
        'OK-+++\c-OK'   ath0                            \
        TIMEOUT         60                              \
        OK              atz                             \
        OK              atm1                            \
        OK              atdt$TELEPHONE                  \
	    38400           '\r'                            \
        "name: "--"name: "   $ACCOUNT                   \
        "ssword: "      $PASSWORD                       \
		'fas> '         'ppp' 
