#
# /etc/ppp/ppp.conf
#
# Config file for ppp(8) to use GPRS Phones
#
# Tim Deegan, January 2002
#
# This is set up for my Ericsson phone, using context 2 to hold the CL link.
# For Motorolas, which are less clever, change  AT+CGDCONT=2 to AT+CGDCONT=1
# and *99*2\# to *99\#
#
# $Id: ppp.conf,v 1.1 2002/02/01 12:10:35 tjd21 Exp $
#

default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)

 set device /dev/cuaa0

 set speed 57600
 set timeout 180
 enable dns

gprs:
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \
           AT+CGDCONT=2,\\\"IP\\\",\\\"internet\\\",\\\"0.0.0.0\\\",0,0 OK \
           AT+CGATT=1 OK \\dATDT\\T TIMEOUT 40 CONNECT AT+CGDATA=\\\"PPP\\\",2"
 set logout "ABORT BUSY ABORT ERROR TIMEOUT 30 \
            \"\" +++ATH OK-ATH-OK AT+CGATT=0 OK"
 set phone *99***2\#
 set ifaddr 0/0 192.168.254.254/0 255.255.255.0 0.0.0.0
 add default HISADDR
 disable deflate pred1 vjcomp
