LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 02-15-2013, 03:30 AM   #1
castalla2007
Member
 
Registered: Nov 2007
Posts: 88

Rep: Reputation: 15
Bluetooth pairing Authorization Failed


I'm using Bluetooth 4.99 with bluez-utils on Debian.

I've tried with 2 different dongles/adapters to pair a Logitech speaker. This is impossible as I never get to enter the pincode.

I am using the terminal - my install has no gui.

Here's a hcidump showing the process and failure:

I'd really appreciate some advice - this is driving me nuts!

Code:
HCI sniffer - Bluetooth packet analyzer ver 2.4
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
    bdaddr 10:B7:F6:00:46:40 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: Connect Complete (0x03) plen 11
    status 0x00 handle 11 bdaddr 10:B7:F6:00:46:40 type ACL encrypt 0x00
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
    handle 11
> HCI Event: Command Status (0x0f) plen 4
    Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
> HCI Event: Read Remote Supported Features (0x0b) plen 11
    status 0x00 handle 11
    Features: 0xff 0xff 0x8f 0xfe 0x9b 0xff 0x59 0x83
< HCI Command: Read Remote Extended Features (0x01|0x001c) plen 3
    handle 11 page 1
> HCI Event: Command Status (0x0f) plen 4
    Read Remote Extended Features (0x01|0x001c) status 0x00 ncmd 1
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
    bdaddr 10:B7:F6:00:46:40 mode 1
> HCI Event: Max Slots Change (0x1b) plen 3
    handle 11 slots 5
> HCI Event: Read Remote Extended Features (0x23) plen 13
    status 0x00 handle 11 page 1 max 1
    Features: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
    bdaddr 10:B7:F6:00:46:40 mode 2 clkoffset 0x0000
> HCI Event: Command Status (0x0f) plen 4
    Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> HCI Event: Remote Name Req Complete (0x07) plen 255
    status 0x00 bdaddr 10:B7:F6:00:46:40 name 'Mini Boombox'
< HCI Command: Authentication Requested (0x01|0x0011) plen 2
    handle 11
> HCI Event: Command Status (0x0f) plen 4
    Authentication Requested (0x01|0x0011) status 0x00 ncmd 1
> HCI Event: Link Key Request (0x17) plen 6
    bdaddr 10:B7:F6:00:46:40
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
    bdaddr 10:B7:F6:00:46:40
> HCI Event: Command Complete (0x0e) plen 10
    Link Key Request Negative Reply (0x01|0x000c) ncmd 1
    status 0x00 bdaddr 10:B7:F6:00:46:40
> HCI Event: IO Capability Request (0x31) plen 6
    bdaddr 10:B7:F6:00:46:40
< HCI Command: IO Capability Request Reply (0x01|0x002b) plen 9
    bdaddr 10:B7:F6:00:46:40 capability 0x04 oob 0x00 auth 0x03
    Capability: Reserved (OOB data not present)
    Authentication: Dedicated Bonding (MITM Protection)
> HCI Event: Command Complete (0x0e) plen 10
    IO Capability Request Reply (0x01|0x002b) ncmd 1
    status 0x00 bdaddr 10:B7:F6:00:46:40
> HCI Event: Simple Pairing Complete (0x36) plen 7
    status 0x1e bdaddr 10:B7:F6:00:46:40
    Error: Invalid LMP Parameters
> HCI Event: Auth Complete (0x06) plen 3
    status 0x05 handle 11
    Error: Authentication Failure
< HCI Command: Disconnect (0x01|0x0006) plen 3
    handle 11 reason 0x13
    Reason: Remote User Terminated Connection
> HCI Event: Command Status (0x0f) plen 4
    Disconnect (0x01|0x0006) status 0x00 ncmd 1
> HCI Event: Disconn Complete (0x05) plen 4
    status 0x00 handle 11 reason 0x16
    Reason: Connection Terminated by Local Host
 
Old 02-15-2013, 11:12 PM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,778
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Can your system recognize the BT dongle? Generally such pairing is done during you connect a bluetooth device to your system and system is trying to recognize it.

After device conection to your system, invoke:
Code:
~$ dmesg
And check if BT device is there or not.
 
Old 02-16-2013, 03:08 AM   #3
castalla2007
Member
 
Registered: Nov 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by shivaa View Post
Can your system recognize the BT dongle? Generally such pairing is done during you connect a bluetooth device to your system and system is trying to recognize it.

After device conection to your system, invoke:
Code:
~$ dmesg
And check if BT device is there or not.
Of course the dongle is recognised!

The answer to this issue is here: http://forums.gentoo.org/viewtopic-p...003b1d#7238936
 
  


Reply

Tags
bluetooth, debian testing


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bluetooth Pairing geller6980 Linux - Networking 4 05-29-2011 09:07 PM
bluetooth pairing failed bond_ruet Linux - Newbie 1 02-13-2010 09:01 PM
Pairing Samsung SPH-m510 mobile phone through Bluetooth USB 2.0 Dongle failed Scubyw Mandriva 3 10-05-2009 12:04 AM
bluetooth pairing deadlinx Ubuntu 15 08-02-2009 03:26 PM
Bluetooth pairing jmike72 Linux - Hardware 2 01-06-2008 09:08 AM


All times are GMT -5. The time now is 03:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration