Ok, lets go to the common mistakes, the most important thing is to bond your mobile phone and the computer/laptop using bluetooth first, this is done in linux mostly by Bluetooth Applet ( A Bluetooth manager for the GNOME desktop) created by marcel holtmann, you can manage to add and conecting the device (creating truste/bonded device, manage your pin-pairing things).
Then the common mistakes happen when you all need to create a channel for Dial Up Networking service between your mobile phone (modem) and the computer/laptop using "rfcomm"command, I realize it again when i looked back my two 2005 article again (the article and the script).
Yes, i made that "1" (also the default DUN channel for rfcomm) as a sample channel that your phone support for DUN, i`ve already explain in the article also, but somehow i forgot to mention it, sorry... (damn, it took me three years to look back and tell about this)
root@hogwarts:~ # hcitool scanSo, to find your own channel just query your mobile phone and find the channel supported for DUN (Dial Up Networking) e.g using this command if you sure only your mobile phone within your range :)
Scanning ...
00:0A:D9:49:B6:8B P900
/*dont be suprise , i just named my phone (t68i) with P900 , heheh */
/*use sdptool to provides the interface for performing SDP queries on Bluetooth devices, and administering a local sdpd.*/
root@hogwarts:~ # sdptool search DUN
Inquiring ...
Searching for DUN on 00:0A:D9:49:B6:8B ...
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
taken from "configuring your gprs for fun n profit" article
ammar@venom ~/Desktop $ sdptool search DUNor you can use a specific command to your mobile phone using "sdptool browse 00:1E:CC:DD:01:02" and find the DUN section. This is my "claymore" DUN channel (2) a Sony ericsson K 530i mobile phone. So, after you get your own channel, change the rfcomm command to use the channel number, then executed your dial-up connection application (which is my wvdial for me).
Inquiring ...
Searching for DUN on 00:1E:CC:DD:01:02 ...
Service Name: Dial-up Networking
Service RecHandle: 0x10002
Service Class ID List:
"Dialup Networking" (0x1103)
"Generic Networking" (0x1201)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 2
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0100
e.g : "sudo rfcomm bind 0 00:1E:CC:DD:01:02 2"
then "sudo wvdial your-isp"
Thats all folk, hope it helps, not so l33t but its often make you mad and leave the blueetooth unused :)
thx for sharing bos :)
ReplyDeleteUr welcome :)
ReplyDeletethanks..it works with my palm and gentoo (beginner mode on), mas..
ReplyDeletehappy lovely couple and puasa ya.. :)
@dani: hehehe, ur welcome, wow another gento user :), iyah makasih yah :)
ReplyDeletejofant:
ReplyDeletesalam kenal dari newbie ubuntu,
mau minta tolong,
saya baru beli mini laptop LG x110 http://ae.lge.com/products/model/detail/x110.jhtml , setelah saya install ubuntu 8.10 semua berjalan normal dan gak ada masalah sampai akhirnya ada new update, saya update all complite dan minta resrtart, setelah restart ini masalah nya: wired nya jadi tidak bisa konek begitu pula dgn 3g nya tidak bisa kedeteksi dan tidak ada configure nya…….. mohon bantuannya…………