linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* problem with bluez-test
@ 2012-07-03 20:49 Steffen Becker
  2012-07-04  7:51 ` Gustavo Padovan
  0 siblings, 1 reply; 3+ messages in thread
From: Steffen Becker @ 2012-07-03 20:49 UTC (permalink / raw)
  To: linux-bluetooth

Hi,
I just installed openSUSE12.1 and bluez and bluez-test on two PC's.
But I can't create a connection between these two PC's even though I 
spend a long time searching the internet.
That's my problem:
I have a USB-Bluetooth3.0-dongle at each PC and I can create a 
connection via
     PC1 # rfcomm listen 0 1
     PC2 # rfcomm -r connect 0 <remote-address> 1

But I can't create a bnep-connection via test-network even though 
NetworkManager runs in the background. What am I doing wrong?
     PC1 # test-network <remote-address> NAP
     Traceback (most recent call last): File "/usr/bin/test-network", 
line 45, in <module> iface = network.Connect(service) File 
"/usr/lib/python2.7/site-packages/dbus/proxies.py", line 68, in __call__ 
return self._proxy_method(*args, **keywords) File 
"/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in 
__call__ **keywords) File 
"/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in 
call_blocking message, timeout) dbus.exceptions.DBusException: 
org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with 
signature "s" on interface "org.bluez.Network" doesn't exist

I believe I use a wrong syntax, do I? There is probably missing some 
kind of "listen"-command at the remote site.
But sadly I don't find any man-page for "test-network".

Hope you can explain a little how i can setup my bnep-connection.

Regards,
Steffen

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem with bluez-test
  2012-07-03 20:49 problem with bluez-test Steffen Becker
@ 2012-07-04  7:51 ` Gustavo Padovan
  2012-08-01 12:02   ` Steffen Becker
  0 siblings, 1 reply; 3+ messages in thread
From: Gustavo Padovan @ 2012-07-04  7:51 UTC (permalink / raw)
  To: Steffen Becker; +Cc: linux-bluetooth

Hi Steffen,

* Steffen Becker <steffen.becker@tu-ilmenau.de> [2012-07-03 22:49:08 +0200]:

> Hi,
> I just installed openSUSE12.1 and bluez and bluez-test on two PC's.
> But I can't create a connection between these two PC's even though I
> spend a long time searching the internet.
> That's my problem:
> I have a USB-Bluetooth3.0-dongle at each PC and I can create a
> connection via
>     PC1 # rfcomm listen 0 1
>     PC2 # rfcomm -r connect 0 <remote-address> 1
> 
> But I can't create a bnep-connection via test-network even though
> NetworkManager runs in the background. What am I doing wrong?
>     PC1 # test-network <remote-address> NAP
>     Traceback (most recent call last): File "/usr/bin/test-network",
> line 45, in <module> iface = network.Connect(service) File
> "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 68, in
> __call__ return self._proxy_method(*args, **keywords) File
> "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in
> __call__ **keywords) File
> "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in
> call_blocking message, timeout) dbus.exceptions.DBusException:
> org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with
> signature "s" on interface "org.bluez.Network" doesn't exist
> 
> I believe I use a wrong syntax, do I? There is probably missing some
> kind of "listen"-command at the remote site.
> But sadly I don't find any man-page for "test-network".

There was a bug in the D-Bus Network interface, try 57170b3 on latest git.

	Gustavo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem with bluez-test
  2012-07-04  7:51 ` Gustavo Padovan
@ 2012-08-01 12:02   ` Steffen Becker
  0 siblings, 0 replies; 3+ messages in thread
From: Steffen Becker @ 2012-08-01 12:02 UTC (permalink / raw)
  To: Gustavo Padovan, linux-bluetooth

Hi Gustavo,

Am 04.07.2012 09:51, schrieb Gustavo Padovan:
> Hi Steffen,
>
> * Steffen Becker <steffen.becker@tu-ilmenau.de> [2012-07-03 22:49:08 +0200]:
>
>> Hi,
>> I just installed openSUSE12.1 and bluez and bluez-test on two PC's.
>> But I can't create a connection between these two PC's even though I
>> spend a long time searching the internet.
>> That's my problem:
>> I have a USB-Bluetooth3.0-dongle at each PC and I can create a
>> connection via
>>      PC1 # rfcomm listen 0 1
>>      PC2 # rfcomm -r connect 0 <remote-address> 1
>>
>> But I can't create a bnep-connection via test-network even though
>> NetworkManager runs in the background. What am I doing wrong?
>>      PC1 # test-network <remote-address> NAP
>>      Traceback (most recent call last): File "/usr/bin/test-network",
>> line 45, in <module> iface = network.Connect(service) File
>> "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 68, in
>> __call__ return self._proxy_method(*args, **keywords) File
>> "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in
>> __call__ **keywords) File
>> "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in
>> call_blocking message, timeout) dbus.exceptions.DBusException:
>> org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with
>> signature "s" on interface "org.bluez.Network" doesn't exist
>>
>> I believe I use a wrong syntax, do I? There is probably missing some
>> kind of "listen"-command at the remote site.
>> But sadly I don't find any man-page for "test-network".
> There was a bug in the D-Bus Network interface, try 57170b3 on latest git.
>
> 	Gustavo
I just installed bluez-4.101 with these changes:
http://gitorious.org/~jdelfes/bluez/jdelfes-bluez/commit/57170b311f1468330f4a9961dc0b3ac45f97bc13
But i still get the same error.
Any ideas?

Regards,
Steffen

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-01 12:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-03 20:49 problem with bluez-test Steffen Becker
2012-07-04  7:51 ` Gustavo Padovan
2012-08-01 12:02   ` Steffen Becker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).