Skip to contentSkip to conversation

authentication problem when pairing with headset

Bluez-users Matthias Grüter 4 participants 4 messages Aug 21, 2005 – Aug 22, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

I'm using a Logitech Mobile Freedom Headset with my iBook G4. I have been using this device for some time now, but since a week or so I'm not able to pair with my headset anymore.

Output of btsco:

# btsco -v 00:0D:44:32:D3:FF
btsco v0.4c
Device is 1:0
Error: Failed to connect to SDP server: Permission denied
Assuming channel 2

Voice setting: 0x0060
Can't connect RFCOMM channel: Permission denied

Sysconfig:
link_key_request (sba=00:0D:93:06:A6:19, dba=00:0D:44:32:D3:FF)

Output of hcidump:

# hcidump -V
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
    bdaddr 00:0D:44:32:D3:FF ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Link Key Request (0x17) plen 6

    bdaddr 00:0D:44:32:D3:FF
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
    bdaddr 00:0D:44:32:D3:FF key 56975B38589747E25A3B35A2F4C9399A
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

    Link Key Request Reply (0x01|0x000b) ncmd 1
    status 0x00 bdaddr 00:0D:44:32:D3:FF
Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

status 0x05 handle 46 bdaddr 00:0D:44:32:D3:FF type ACL encrypt 0x00
Error: Authentication Failure
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 6

    Read Voice Setting (0x03|0x0025) ncmd 1
    status 0x00 voice setting 0x0060

< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:0D:44:32:D3:FF ptype 0xcc18 rswitch 0x01 clkoffset 0x0000 Packet type: DM1 DM3 DM5 DH1 DH3 DH5

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Link Key Request (0x17) plen 6

    bdaddr 00:0D:44:32:D3:FF
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
    bdaddr 00:0D:44:32:D3:FF key 56975B38589747E25A3B35A2F4C9399A
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

    Link Key Request Reply (0x01|0x000b) ncmd 1
    status 0x00 bdaddr 00:0D:44:32:D3:FF
Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

status 0x05 handle 47 bdaddr 00:0D:44:32:D3:FF type ACL encrypt 0x00
Error: Authentication Failure

What kind of authentication failure is this? And how can I solve this issue?

My version of the bluez-tools is 2.18.
The awkward thing is, that I'm still able to pair with other headsets (same model) and my headset is still able to pair with other computers or mobile phones.

I'd be glad for any kind of pointers in the right direction.

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw

[Bluez-users] PPPOE use PAN service

hi all:
Could I use PPPOE dial-up via PAN service??
=20
I used PPPOE dial-up on windows PC, PC to borad via BT, borad use
PAN service:

            PC(windows)  -----bt----->borad(linux bluez) ---lan--->internet

May I do so? =20

best regards!

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#2 lore raw

Re: [Bluez-users] PPPOE use PAN service

Hi,

Quoted 5 lines

Could I use PPPOE dial-up via PAN service??

I used PPPOE dial-up on windows PC, PC to borad via BT, borad use
PAN service:

            PC(windows)  -----bt----->borad(linux bluez) ---lan--->internet

in general yes, but I never tried it. However using TCP/IP over BNEP directly should be enough.

Regards

Marcel

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#3 lore raw
In reply to Matthias Grüter
Quoted 3 lines · Matthias Grüter

I'm using a Logitech Mobile Freedom Headset with my iBook G4. I have been using this device for some time now, but since a week or so I'm not able to pair with my headset anymore.

Did you use it with the same dongle on another machine or OS?

Quoted 8 lines

Output of btsco:

# btsco -v 00:0D:44:32:D3:FF
btsco v0.4c
Device is 1:0
Error: Failed to connect to SDP server: Permission denied
Assuming channel 2
Voice setting: 0x0060
Can't connect RFCOMM channel: Permission denied

This looks like wrong linkkeys. See the btsco page:

Quoted 6 lines
Quoted 6 lines

If you can't pair or connect with the headset, did you pair it with another device? Did it help to reset the pairing by removing /etc/bluetooth/link_key or /var/lib/bluetooth/[headsetaddr]/linkkeys or by putting the headset in pair mode? You may have to redo this often if you try to dual-boot windows or if you use the same dongle on another computer.

Ups - I see there is an error in there. [headsetaddr] should be [dongleaddr]. The headsetaddr is in the linkkeys file on the line with the linkkey. It is enough to remove that single line, thus retaining the other pairing information.

Quoted 6 lines

What kind of authentication failure is this? And how can I solve this issue?
My version of the bluez-tools is 2.18.
The awkward thing is, that I'm still able to pair with other headsets (same model) and my headset is still able to pair with other computers or mobile phones.

Yes. sounds perfectly like this problem.

CU, Andy

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users