Author Topic: Bluetooth PAN trouble Permission denied (13)  (Read 5173 times)

Anonymous

  • Guest
Bluetooth PAN trouble Permission denied (13)
« on: March 05, 2004, 12:27:50 pm »
Hi,

Ive gotten a lot of great help by reading on this forum but ive come to a problem I cant find anything about.  I am a newbie to linux but have some experience with it and have lots of experience with computers otherwise.  I recently got  a Zaurus 5500 and a bluetooth CF card (the ambicom BT2000E, I know only certain revisions work).  Im trying to set up a PAN using the BlueZ stack and the guide on http://www.jens-koenen.de/zaurus_pan.html .  On my desktop im running WinXP Pro and am trying to connect to my bluetooth USB dongle.  When I do an hcitool scan the Z detects the bluetooth dongle and its MAC address, and when I scan for available devices via windows it finds the CF card and gets its MAC also.  However when I either try to use the command line connect  pand --role PANU --service NAP --connect xx:xx:xx:xx:xx:xx --nodetach  I get the error \"connect to xx:xx:xx:xx:xx:xx failed. Permission denied (13).   When I try to just use the Z network connection, I get a similar problem, it seems to start to connect then says  \"Cennection Setup Error - No Connection detected - Check your TCP/IP settings\".  Im at a lose.  I assume its a problem with how XP is configured... but I cant for the life of me figure it out.  Oh and I have a file sharing working on my XP box with my apartment LAN if that matters.  Anyway, any help would be greatly appreciated.

Thanks in advance,
Erik

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Bluetooth PAN trouble Permission denied (13)
« Reply #1 on: March 05, 2004, 01:26:39 pm »
Try to manualy pair your desktop and zaurus from WinXP box. Then select zaurus properties and select a check box at Network Access optino.

Anonymous

  • Guest
Bluetooth PAN trouble Permission denied (13)
« Reply #2 on: March 05, 2004, 02:02:28 pm »
Thanks for the response.  I have already paired the Z with my XP box, its listed as such when I list the devices in range.  And I already have checked the box on the zaurus to give it network access.

Any other ideas?
 :?:

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Bluetooth PAN trouble Permission denied (13)
« Reply #3 on: March 05, 2004, 04:22:41 pm »
Try to reboot you XP machine. I think it\'s glitch at windows drivers side.

datajerk

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • http://
Bluetooth PAN trouble Permission denied (13)
« Reply #4 on: March 08, 2004, 06:14:37 pm »
I have a the same problem.  A sdptool browse lists no NAP service on XP.  Any ideas how to enable/add?

datajerk

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • http://
Bluetooth PAN trouble Permission denied (13)
« Reply #5 on: March 08, 2004, 10:04:13 pm »
NAP to be native in XP with SP2.

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Bluetooth PAN trouble Permission denied (13)
« Reply #6 on: March 10, 2004, 06:19:18 am »
NAP should be supported by the bluetooth drivers on your PC. If not, update the drivers for your bluetooth device.

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Bluetooth PAN trouble Permission denied (13)
« Reply #7 on: March 10, 2004, 06:29:24 am »
It is possible that the Bluetooth dongle on the PC doesn\'t physically support the NAP profile.

As for enabling stuff on the Windows, the manuals that came with the drivers are the best source of that information.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

Anonymous

  • Guest
Bluetooth PAN trouble Permission denied (13)
« Reply #8 on: March 10, 2004, 06:55:19 am »
Hi,

I\'ve had this problem as well (using Win2K and a TDK systems USB bluetooth dongle). In my case, the problem was that the TDK software only allows authenticated connections, and was solved by editing /etc/bluetooth/hcid.conf to contain:
Code: [Select]
       auth enable;

(look near the end of hcid.conf). This means that when the Z tries to connect, a window pops up on the PC that allows me to accept or refuse the connection (different BT software on the PC may have different ways of specifying this).

Other things to look at:

Make sure that only one of your PC and Z try to become a PAN master (look for \"Default link mode\" in /etc/bluetooth/hcid.conf, and try editing this according to the comments there).

The NAP service may introduce other complications due to sharing internet connections etc. To get the Z <-> PC end of things working, try using \"--service GN\" instead (this still allows you to connect between the PC and the Z; in fact I am doing this to telnet into my Z over Bluetooth and browse its files right now).

Good luck,
P.

pakman

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Bluetooth PAN trouble Permission denied (13)
« Reply #9 on: March 10, 2004, 06:58:04 am »
Aaaaargh - that last post was me - forgot to login......
Now: Gemini 4G/Android. Previously: Zaurus C760/Cacko lite 1.23

lami

  • Newbie
  • *
  • Posts: 1
    • View Profile
Bluetooth PAN trouble Permission denied (13)
« Reply #10 on: May 25, 2005, 07:21:58 pm »
Be sure you are executing command as root, I had same problem but was running it as zaurus user (cacko rom 1.22a)

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Bluetooth PAN trouble Permission denied (13)
« Reply #11 on: May 26, 2005, 06:16:41 am »
when you've changed hcid.conf, you'll need to eject and reinsert the card ("cardctl eject", "cardctl insert")... or even reboot the Z.

another thing I found what that both the PC and Z wanted to be master of the link, so set the option lm to be just "lm accept" on both ends, and set the option "lp rswitch" too.

Paul
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
Bluetooth PAN trouble Permission denied (13)
« Reply #12 on: May 26, 2005, 07:09:59 am »
Had this same problem last year with my 5500 PAN ing to my XPsp1 box with a Belkin USB bluetooth card.  after much frustration I found that ther was no PAN profile on the Belkin dongle so no way to connect.  I eventualy got things going by using a combination of PPP to the XP box.  a freeware proxy on XP + ICM + the serial network adapter from XP.  The tread seems to have been archived

I then bought a new BT adapter for my XP box whth PAN and all worked fine.
« Last Edit: May 26, 2005, 07:11:01 am by craigtyson »
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....