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/ ]
No comments:
Post a Comment