Hello, i have just succeeded to connect gprs via bluetooth. Currently i am writing from there.
I have read wirless hacks of oreilly and
found the solution
1-) Make sure that you have the appropriate hardware ready. (I tried same phone and notebook in windows it was working.)
2-) Makesure that bluez-utils is installed via package manager
3-)open a console and type hcitool scan this should give you the BD address of your phone, take a note of this number
4-)type sdptool search DUN from the out put take a note of channel number
5-)make sure that you have written your pin number in /etc/bluetooth/pin (any 4 digit number is ok , you will use the same number through the phone)
6-) type rfcomm bind /dev/rfcomm0 X:X:X:X:X:X channel_number_noted using the channel number noted earlier as X denotes BD address.
7-) test it by typing rfcomm you should see the channel is clear or closed, both are ok e.g. rfcomm0: X:X:X:X:X:X channel 1 clean
8 -) create the following file as root : /etc/ppp/peers/gprs
9-) Put the following inside:
Code:
/dev/rfcomm0
connect '/usr/sbin/chat -v -f /etc/ppp/peers/gprs.chat'
noauth
defaultroute
usepeerdns
lcp-echo-interval 65535
debug
10-) Create the following file as root: /etc/ppp/peers/gprs.chat' and put the following
Code:
TIMEOUT 15
ECHO ON
HANGUP ON
'' AT
OK ATZ
OK ATD*99*#
Here you may need to change *99*#, it should be the number you dial. In Turkey it is that, in some countries it is *99# or *99***1#, consult your GSM provider.
11-) Go to your phone and initiate pairing by using the same pin and confirm all things from phone
12-) type sudo pppd nomagic call gprs and confirm the connection with your phone
That's it, your gprs connections should be working now, enjoy surfing
Bookmarks