Ticket #764 (closed defect: worksforme)

Opened 9 years ago

Last modified 8 years ago

initiating a PAN using pand gets "Permission denied (13)"

Reported by: hndispatch-hhf423@… Owned by: openmoko-devel
Priority: high Milestone:
Component: bluez Version:
Severity: normal Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible:

Description

This command
pand -c <laptop_bt_address> -r PANU -d NAP -e bnep0 -A -E -S -n
should initiate a PAN to a Windows XP system. It works vice versa (see wiki
URL), but if initiated from OpenMoko?, it gets error 13, permission denied. This
has probably to do with rights to a device or path or file on OpenMoko?, but how
to find out?

I'd be happy to test if you have suggestions what to test.

Change History

comment:1 Changed 9 years ago by marcel@…

Install bluez-hcidump and run "hcidump -X -V" to see where this command actually
fails.

comment:2 Changed 9 years ago by hndispatch-hhf423@…

I have installed hcidump (thanks to ScaredyCat? who put it in his repository)

For some reason, I am not getting "Permission denied(13)" anymore, but
"Connection refused(111).

Looking into the hcidump, the error there is "Connection refused - PSM not
supported"

Does that help?

comment:3 Changed 9 years ago by marcel@…

That means that no PAN server is running on the remote device.

comment:4 Changed 9 years ago by cwixon@…

I messed around with the WIDCOMM bluetooth stack on XP and wasn't able to get a
successful connection at all. However, with the Microsoft stack, I could set up
the Neo as a PAN host:

pand -s -M -r NAP

And successfully connect to it via XP's "Join a Personal Area Network" (accessed
via the BT tray icon). And the XP machine's ethernet connection can be shared
this way.

Obviously initiating the connection from the XP machine each time is not ideal.

comment:5 Changed 9 years ago by marcel@…

As I said before, without "hcidump -X -Y", I can't tell really much. However the
usage of pand is deprecated in favor of the D-Bus enabled network service.

comment:6 Changed 9 years ago by willie_chen@…

  • Owner changed from marcel@… to michael@…

comment:7 Changed 9 years ago by roh

  • Owner changed from michael@… to michael

comment:8 Changed 8 years ago by john_lee

  • Status changed from new to assigned
  • Owner changed from michael to openmoko-devel
  • HasPatchForReview unset
  • Version 2007.2 deleted

Reassign bluetooth related tickets to openmoko-devel now. We might look into these later.

comment:9 Changed 8 years ago by tick

  • Status changed from assigned to closed
  • Resolution set to worksforme

Oh... I connect with neo with pand happily.

I think this issues is no longer exists.

Note: See TracTickets for help on using tickets.