This is how i connected to internet using nokia 6233 and my bluetooth dongle, obviously my connection is Aritel GPRS.....
There are two dialer programs used to connect
1. using Wvdial (my option)
2. using pppd (did n't tried)
i have gone for the option 1. boz it was much comfortable for me to use!!! and more over..... wvdial invokes pppd to negotiate the PPP connection after it has setup to the dial-up connection.
In my case i had to install these packages
so you may have to do
There are two dialer programs used to connect
1. using Wvdial (my option)
2. using pppd (did n't tried)
i have gone for the option 1. boz it was much comfortable for me to use!!! and more over..... wvdial invokes pppd to negotiate the PPP connection after it has setup to the dial-up connection.
In my case i had to install these packages
so you may have to do
#apt-get install wvdial
- To see whether the phone supports bluetooth dial up take termial and type
$sdptool search DUN
if it detects any DUN services that means your phone is capable to be connected through BT DUN.This will also show you the appropriate channel to use. Make a note of this. - Then type
$hcitool scan
this gives you your phone’s BD address. Make a note of this. - Now bind the Device ID of your phone with the rfcomm device using
Code:(not that you have to be su for binding the device)#rfcomm bind 0 {Device id of your phone} {channel no}
- Make sure the channel is "closed” by issuing
#rfcomm
- Before connecting for the first time we need to pair the devices issuing following commands:
hcitool cc {Device id of your phone}
after the second command there will be a pop up ,have to click that and type the pass key. Remember that u have to type the same pass key in you phone too. You have to issue the two commands again if unpaired(ie if connected to another computer as a modem) {Device id of your phone}
hcitool auth - Now u have to configure your bluetooth modem by editing/creating /etc/wvdial.conf file
type#vi /etc/wvdial.conf
and paste the following[Modem0]
Modem = /dev/rfcomm0
Baud = 230400
SetVolume = 0
DialCommand = ATDT
FlowControl = Hardware(CRTSCTS)
[Dialer GPRS]
Username = 1
Password = 1
Phone = *99***1#
Mode = 1
Inherits = Modem0
[Dialer Defaults]
Modem = /dev/rfcomm0
Baud = 230400
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = *99***1#
Username = a
Password = b - And at last....
type#wvdial GPRS
- If your are connected some thing like this will be displayed on the terminal
--> WvDial: Internet dialer version 1.56
this show you are Connected and do not close the terminal unless you're finished browsing...
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> PPP negotiation detected.
--> Starting pppd at Thu Sep 27 16:14:57 2007
--> Pid of pppd: 15752
--> Using interface ppp0
--> pppd: p [06][08]P
--> [06][08]
--> pppd: p [06][08]P
--> [06][08]
--> pppd: p [06][08]P
--> [06][08]
--> pppd: p [06][08]P
--> [06][08]
--> local IP address 117.97.2.127
--> pppd: p [06][08]P
--> [06][08]
--> remote IP address 10.6.6.6
--> pppd: p [06][08]P
--> [06][08]
--> primary DNS address 202.56.250.5
--> pppd: p [06][08]P
--> [06][08]
--> secondary DNS address 202.56.250.6
--> pppd: p [06][08]P
--> [06][08]