1. Hit Alt+F2, type
xtermand press enter.
2. Then jump into root mode by typing
sudo -sand entering the root password when prompted.
3. Turn on the bluetooth on your phone and the notebook/PC and type
hcitool scanand hit the enter.
4. Your notebook will search for bluetooth devices in range. And it will respond with your phone's MAC address and name. Now use this command to search the Dial Up Networking channel on your phone
sdptool search --bdaddr <your phone's MAC address here> DUN
sdptool search --bdaddr 00:1B:3C:4D:5E:6F DUN
5. You'll get a response of around 10 lines. Search for the channel number in it. For my SE P1i it was channel 7. On a Nokia6681 it was on channel 3.
6. Now use this command to create a bluetooth modem
rfcomm bind /dev/rfcomm0 <phone's MAC address> <DUN channel>
rfcomm bind /dev/rfcomm0 00:1B:3C:4D:5E:6F 7
You may be prompted by the PC to pair device. Do so by entering same BT pin in ur PC and phone.
7. Now configure your wvdial.conf file as follows.
Append the following text below any existing settings in the file that opens up.
Modem = /dev/rfcomm0
Phone = *99#
Username = 919815098150
Password = 12345
New PPPD = Yes
Init1 = AT+CGDCONT=1,"ip","airtelgprs.com"
Note that the above setting varies depending on your operator. But you just need to change the username, password and access point(airtelgprs.com) to your operator specific.
8. Now to connect to net just type
wvdial bton terminal and press enter. Allow your phone to connect when prompted.
After a reboot, if you need to connect then perform only steps 6 and 8.