linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Bluez NAP refuses connection if PANU clent has	deleted pairing.
Date: Tue, 20 Jun 2006 11:55:37 +0200	[thread overview]
Message-ID: <1150797337.18381.35.camel@localhost> (raw)
In-Reply-To: <4496DADD.5050208@cormack.org>

Hi Alec,

> I am using openslug 2.7 linux on Linksys NSLU2 server to create a 
> Bluetooth NAP.
> 
> The packages are a bit out of date but they are the latest available for 
> the NSLU2.
> 
> bluez-utils-nodbus - 2.21-r0 -
> kernel-module-bluetooth - 2.6.12.2-r17.4 -
> libbluetooth1 - 2.21-r0 -
> 
> The NAP works perfectly allowing clients to connect, enter the PIN and 
> gain internet access via tle Bluez NAP.  Once clients have paired once 
> they can re-connect without a PIN.
> 
> The problem I get is if a client deletes its pairing but the server 
> still has its pairing in /var/lib/bluetooth/{ADDR}/linkkeys.  Under 
> these circumstances the client is refused access until I delete the 
> pairing on the server - at which point the client is prompted to re-pair 
> and everything then works fine again.
> 
> I assumed there was some combination of settings in hcid.conf that would 
> overcome this (pairing multi looked promising! but made no difference) 
> and I have tried every variation of  settings I can think of. 

you are in security mode 3 (auth and encrypt enabled). Don't do this.
Simply start pand with -A and -E options. You should also update your
bluez-utils to the latest version, because the handling of the link keys
might contain a bug and this is the reason why you see this issue.

Regards

Marcel




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

  reply	other threads:[~2006-06-20  9:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-19 17:11 [Bluez-users] Bluez NAP refuses connection if PANU clent has deleted pairing Alec
2006-06-20  9:55 ` Marcel Holtmann [this message]
     [not found]   ` <4497E167.3020205@cormack.org>
2006-06-20 13:56     ` Marcel Holtmann
2006-06-20 15:02       ` Alec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1150797337.18381.35.camel@localhost \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).