#!/bin/sh ######################################################################## # ppp-on-dialer: # # This is part 2 of the ppp-on script. It will perform the connection # protocol for the desired connection. # PR=$PROMPT exec /usr/sbin/chat \ TIMEOUT 3 \ ABORT '\nBUSY\r' \ ABORT '\nNO ANSWER\r' \ ABORT '\nRINGING\r\n\r\nRINGING\r' \ '' '\rAT' \ 'OK-+++\c-OK' ATH0 \ TIMEOUT 60 \ OK ATDT$TELEPHONE \ CONNECT '' \ TIMEOUT 20 \ : "telnet $HOST" \ ogin:--ogin: $ACCOUNT \ assword: "$PASSWORD" \ "$PR--$PR" "exec slirplogin -P -b $BAUDRATE -as 0x0" # EOF ppp-on-dialer