You need to follow the steps below to connect to the internet using a
bluetooth connection:

1: Switch on bluetooth on your phone and the computer. Make both your
computer and phone visible to other devices.

2: Do a search from Linux for bluetooth devices near you. For this,
you need to follow as:

Open terminal / shell / console (whatever you call it)
switch to root user using the command ' su'.
pass the command ' hcitool scan '

After sometime you will get the list of devices with their device
address (also called as MAC address) and the device name. . . It will
look something like:

12:12:12:12:12:12 PhoneName

Note down the device address of your phone (it will appear the place
of the 12:12:12:12:12:12 , but in a similar format). You will need to
use it later.

3: Now, you need to find which channel on your phone is assigned to
what service on the phone. For this you will need to browse the device
services. To do this, pass the following command:

sdptool browse 12:12:12:12:12:12

NOTE: Replace 12:12:12:12:12:12 with your phone address.

You will get something like this (I am showing the output I get for my phone):
Code:

Browsing 00:18:13:47:13:BE .
Service Description: Sony Ericsson W810
Service RecHandle: 0x10000
Service Class ID List:
"PnP Information" (0x1200)

Service Name: OBEX SyncML Client
Service RecHandle: 0x10001
Service Class ID List:
UUID 128: 00000002-0000-1000-8000-0002ee000002
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
"OBEX" (0x0008)

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

Service Name: Serial Port
Service RecHandle: 0x10003
Service Class ID List:
"Serial Port" (0x1101)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 3

Service Name: HF Voice Gateway
Service RecHandle: 0x10004
Service Class ID List:
"Handfree Audio Gateway" (0x111f)
"Generic Audio" (0x1203)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 4
Profile Descriptor List:
"Handsfree" (0x111e)
Version: 0x0101

Service Name: HS Voice Gateway
Service RecHandle: 0x10005
Service Class ID List:
"Headset Audio Gateway" (0x1112)
"Generic Audio" (0x1203)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 5
Profile Descriptor List:
"Headset" (0x1108)
Version: 0x0100

Service Name: OBEX Object Push
Service RecHandle: 0x10006
Service Class ID List:
"OBEX Object Push" (0x1105)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 6
"OBEX" (0x0008)
Profile Descriptor List:
"OBEX Object Push" (0x1105)
Version: 0x0100

Service Name: OBEX File Transfer
Service RecHandle: 0x10007
Service Class ID List:
"OBEX File Transfer" (0x1106)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 7
"OBEX" (0x0008)
Profile Descriptor List:
"OBEX File Transfer" (0x1106)
Version: 0x0100

Service Name: OBEX IrMC Sync Server
Service RecHandle: 0x10008
Service Class ID List:
"IrMC Sync" (0x1104)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 8
"OBEX" (0x0008)
Profile Descriptor List:
"IrMC Sync" (0x1104)
Version: 0x0100

Service Name: NAP service
Service Description: NAP description
Service RecHandle: 0x10009
Service Class ID List:
"Network Access Point" (0x1116)
Protocol Descriptor List:
"L2CAP" (0x0100)
PSM: 15
"BNEP" (0x000f)
Version: 0x0100
SEQ8: 0 6
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Network Access Point" (0x1116)
Version: 0x0100

Service Name: Mouse & Keyboard
Service Description: Remote Control
Service Provider: Sony Ericsson
Service RecHandle: 0x1000a
Service Class ID List:
"Human Interface Device" (0x1124)
Protocol Descriptor List:
"L2CAP" (0x0100)
PSM: 17
"HIDP" (0x0011)
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Human Interface Device" (0x1124)
Version: 0x0100



4: We need to see which channel is assigned to the service "Dial Up
networking". Do not be worried by the long output. It is easy to find
it. In the above output (in the code box), search for the lines which
say "Service Name" and fins the one which says "Dial Up networking".
Then follow look through it till you come across another "Service
Name". You can see that in the above output, the block below matches
our requirements:
Quote:

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



In this entry, the channel number is given. We see that the channel is
'2' (as shown by the line Channel : 2).

Note down the channel number. We will need in the next step.

5: Now you have all the required information for the work to be done.
Now you need your computer to recognize the phone as the modem. for
this, pass the following command:
Code:
00:0D:92:23:FC:25
rfcomm bind 0 12:12:12:12:12:12 2



Remember to replace the address 12:12:12:12:12:12 with your device
address and the number '2' at the end with the channel number you will
get for YOUR phone.


> ------------------------------
>
> Message: 2
> Date: Fri, 24 Jul 2009 19:12:10 +0530
> From: Aswin S <techno.as...@gmail.com>
> Subject: Re: [FSUG-TSR] (no subject)
> To: Free Software User Group Thrissur- Discussion list
>       <discuss@lists.fsugtsr.org>
> Message-ID:
>       <43507ec40907240642r144ce6ebob00f92eea169e...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Fri, Jul 24, 2009 at 5:34 PM, Justin OJ <overdrive...@gmail.com> wrote:
>
>> hi,
>>     i hav several doubts regardn ubuntu 8.10 following are those
>> sombdy plss help me
>
>
> 1]pls suggest me any method to access yahoo messenger in ubuntu 8.10 i
>
>> tried         kopete pidgin n all ..nothin workss
>>
>
> Try updating pidgin. If that doesn't work for you, Add this repo and try
> again.
>
>>
>> 2] any softwares to access nokia phone..except d way usin wine..i
>> tried gammu n all it too doesnt workss
>
>
> If you want to use your phone to connect to the Internet, it didn't work for
> me in 8.10, but works well in 9.04.
>
>>
>>
>> --
>> Justin OJ<overdrive...@gmail.com>
>> _______________________________________________
>> Discuss mailing list
>> Discuss@lists.fsugtsr.org
>> http://lists.fsugtsr.org/mailman/listinfo/discuss
_______________________________________________
Discuss mailing list
Discuss@lists.fsugtsr.org
http://lists.fsugtsr.org/mailman/listinfo/discuss

Reply via email to