Wednesday, 21 August 2013

Connect To Internet via Bluetooth in LINUX

Steps To Connect Internet Via Bluetooth:
1. Use the bluetooth-applet to setup your phone if it is not yet paired with your PC. Alternatively you can do this via the terminal
$ bluetooth-applet
and then follow the on – screen instructions.
2. Once done setting up your phone, do the following in the terminal to know your mobile phone’s bluetooth address
$ hcitool scan
In my system, it shows something like this
Scanning …
00:1D:98:78:A2:A1    Nokia 5310 XpressMusic
00:1D:98:78:A2:A1 is the bluetooth address of my mobile phone. Yours will be of similar type.
3. Now as root, do the following
#rfcomm connect rfcomm0 <bluetooth address> 1
Keep this process running
4. Open System->Administration->Network, select New, then select Modem Connection, and enter the following values for the respective field
Modem Device:    /dev/rfcomm0
Baud Rate: 460800
this is the safe limit for most Nokia phones, may vary for different phones.
Then click Forward. Then fill in the requisite details, then click Forward, and accept the default settings, like automatically obtaining IP Address and DNS Information from provider. Then select Apply. And then click on File-> Save to save your new settings.
Then click the Activate button for the modem connection just set up, and enjoy.
4. Every time, you want to connect to the Internet, before activating the connection via Network, you have to connect your phone as a bluetooth modem as in step 3 .
Hope to see a new GUI dedicated to setting up bluetooth internet connection in Linux soon.

0 comments:

Post a Comment