Internet through phone on Linux - Part 2  

Posted by Tarek in , , ,

Continuing the last tutorial, how to connect Linux to the Internet through your mobile phone via USB, this part shows you how to do it via Bluetooth. I like Bluetooth and use it all the time. I prefer wireless connectivity in general, even if it drains mobile battery fast.


Bluetooth:

  1. Make sure you have Bluetooth utilities installed. Type in Terminal: sudo apt-get install bluez-gnome bluez-utils
  2. Now we need to find the Bluetooth address of your phone. You can find it either from the phone (*#2820# for Nokia) or by hcitool scan in Terminal
  3. Now to find locate the channel used for Dial up networking for your phone, type  sdptool browse 00:12:D2:0A:XX:YY replacing with the address from step 2
  4. Some info will be displayed, scroll until you find Service Name: Dial-Up Networking, the look for channel number below it. Usually it's 2 for Nokia.
    1. This channel number will be used to configure Bluetooth connection. Open /etc/bluetooth/rfcomm.conf with your favorite editor and match this configuration: rfcomm.conf:
      rfcomm0 {
      bind yes;
      device 00:12:D2:0A:XX:YY;
      channel 2;
      comment "Dial-up networking";
      } replacing the blue address with your phone's bluetooth address obtained in step 2
  5.  Restart Bluetooth services: sudo /etc/init.d/bluetooth restart
  6.  Follow step 6 in USB connection, replacing device name with /dev/rfcomm0
  7. wvdial any time and you're in ;)
Tip: You can setup multiple connection in the wvdial.conf file. Just add [Dialer name] where name is the configuration name on top of every config. To use a certain configuration, use wvdial name, instead of just wvdial.

Enjoy ;)

Thanks to: Ubuntu Community

This entry was posted on Monday, July 28, 2008 at Monday, July 28, 2008 and is filed under , , , . You can follow any responses to this entry through the comments feed .

0 comments

Post a Comment

Post a Comment