Re: pand Connection failed. Permission denied(13) BlueZ 3.28

Laurent BARBIER <[email protected]>
Newsgroups gmane.linux.bluez.user
Message-ID <[email protected]>
root ?

李田 a écrit :
> 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.
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>   


-------------------------------------------------------------------------
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
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.