UMAIL Setup EDGE/GPRS using nokia phone bluetooth

Taking care of your Linux box.

UMAIL Setup EDGE/GPRS using nokia phone bluetooth

Postby syedbilalmasaud » Sun Nov 09, 2008 6:13 pm

Dear Linux buddies,


hope you like this stuff

I am using Nokia 6110 Navigator & I am using internet using its bluetooth adapter so for this setup , may be you need to recompile your kernel with these options enabled to work bluetooth on Linux

I am using Debian GNU Linux , so it worked for me

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

you have to install
bluez-utils
libbluetooth2
bluez-firmware
bluez-passkey-gnome (if you want to work with GNOME panel)


Start Bluetooth Service

#/etc/init.d/hcid start

and scan bluetooth devices

#hcitool scan

this command will show you phone name and MAC address for your phone bluetooth adapter shown below

Scanning ... 00:21:3A:1E:D3:32 Nokia 6110 Navigator

now edit file to allow your phone

vi /etc/bluetooth/hcid.conf

options options {
autoinit yes;
security auto;
pairing multi;
pin_helper /etc/bluetooth/pin-helper;
}

laptop device {

name "A5720G (%d)";
class 0x3f0100;
iscan enable;
pscan enable;
lm accept;
lp rswitch,hold,sniff,park;
}

if you don't have pin-helper than you have to create one like /etc/bluetooth/pin-helper
and add following in this file
#!/bin/sh

echo -n "PIN:" cat /etc/bluetooth/pin

EOF

file /etc/bluetooth/pin has just 1234 example pin inside

edit /etc/bluetooth/rfcomm.conf

rfcomm0 {
bind yes;
device 00:21:3A:1E:D3:32;
channel 1;
comment "Nokia";
}

Now Configure your PPP connection

edit /etc/ppp/peers/ufone-umail

/dev/rfcomm0 115200
connect '/usr/sbin/chat -v -f /etc/ppp/utms'
crtscts
modem -detach
noccp
defaultroute
usepeerdns
noauth
ipcp-accept-remote
ipcp-accept-local
noipdefault

EOF

also edit new file /etc/ppp/utms

'' ATZ OK
AT+CGDCONT=1,"IP","umail.internet" ## This is your Access point for Internet connection on your mobile
OK "ATD*99***1#"
CONNECT ''

EOF

now just dial using command


#pppd call ufone-umail


# I have tested this setup on Debian 4.0



Cheers :D

Bilal
Cheers :)

:D B I L A L :D
syedbilalmasaud
Naib Subedar
 
Posts: 347
Joined: Thu Aug 18, 2005 9:25 am
WLM: bm1984@hotmail.com
Yahoo Messenger: syedbilalmasaud@yahoo.com
Location: Attock

Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 1 guest

cron