All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Trudel <mtrudel@gmx.ch>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] /etc/bluetooth/pin
Date: Thu, 28 Apr 2005 10:43:53 +0200	[thread overview]
Message-ID: <4270A249.20907@gmx.ch> (raw)
In-Reply-To: <2621d9af05042711245fa28aa9@mail.gmail.com>

N. I. wrote:
> My device uses the fault pin as 1234.
> I want to change it to something else, e.g. 55113.
> 
> What I did was to modify the /etc/bluetooth/pin file to have the
> content only of 55113.
> My pin_helper has something like:
> 
> #!/bin/sh
> echo "PIN:"$(cat /etc/bluetooth/pin)
> 
> When I try to use l2ping to other device, my initiating l2ping device
> fails right away with message: "Can't connect.: Permission denied"

Is the l2ping performed on the host with the described pin setup?
Please do a hcidump to see what really happens...

I think the remote device asks for a pin, you supply 55113 and it fails 
because the remote device expects another one. but withhout a hcidump it's 
not possible to know...

> Is there anything missing that I can do in order for "NOT" using the
> default pin?

actually what you described above is doing exactly that. incoming and 
outgoing connections use now 55113. the only thing you might check is if 
hcid.conf points to the correct pin_helper application. the rest looks fine...

regards
Marco


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2005-04-28  8:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-27 18:24 [Bluez-users] /etc/bluetooth/pin N. I.
2005-04-28  8:43 ` Marco Trudel [this message]

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=4270A249.20907@gmx.ch \
    --to=mtrudel@gmx.ch \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.