sudo gedit /etc/ppp/peers/gprs
#
# This file contains options for T-Mobile US Blackberries
#
# It is based on a file reported to work, but edited for Barry.
#
connect "/usr/sbin/chat -f /etc/chatscripts/barry-tmobileus.chat"
# You may not need to auth. If you do, use your user/pass from [url]www.t-mobile.com.[/url]
#noauth
user ""
password ""
defaultroute
usepeerdns
noipdefault
nodetach
novj
noaccomp
nocrtscts
nopcomp
nomagic
nomultilink
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
# added so not to disconnect after a few minutes
lcp-echo-interval 0
lcp-echo-failure 999
mtu 1492
debug
debug debug debug
pty "/usr/sbin/pppob"
# 921600 Works For Me (TM) but won't "speed up" your connection.
# 115200 also works.
115200
local
sudo gedit /etc/chatscripts/gprs.chat
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR
SAY "Initializing\n"
'' ATZ
OK AT+CGDCONT=1,"IP","cmnet"
OK-AT-OK ATDT*99***1#
CONNECT \d\c