#! /bin/sh . /usr/local/etc/PPP-private # this file contains private info, in the following format: #export PHONE=5551234 #export USER=spade #export PASSWORD=CoolPWD #export OUR_IP_ADDR=128.0.0.200 #export THEIR_IP_ADDR=128.0.0.1 export PATH="/usr/local/bin:/usr/local/sbin:/usr/bin/usr/sbin:/bin:/sbin" diald /dev/cua3 -m ppp local $OUR_IP_ADDR \ remote $THEIR_IP_ADDR defaultroute modem crtscts \ ip-up ppp-up \ ip-down ppp-down \ impulse 180,30 \ redial-timeout 5 \ connect 'chat -v -l LCK..cua3 \ ABORT "NO CARRIER" ABORT BUSY \ "" ATZ OK ATS7=50L2V1\&C1E1Q0DT$PHONE CONNECT "" \ ogin: $USER ssword: \\q$PASSWORD'