I have an IBM Thinkpad laptop, with a BlueTooth dongle and a GPRS enabled Nokia
6310i. The phone has GPRS enabled with Orange in the UK. This note explains
how to set up GPRS with ppp, it assumes your phone is visible, if you need the
instructions on seeing your phone with BlueTooth look
Here.
You need to have pppd installed.
You need to copy these two scripts, and possibly change them if you are not
using Orange in the UK.
You can grab the files from Here to save you
copying and pasting from below.
The first script you need to create is '/etc/ppp/peers/gprs':
/dev/rfcomm0 57600
connect '/usr/sbin/chat -v -f /etc/ppp/chat-gprs'
noauth
defaultroute
lcp-echo-failure 0
You can change /dev/rfcomm0 to match your device, for example /dev/ttyS0 - I
needed to have the 'lcp-echo-failure 0' option when using Bluetooth.
You will then need to create the chat script '/etc/ppp/peers/chat-gprs':
TIMEOUT 5
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' \rAT
TIMEOUT 12
OK ATE1
OK 'AT+cgdcont=1,"IP","orangeinternet"'
OK ATD*99***1#