6 /usr/sbin/pppd connect '/usr/sbin/chat -v ABORT BUSY ABORT "NO CARRIER" "" ATZ OK ATS71=1 OK ATS80=1 OK ATDT4828060 CONNECT ""' /dev/cua0 115200 name halebopp remotename whitehole debug crtscts modem defaultroute 10.0.0.111:10.0.0.116
8 # Wait for connection success
11 if (-e "/var/run/ppp0.pid") exit 0
16 echo "Couldn't get it up!"
20 if ("$1" == "down") then
21 echo "Bringing net down"
22 if (! -e "/var/run/ppp0.pid") exit 0
23 set pid = `cat /var/run/ppp0.pid`
29 echo "Usage: pppscript up down"