2010-11-08 07:01:51

by elroy

[permalink] [raw]
Subject: Ubuntu 10.04 - BlueZ 4.60 - Console-only BlueZ setup

Hi.

I'm trying to setup a Ubuntu 10.04 Server with a BT USB adapter to be
able to connect and send/receive files from a cellphone.


I am trying to do this setup via standard bash shell console only.

The problem I seem to be running into, is unlike the version of BlueZ in
Ubuntu 7.04, I cannot access MAN pages for BlueZ config files
(main.conf/etc), and am struggling to find anything that resembles
orderly documentation on the 'Net.

So far, I can get this:



bluetoothd8643?: pin_code_request (sba=00:10:60:32:3A:93,
dba=00:18:0F:DE:98:8D)
bluetoothd8643?: No agent available for 0 request


It appears as though I need some form of D-Bus software to communicate
to BlueZ through - this seems to require a GUI - is there any other
simpler way to do the Pairing/Config via xxx.conf files without having
to revert back to bluez-compat?


I have been documenting my progress so far, to try to aid others
following my path - this may be useful to elaborate on what I am doing
and have achieved so far.


Regards,

Elroy Liddington.


2010-11-10 08:11:27

by elroy

[permalink] [raw]
Subject: Re: Ubuntu 10.04 - BlueZ 4.60 - Console-only BlueZ setup



José Antonio Santos Cadenas wrote:
> Hi Elroy,
>
>
>
> Did you try simple-agent? It is a python scrypt in the bluez
> test/folder that doesn't require any gui. I don't if Ubuntu installs it,
> but if you download the source code from the web page or the git repo
> you will find it. Probably with this agent you will be able to pair your
> cell phone.
>
>
>>
>>I have been documenting my progress so far, to try to aid others
>>following my path - this may be useful to elaborate on what I am doing
>>and have achieved so far.
>>
>>
>>Regards,
>>
>>Elroy Liddington.



Cheers Jose.


I'll add this gem to the page I'm documenting this on.

Looks like those other scripts would be useful too.


How would I be able to help in regards to knocking up a basic BlueZ MAN
page etc so that others could at least be pointed in the right direction
on where to go for help/docs?


Regards,

Elroy Liddington.


Subject: Re: Ubuntu 10.04 - BlueZ 4.60 - Console-only BlueZ setup


Hi Elroy,

On Mon, 08 Nov 2010 20:01:51 +1300, elroy <[email protected]> wrote:
> Hi.
>
> I'm trying to setup a Ubuntu 10.04 Server with a BT USB adapter to be
> able to connect and send/receive files from a cellphone.
>
>
> I am trying to do this setup via standard bash shell console only.
>
> The problem I seem to be running into, is unlike the version of BlueZ
> in Ubuntu 7.04, I cannot access MAN pages for BlueZ config files
> (main.conf/etc), and am struggling to find anything that resembles
> orderly documentation on the 'Net.
>
> So far, I can get this:
>
>
>
> bluetoothd8643?: pin_code_request (sba=00:10:60:32:3A:93,
> dba=00:18:0F:DE:98:8D)
> bluetoothd8643?: No agent available for 0 request
>
>
> It appears as though I need some form of D-Bus software to
> communicate to BlueZ through - this seems to require a GUI - is there
> any other simpler way to do the Pairing/Config via xxx.conf files
> without having to revert back to bluez-compat?

Did you try simple-agent? It is a python scrypt in the bluez
test/folder that doesn't require any gui. I don't if Ubuntu installs it,
but if you download the source code from the web page or the git repo
you will find it. Probably with this agent you will be able to pair your
cell phone.

>
>
> I have been documenting my progress so far, to try to aid others
> following my path - this may be useful to elaborate on what I am doing
> and have achieved so far.
>
>
> Regards,
>
> Elroy Liddington.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html