Anda di halaman 1dari 1

Connecting to Airtel 3g mobile with bluetooth using

Ubuntu / Linux Mint


By tejus on 05 March 2011
Internet from airtel 3g, from a mobile can be shared easily through bluetooth if you are using Ubuntu/Linux
mint. The steps are given below:

1) Pair the bluetooth mobile that you intend to use with your computer.
2) Open a terminal in ubuntu and type in the following commands:
1. hcitool scan

You will get something similiar to the following:


1. Scanning ...
2. AC:9A:5F:43:D1:86 Nokia N900
Next search for DUN (Dial Up Networking) using the following command:
1. sdptool search dun
Now you should get an output similiar to the following:
1. Inquiring ...
2. Searching for dun on AC:9A:5F:43:D1:86 ...
3. Service Name: Dial-Up Networking
4. Service RecHandle: 0x10005
5. Service Class ID List:
6. "Dialup Networking" (0x1103)
7. "Generic Networking" (0x1201)
8. Protocol Descriptor List:
9. "L2CAP" (0x0100)
10. "RFCOMM" (0x0003)
11. Channel: 1
12. Profile Descriptor List:
13. "Dialup Networking" (0x1103)
14. Version: 0x0100
Next we will check if it is possible to bind to the bluetooth address, for that execute the following command:
1. rfcomm bind 0 AC:9A:5F:43:D1:86
If you get an output like
1. Can't create device: Address already in use

then restart the bluetooth services in the Computer as well as the Mobile and try again. Now you should get something
similiar to the following
1. rfcomm0: AC:9A:5F:43:D1:86 channel 1 clean
Now we have to make an entry in the "rfcomm.conf" file. Open the file using the command "sudo gedit
/etc/bluetooth/rfcomm.conf " and add the following entries in the file and save it:
1. rfcomm0 {
2. bind yes;
3. device AC:9A:5F:43:D1:86;
4. channel 1;
5. comment “Tejus N900“;
6. }
Now we have to make an entry in the "wvdial.conf" file. Open the file using the command "sudo gedit
/etc/wvdial.conf" and add the following entries in the file and save it:
1. [Dialer airtelbt]
2. Modem = /dev/rfcomm0
3. Init1 = AT+CGDCONT=1,"IP","airtelgprs.com","",0,0
4. Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
5. stupid mode = 1
6. Modem Type = Analog Modem
7. Baud = 460800
8. New PPPD = yes
9. ISDN = 0
10. Phone = *99#
11. Password = a
12. Username = a
Now run the following command:
1. wvdial airtelbt

Anda mungkin juga menyukai