problem with bluez-test
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
Hi Steffen,
Quoted 24 lines · Steffen Becker
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> 1But 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__returnself._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, incall_blockingmessage, timeout) dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with signature "s" on interface "org.bluez.Network" doesn't exist
Quoted 3 lines
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
Hi Gustavo,
Am 04.07.2012 09:51, schrieb Gustavo Padovan:
Quoted 28 lines
Hi Steffen,
Quoted 24 lines · Steffen Becker
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> 1But 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__returnself._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, incall_blockingmessage, timeout) dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with signature "s" on interface "org.bluez.Network" doesn't exist
Quoted 6 lines
Quoted 3 lines
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