How to configure internet access through GPRS/EDGE, using bluetooth connection with your GSM phone.
I am using ubuntu and Nokia 6630 phone with Airtel Connection, but this will work with any distribution and any bluetooth capable phone..
* Requirements:
1) GPRS/EDGE Enabled Phone (Here Nokia 6630)
2) GPRS Connection (Here Airtel, Kolkata, India)
3) BlueTooth Dongle
4) bluez-utils
sudo apt-get install bluez-utils
5) openobex
Download here and compile,
You need gawk and gcc,
sudo apt-get install gawk
sudo apt-get install gcc
6) ppp
sudo apt-get install ppp
7) latest 2.6 kernel
* Now the simple easy steps:
Step 1.
Plugin The bluetooth dongle and activate the bluetooth on your mobile
Step 2.
Kernel Configuration
You may ignore this part if your hardware is recognised, Ubuntu Magic
Step 3.CONFIG_BT=y
CONFIG_BT_L2CAP=m
CONFIG_BT_SCO=m
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=m
## Bluetooth device drivers
CONFIG_BT_HCIUSB=m
CONFIG_BT_HCIUSB_SCO=y
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
CONFIG_BT_HCIBCM203X=m
CONFIG_BT_HCIBPA10X=m
CONFIG_BT_HCIBFUSB=m
CONFIG_BT_HCIDTL1=m
CONFIG_BT_HCIBT3C=m
CONFIG_BT_HCIBLUECARD=m
CONFIG_BT_HCIBTUART=m
CONFIG_BT_HCIVHCI=m
## PPP
CONFIG_PPP=y
CONFIG_PPP_ASYNC=y
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
CONFIG_PPP_MPPE=m
Issue this command
It will give you an output like thishcitool scan
Note/Copy the address "00:11:9F1:05:A4" somewhere.Scanning ...
00:11:9F1:05:A4 Nokia 6630
This is the bluetooth address of the phone.
Step 4.
Issue this commandPut this on that file and savesudo vi /etc/bluetooth/pin-helper
also remember to check the file "/etc/bluetooth/pin"#!/bin/sh
echo -n "PIN:" cat /etc/bluetooth/pin
which should have something like this "1234", If it is not there create that files and put "1234"
Step 5.
Issue this
Put thissudo vi /etc/bluetooth/rfcomm.conf
Remember to replace this "00:11:9F1:05:A4" with the address you copied in step 3.rfcomm0 {
bind yes;
device 00:11:9F1:05:A4;
channel 1;
comment "Nokia";
}
Step 6.
Create a filePut thissudo vi /etc/ppp/peers/airtel
Step 7./dev/rfcomm0 115200
connect '/usr/sbin/chat -v -f /etc/ppp/chat-gprs'
crtscts
modem -detach
noccp
defaultroute
usepeerdns
noauth
ipcp-accept-remote
ipcp-accept-local
noipdefault
Create a file
Put thissudo vi /etc/ppp/chat-gprs
You need to ask your service provider and replace the "airtelgprs.com"'' ATZ OK
AT+CGDCONT=1,"IP","airtelgprs.com"
OK "ATD*99***1#"
CONNECT ''
and "*99***1#", these are the IP/host name of gprs provider and dialup no.
Step 8.
YOU ARE DONE! THATS IT? YEAH....
just issue this command
Thanks..Enjoy Ubuntu.pppd call airtel
Bookmarks