Gulp – our first published hack – using a nokia e90 mobile phone over bluetooth as a 3G modem on T-mobile

I think this is our first ever hack, heavily copied from here (thanks to that author) with a few little changes for the UK T-mobile network, and shows how to use a nokia e90 mobile phone over bluetooth as a 3G modem on T-mobile on ubuntu 8.10, saving yoruself the cost of buying a £150 USB 3G dongle

First Pair your Mobile to Your laptop Manually…using bluetooth manager.. if pc is not connecting to your device.. try to connect the pc from your mobile

then go to console n issue the following command

adrian@adrian-laptop:~$ sdptool search DUN

output
———-
Inquiring …
Searching for DUN on 00:1A:89:CD:14:9A …
Service Name: Dial-Up Networking
Service RecHandle: 0x1005c
Service Class ID List:
“Dialup Networking” (0x1103)
Protocol Descriptor List:
“L2CAP” (0x0100)
“RFCOMM” (0x0003)
Channel: 4
Language Base Attr List:
code_ISO639: 0x454e
encoding:    0x6a
base_offset: 0x100
Profile Descriptor List:
“Dialup Networking” (0x1103)
Version: 0x0100

NOTE THE CHANNEL NUMBER
step 2: Issue the command

hcitool scan

output
———–
Scanning …
00:1A:89:Cx:14:9A    Adrian e90

step 3: issue the command

sudo gedit /etc/bluetooth/rfcomm.conf

paste the text in it

rfcomm0 {
bind yes;
device 00:1A:89:Cx:14:9A;
channel 4;
comment “Nokia E90″;
}

USE YOUR OWN DETAILS FOR MAC ADDRESS AND CHANNEL NUMBER
save it

step 4:

issue the command

sudo gedit /etc/ppp/peers/airtel

copy this in that file

/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 5:

issue the command

sudo gedit /etc/ppp/chat-gprs

copy this in the file

” ATZ OK
AT+CGDCONT=1,”IP”,”general.t-mobile.uk”
OK “ATD*99***1#”
CONNECT ”
step 6:

FINISHED

To run it,make sure you are not connected to another wifi network (reboot in needed), then  just issue this command

sudo pppd call airtel

It works, and has just saved me £150 for a 3G wireless USB dongle device.