public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Auth failure
@ 2007-11-01 11:18 Mohan Sundaram
  2007-11-01 12:14 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Mohan Sundaram @ 2007-11-01 11:18 UTC (permalink / raw)
  To: BlueZ users

When I try to create a connection with my headset, it fails due to auth.
Key is 0000.

Sniffer Output:
---------------
< HCI Command: Create Connection (0x01|0x0005) plen 13
      bdaddr 00:0B:2E:39:31:3F ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
      Packet type: DM1 DM3 DM5 DH1 DH3 DH5
  > HCI Event: Command Status (0x0f) plen 4
      Create Connection (0x01|0x0005) status 0x00 ncmd 1
  > HCI Event: Link Key Request (0x17) plen 6
      bdaddr 00:0B:2E:39:31:3F
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
      bdaddr 00:0B:2E:39:31:3F key 6A49558AB5A9CD2C856AD475DC632E9C
  > HCI Event: Command Complete (0x0e) plen 10
      Link Key Request Reply (0x01|0x000b) ncmd 1
      status 0x00 bdaddr 00:0B:2E:39:31:3F
  > HCI Event: Connect Complete (0x03) plen 11
      status 0x05 handle 12 bdaddr 00:0B:2E:39:31:3F type ACL encrypt 0x00
      Error: Authentication Failure

See some key value being sent here. How do I decipher the key value? How
do I set the key value? Passkey agent is registered but I do not know
which/where the agent is. Gutsy std.

Any pointers please.

Mohan


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-users] Auth failure
  2007-11-01 11:18 [Bluez-users] Auth failure Mohan Sundaram
@ 2007-11-01 12:14 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2007-11-01 12:14 UTC (permalink / raw)
  To: smohan, BlueZ users

Hi Mohan,

> When I try to create a connection with my headset, it fails due to auth.
> Key is 0000.
> 
> Sniffer Output:
> ---------------
> < HCI Command: Create Connection (0x01|0x0005) plen 13
>       bdaddr 00:0B:2E:39:31:3F ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
>       Packet type: DM1 DM3 DM5 DH1 DH3 DH5
>   > HCI Event: Command Status (0x0f) plen 4
>       Create Connection (0x01|0x0005) status 0x00 ncmd 1
>   > HCI Event: Link Key Request (0x17) plen 6
>       bdaddr 00:0B:2E:39:31:3F
> < HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
>       bdaddr 00:0B:2E:39:31:3F key 6A49558AB5A9CD2C856AD475DC632E9C
>   > HCI Event: Command Complete (0x0e) plen 10
>       Link Key Request Reply (0x01|0x000b) ncmd 1
>       status 0x00 bdaddr 00:0B:2E:39:31:3F
>   > HCI Event: Connect Complete (0x03) plen 11
>       status 0x05 handle 12 bdaddr 00:0B:2E:39:31:3F type ACL encrypt 0x00
>       Error: Authentication Failure
> 
> See some key value being sent here. How do I decipher the key value? How
> do I set the key value? Passkey agent is registered but I do not know
> which/where the agent is. Gutsy std.

the passkey agent has nothing to do with it at this point. It seems you
already paired it before. So use the Bluetooth properties to delete that
bonding or better switch your headset into pairing mode.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-01 12:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-01 11:18 [Bluez-users] Auth failure Mohan Sundaram
2007-11-01 12:14 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox