#(This is /etc/ppp/a008script)
#ChatScript for connecting to Telenor's GPRS Service in Norway 
#with Linux, specifically using a Motorola Accompli 008 (though
#other phones should work too). 
#The phone number (*99***1#) varies between country and
#provider. Check with yours if you're not using Telenor.

#Usage: 
#pppd /dev/modem 115200 connect 'chat -f /etc/ppp/a008script' defaultroute

#If you didn't read the A008 manual, go to Tools|Modem and set up connection
#type and baud rate before starting pppd. Leave the cover up while connecting.

#Vidar Holen
#www.vidarholen.net

ABORT "NO CARRIER"
ABORT "ERROR"
TIMEOUT 10
SAY "Setting up modem...\n"
'' AT
'OK' AT+cgdcont=1,"IP","internet"
SAY "Dialing...\n"
'OK' ATDT*99***1#
'CONNECT'