public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] pand Connection failed. Permission denied(13) BlueZ 3.28
@ 2008-04-03  8:32 李田
  2008-04-03 12:58 ` Laurent BARBIER
  0 siblings, 1 reply; 3+ messages in thread
From: 李田 @ 2008-04-03  8:32 UTC (permalink / raw)
  To: bluez-users


[-- Attachment #1.1: Type: text/plain, Size: 2295 bytes --]

Hello,guys:

I use the newest 3.28 version of BlueZ and two bluetooth devices to setup
the PAN  network on two different Linux box.

the SERVER side running dbus-daemon,hcid and pand daemon like that:

 8180 ?        Ss     0:00 /sbin/hcid -s -f /etc/bluetooth/hcid.conf
 8183 ?        S      0:00 /lib/bluetooth/bluetoothd-service-input
 8184 ?        S      0:00 /lib/bluetooth/bluetoothd-service-network
 8185 ?        S      0:00 /lib/bluetooth/bluetoothd-service-serial
 8189 ?        Ss     0:00 pand --listen --master --role NAP --ethernet
bnep0 --device 00:A0:B0:E0:48:25


and then,the CLIENT side run in a simple way like this:
pand --connect 00:A0:B0:E0:48:25

the ERROR is :  pand[8191]: Connection failed. Permission denied(13)

the sys LOG is list below:

Apr  3 17:15:05 bip313 hcid[8180]: Bluetooth HCI daemon
Apr  3 17:15:05 bip313 hcid[8180]: HCI dev 0 registered
Apr  3 17:15:05 bip313 hcid[8180]: HCI dev 0 already up
Apr  3 17:15:05 bip313 hcid[8180]: Device hci0 has been added
Apr  3 17:15:05 bip313 hcid[8180]: Starting security manager 0
Apr  3 17:15:05 bip313 hcid[8180]: Device hci0 has been activated
Apr  3 17:15:05 bip313 hcid[8180]: Starting SDP server
Apr  3 17:15:05 bip313 hcid[8180]: Created local server at
unix:abstract=/var/run/dbus-BBAibFkMvI,guid=a5abffc66b1d327133d76e3847f49209
Apr  3 17:15:05 bip313 input[8183]: Bluetooth Input daemon
Apr  3 17:15:05 bip313 input[8183]: Registered input manager
path:/org/bluez/input
Apr  3 17:15:05 bip313 network[8184]: Bluetooth Network daemon
Apr  3 17:15:05 bip313 serial[8185]: Bluetooth Serial Port daemon
Apr  3 17:15:05 bip313 serial[8185]: Registered manager
path:/org/bluez/serial
Apr  3 17:15:05 bip313 network[8184]: Registered manager
path:/org/bluez/network
Apr  3 17:15:05 bip313 network[8184]: Registered server
path:/org/bluez/network/nap
Apr  3 17:15:05 bip313 network[8184]: Registered server
path:/org/bluez/network/gn
Apr  3 17:15:05 bip313 network[8184]: Registered server
path:/org/bluez/network/panu
Apr  3 17:17:33 bip313 pand[8189]: Bluetooth PAN daemon version 3.28
Apr  3 17:18:16 bip313 pand[8191]: Connection failed. Permission denied(13)

Please give me some idea, or I'm going to look into the souce code of
bnep_accept_connection to try to find what has happened.

Thanks ,everyone.

[-- Attachment #1.2: Type: text/html, Size: 2869 bytes --]

[-- Attachment #2: Type: text/plain, Size: 278 bytes --]

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2008-04-03 22:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-03  8:32 [Bluez-users] pand Connection failed. Permission denied(13) BlueZ 3.28 李田
2008-04-03 12:58 ` Laurent BARBIER
2008-04-03 22:23   ` Claudio Takahasi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox