How to configure internet access through GPRS/EDGE, using bluetooth connection with your GSM phone.
I am using ubuntu and Nokia 3310c phone with DIGI Connection, but this will work with any distribution and any bluetooth capable phone..
* Requirements:
1) GPRS/EDGE Enabled Phone (Here Nokia 3310c)
2) GPRS Connection (Here DIGI, MALAYSIA)
3) BlueTooth Dongle
4) bluez-utils
Quote:
sudo apt-get install bluez-utils
5) ppp
Quote: sudo apt-get install ppp
6) latest 2.6 kernel
* Now the simple easy steps:
Step 1.
Plugin The bluetooth dongle and activate the bluetooth on your mobile
Step 2.
Issue this command
Quote: hcitool scan
It will give you an output like this
Quote:
Scanning ...
00:1B:33:D5:22:E4 Nokia 3310c
Note/Copy the address "00:1B:33:D5:22:E4" somewhere.
This is the bluetooth address of the phone.
Step 3.
Issue this command
Quote: sudo vi /etc/bluetooth/pin-helper
Put this on that file and save
Quote:
#!/bin/sh
echo -n "PIN:" cat /etc/bluetooth/pin
also remember to check the file "/etc/bluetooth/pin"
which should have something like this "1234", If it is not there create that files and put "1234"
Step 4.
Issue this
Quote:sudo vi /etc/bluetooth/rfcomm.conf
Put this
Quote:
rfcomm0 {
bind yes;
device 00:1B:33:D5:22:E4;
channel 1;
comment "Nokia 3310c";
}
Remember to replace this "00:1B:33:D5:22:E4" with the address you copied in step 2.
Step 5.
Create a file
Quote: sudo vi /etc/ppp/peers/digi
Put this
Quote:
/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
Step 6.
Create a file
Quote: sudo vi /etc/ppp/chat-gprs
Put this
Quote:
'' ATZ OK
AT+CGDCONT=1,"IP","diginet"
OK "ATD*99#"
CONNECT ''
You need to ask your service provider and replace the "diginet"
and "*99#", these are the IP/host name of gprs provider and dialup no.
Step 7.
Quote: pppd call digi
Enjoy Ubuntu.
1 comment:
I actually enjoyed reading through this posting.Many thanks.Configure Internet Connection
Post a Comment