1 diff -Naur ppp_gprs_old/etc/ppp/chap-secrets ppp_gprs/etc/ppp/chap-secrets
2 --- ppp_gprs_old/etc/ppp/chap-secrets 1970-01-01 02:00:00.000000000 +0200
3 +++ ppp_gprs/etc/ppp/chap-secrets 2006-10-20 15:08:59.000000000 +0300
5 +# Secrets for authentication using CHAP
6 +# client server secret IP addresses
7 diff -Naur ppp_gprs_old/etc/ppp/chatscripts/gprs-connect-chat ppp_gprs/etc/ppp/chatscripts/gprs-connect-chat
8 --- ppp_gprs_old/etc/ppp/chatscripts/gprs-connect-chat 1970-01-01 02:00:00.000000000 +0200
9 +++ ppp_gprs/etc/ppp/chatscripts/gprs-connect-chat 2006-10-20 15:08:22.000000000 +0300
17 + ABORT '\nRINGING\r\n\r\nRINGING\r'
18 + SAY "GPRS modem init: press <ctrl>-C to disconnect"
24 + OK-ATQ0V1&C1-OK 'ATE1'
28 +# Reset to the factory defaults
29 +# Also, use '+CME ERROR' codes for ME errors, 'ERROR' for syntax errors
32 + OK 'AT+CGDCONT=1,"IP","Your-GPRS-APN","0.0.0.0",0,0'
33 + SAY "\n + defining PDP context"
35 +# Attach to the GPRS service. Strictly, we don't need this step,
36 +# as AT+CGDATA will do it for us, but doing it explicitly makes it
37 +# a little easier to debug.
41 + SAY "\n + attaching to GPRS"
45 + SAY "\n + requesting data connection"
47 + SAY "\n + connected"
48 diff -Naur ppp_gprs_old/etc/ppp/chatscripts/gprs-disconnect-chat ppp_gprs/etc/ppp/chatscripts/gprs-disconnect-chat
49 --- ppp_gprs_old/etc/ppp/chatscripts/gprs-disconnect-chat 1970-01-01 02:00:00.000000000 +0200
50 +++ ppp_gprs/etc/ppp/chatscripts/gprs-disconnect-chat 2006-10-20 15:08:22.000000000 +0300
61 + SAY " + sending break"
62 diff -Naur ppp_gprs_old/etc/ppp/gprs-options ppp_gprs/etc/ppp/gprs-options
63 --- ppp_gprs_old/etc/ppp/gprs-options 1970-01-01 02:00:00.000000000 +0200
64 +++ ppp_gprs/etc/ppp/gprs-options 2006-10-24 02:18:51.000000000 +0300
67 +nodetach # Comment out to run in the background
75 +debug # Comment out for no debugging info
77 +replacedefaultroute # update routing table information
78 +usepeerdns # find out and update the nameservers
79 diff -Naur ppp_gprs_old/etc/ppp/peers/gprs ppp_gprs/etc/ppp/peers/gprs
80 --- ppp_gprs_old/etc/ppp/peers/gprs 1970-01-01 02:00:00.000000000 +0200
81 +++ ppp_gprs/etc/ppp/peers/gprs 2006-10-20 15:07:31.000000000 +0300
83 +#name Your-GPRS-Username # If you dont have a username and password, comment this out
84 +noauth # If you commented out the line above, uncomment this
87 +115200 # Serial port line speed and options
92 +# Generic GPRS options
93 +file /etc/ppp/gprs-options
96 +connect "/usr/sbin/chat -f /etc/ppp/chatscripts/gprs-connect-chat"
97 +disconnect "/usr/sbin/chat -f /etc/ppp/chatscripts/gprs-disconnect-chat"