Results 1 to 3 of 3

Thread: Configuring internet connection via bluetooth cell phone in Ubuntu

  1. #1
    Join Date
    Nov 2009
    Posts
    156

    Configuring internet connection via bluetooth cell phone in Ubuntu

    The Article is about setting up an internet connection on your Ubuntu system considering your Mobile phone as a modem via Bluetooth. Below is the step by step of doing the same:

    Configuration:

    Find the address of the phone bluetooth:
    Open a terminal and type:
    hcitool scan
    You get:
    Scanning ...
    00:0 E: 07:30:6 B: 78 T630
    Search the list of telephone with sdptool:
    Type in a terminal :
    sdptool browse 00:0 e: 07:30:6 b: 78
    Look in the list that appears on Dial-Up Networking (see arrow):
    Browsing 00:0 E: 07:30:6 B: 78 ... Service Name: Dial-up Networking Service <----- RecHandle: 0x10000 Service Class ID List: "Dialup Networking" (0x1103) "Generic Networking" (0x1201 ) Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003) Channel: 1 Profile Descriptor List <----: "Dialup Networking" (0x1103) Version: 0x0100
    Note the channel (Channel, see arrow). within 1

    Problem: On some machines (Samsung SGH-X810), it gives this:
    $ Sdptool 0:16 browse: DB: 2B: 88: A3
    Browsing 0:16: DB: 2B: 88: A3 ...
    Service Search failed: Connection timed out
    Knowing that this model can go on the net with a Nokia, Maemo, there must be another way ...

  2. #2
    Join Date
    Nov 2009
    Posts
    156

    Re: Configuring internet connection via bluetooth cell phone in Ubuntu

    Use:

    Create a matching device on the phone with rfcomm:

    The syntax is:
    rfcomm connect <No device. to create> [address of périph.bluetooth] [channel]
    This gives, for our example, this command, typing in a terminal :
    rfcomm connect 0 00:0 E: 07:30:6 B: 78 1
    You can get close to it:
    Connected / dev/rfcomm0 to 00:0 E: 07:30:6 B: 78 on channel 1
    Press CTRL-C for hangup
    In case of error, replace by rfcomm connect 0 rfcomm connect 1. rfcomm creates the device / dev/rfcomm0 (or / dev/rfcomm1 if you made the error handling in case). This device should be mentioned in the modem settings in the sequel.

    It is possible to use the command rfcomm bind instead of rfcomm connect. The syntax remains the same but it helps to link / dev/rfcomm0 without establishing a permanent connection. The Bluetooth link is established with the phone automatically and only when an application uses / dev/rfcomm0. Furthermore, this approach allows to close with confidence the terminal used to launch the command. Only drawback: you must run this command via sudo, since it requires root privileges to run.

  3. #3
    Join Date
    Nov 2009
    Posts
    156

    Re: Configuring internet connection via bluetooth cell phone in Ubuntu

    Make the rfcomm connection with the phone permanently:

    Once the connection is successfully tested it is possible to make permanent liaison with the phone. To do this you must edit the file / etc / bluetooth / rfcomm.conf and copy the following contents, replacing the address and the channel to your Bluetooth phone:
    rfcomm0 (
    Link # rfcomm0 automatic startup
    bind yes;

    # Bluetooth address of device
    device 00:0 E: 07:30:6 B: 78;

    # RFCOMM channel to use
    channel 1;
    )
    At each startup file / dev/rfcomm0 be linked to your phone. The Bluetooth connection therewith will be set automatically when using / dev/rfcomm0 by gnome-ppp.

Similar Threads

  1. Larger SMS send from internet to cell phone
    By Jugo in forum Portable Devices
    Replies: 4
    Last Post: 31-03-2011, 11:25 AM
  2. Connect to internet on PC using GPRS Cell Phone via Bluetooth
    By spookshow in forum Guides & Tutorials
    Replies: 6
    Last Post: 02-11-2010, 05:36 AM
  3. Connecting to Internet with a WiFi Cell phone
    By Arzaan in forum Tips & Tweaks
    Replies: 5
    Last Post: 08-09-2010, 04:17 AM
  4. Issues configuring ADSL connection For Ubuntu
    By Aarpitt in forum Technology & Internet
    Replies: 3
    Last Post: 07-01-2009, 02:54 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,710,844,981.09846 seconds with 17 queries