Return-Path: Date: Wed, 4 Jul 2012 09:51:06 +0200 From: Gustavo Padovan To: Steffen Becker Cc: linux-bluetooth@vger.kernel.org Subject: Re: problem with bluez-test Message-ID: <20120704075106.GA21012@joana> References: <4FF35AC4.7010204@tu-ilmenau.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <4FF35AC4.7010204@tu-ilmenau.de> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Steffen, * Steffen Becker [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 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 NAP > Traceback (most recent call last): File "/usr/bin/test-network", > line 45, in 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