Connect to the Internet using LG KU250 3G Mobile Phone via Bluetooth

Monday, October 27, 2008 by Admin · 4 comments

I use my LG KU250 to connect to the internet using a USB cable. But this time I wanted to try connecting via Bluetooth. I googled for instruction on doing this and I found this blog post from Tony Seno. I was able to connect to the Internet with a little tweaks so as to make it work with my phone, ubuntu hardy heron and Globe Telecom my network provider.

Required Software
Already installed in Ubuntu Hardy Heron : bluetooth & wvdial
Additional : gnome-ppp
install via menu
goto applications > add/remove... > search for GNOME PPP
install via command line

sudo apt-get install gnome-ppp


Pairing with LG KU250
sudo gedit /etc/bluetooth/hcid.conf
change on options : set security auto

Restart Bluetooth
sudo /etc/init.d/bluetooth restart

Pair with LG KU250
discover LG KU250 MAC address :
hcitool scan
00:1C:62:43:18:AD    1Ijack

or go to your phone menu select Connectivity > Bluetooth > Settings > My Address > My Bluetooth address : 00:1C:62:43:18:AD

Discover channel number
sdptool browse 00:1C:62:43:18:AD

Service Name: LG Dial-up Networking��
Service RecHandle: 0x10005
Service Class ID List:
  "Dialup Networking" (0x1103)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 8 <-- Channel number for LG Dial-up Networking


Edit rfcomm.conf
sudo gedit /etc/bluetooth/rfcomm.conf

#
# RFCOMM configuration file.
#

rfcomm0 {
#    # Automatically bind the device at startup
    bind yes;
#
#    # Bluetooth address of the device
    device 00:1C:62:43:18:AD;
#
#    # RFCOMM channel for the connection
    channel    8;
#
#    # Description of the connection
    comment "LG Ku250 Bluetooth PPP";
}

Restart and Check Bluetooth
sudo /etc/init.d/bluetooth restart

rfcomm
rfcomm0: 00:1C:62:43:18:AD channel 8  clean

Connect using GNOME-PPP
sudo gnome-ppp

just to be sure select setup, under modem tab make sure the device is set for /dev/rfcomm0

I'm not sure if selecting a modem type is of any help but i just select USB Modem

since username and password are disregarded by my network provider(Globe Telecom) i just put periods (.) in the field.
username : .
password : .
phone number : *99***1#

Complete configuration of wvdial.conf
sudo gedit /etc/wvdial.conf

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,”IP”,”http.globe.com.ph”
Modem Type = USB Modem
ISDN = 0
Phone = *99***1#
New PPPD = yes
Modem = /dev/rfcomm0
Username = .
Password = .
Baud = 460800
Idle Seconds = 3000
Auto DNS = 1
Stupid Mode = 1
Compuserve = 0
Baud = 460800
Dial Command = ATD
Ask Password = 0
FlowControl = NOFLOW


[source: http://tonyseno.blogspot.com/ ]

comments

4 Responses to "Connect to the Internet using LG KU250 3G Mobile Phone via Bluetooth"
Anonymous said...
12:30 PM

Nice Post but u miss one step in rfcomm

before type "rfcomm" in terminal the user must type "rfcomm bind 0 00:1C:62:43:18:AD 8" to register the bluetooth device in rfcomm ('0' is mean the port of rfcomm and '8' is the channel of KU250) and press enter, then you can type "rfcomm" to display "rfcomm0: 00:1C:62:43:18:AD channel 8 clean"

The parameter of Init3 (in wvdial.conf) is depend on Network Provider. Maybe the user can check in the internet or ask it to the provider

Thank you


Admin said...
12:47 AM

Thanks for the comment Danu. The binding of bluetooth device to rfcomm is already done by editing rfcomm.conf;

sudo gedit /etc/bluetooth/rfcomm.conf

#
# RFCOMM configuration file.
#

rfcomm0 {
# # Automatically bind the device at startup
bind yes;
#
# # Bluetooth address of the device
device 00:1C:62:43:18:AD;
#
# # RFCOMM channel for the connection
channel 8;
#
# # Description of the connection
comment "LG Ku250 Bluetooth PPP";
}


Anonymous said...
9:33 AM

but it doesn't work in all situation (at least in my notebook and in my friend's) so after edit rfcomm.conf I must type "rfcomm bind 0 00:1C:62:43:18:AD 8"
would you like to tell me what's wrong with my notebook or some reason which explain why the binding is not succesful when I'm done with editing the rfcomm.conf


Anonymous said...
8:52 PM

me i know the easiest way of openning my internet using my ku250?


Post a Comment