How to connect to the Internet using Bluetooth Cellphone on Ubuntu

Cellphone that has Bluetooth and modem capability can be used as a dial up modem that will make you could access the Internet. Below are steps you have to do:

  1. First, install ‘bluez-gnome’ you could install it via Synaptic

    System > Administration > Synaptic.
    
  2. Install the gnome-ppp.
  3. Plug your bluetooth, wait until the Bluetooth icon appears on the Tray.
  4. Activate your cellphone’s bluetooth then do pairing first.

Check whether the bluetooth already recognized or not by clicking

lsusb | grep Bluetooth

Bus 002 Device 002: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter

Activate the bluetooth then scan it from your computer.

hcitool scan
Scanning ...00:1A:75:B3:04:C5 Dayat-Phone.

choose the cellphone’s channel to edit.

sdptoop search DUN
Inquiring ...Searching for DUN on 00:1A:75:B3:04:C5 ...Service Name: Dial-up NetworkingService RecHandle: 0x10002Service Class ID List:"Dialup Networking" (0x1103)"Generic Networking" (0x1201)Protocol Descriptor List:"L2CAP" (0x0100)"RFCOMM" (0x0003)Channel: 2Profile Descriptor List:"Dialup Networking" (0x1103)Version: 0x0100

Edit the rfcomm.conf to make it fits the scanning result.

sudo gedit /etc/bluetooth/rfcomm.conf

Edit the file so it looks like this

rfcomm0 {bind yes;device 00:1A:75:B3:04:C5;channel 2;comment ?Bluetooth Modem?;}

Do binding first, by executing:

sudo rfcomm bind 0 00:1A:75:B3:04:C5 2

Check binding’s result:

rfcomm
rfcomm0: 00:1A:75:B3:04:C5 channel 1 clean

Edit the wvdial.conf

sudo gedit /etc/wvdial.conf

Edit it to make it match the description of your ISP

[Dialer Defaults]

Modem = /dev/rfcomm0

Baud = 56700

Init1 = AT

Init2= AT&FE0V1&D2&C1S0=0

Phone = dial_number

Username = your_username

Password = your_password

Stuppid Mode = yes

Start the connection, you could use wvdial or gnome-ppp.

Tags: , , ,

Google
 

Leave a Reply

1,343 views