Skip to contentSkip to conversation

Network Access Point - pairing problem

Bluez-users D.W. 2 participants 2 messages Nov 3, 2004 Bluetooth drivers

lore
Share & tools
lore

D.W.

author
#0 lore raw

Hi Marcel,
Thank you for your reply.
I use kernel 2.4.22 on an axis devboard82. The bluez stack is not the latest(PAN, SDP, utils, libs are still seperate packages), because I had problems porting later versions to the devboard. But except the pairing problem at first contact it works perfectly.
Except the PIN (it's a static one at server side) there is no further authentification necessary.
Security mode 2 or 3? What do you mean? Can I check it?
When I try to connect to the server at first contact, I have to enter the PIN(client side) and after entering the right pin I get the message :"Authentification failed." Regards Daniel

Quoted 21 lines

Hi Daniel,

Quoted 10 lines

I want to use bluez for a standalone network access point. All works fine(pand or dund), the thing is that the pairing doesn't work at first contact (client is a windows-pc).

So I have to establish a rfcomm-connection manually(from the server side rfcomm connect 0 btad) first. This pairing works, I disconnect and then I am able to connect the client to the NAT.

Does anybody know what's wrong and what I can do to make the pairing work without this manually initiated rfcomm-connnection ?

are we talking about security mode 2 or security mode 3? What kernel do you use?

Regards

Marcel

maintainer
#1 lore raw

Hi Daniel,

Quoted 3 lines

I use kernel 2.4.22 on an axis devboard82. The bluez stack is not the latest(PAN, SDP, utils, libs are still seperate packages), because I had problems porting later versions to the devboard.

you use a version where many fixes are missing.

Quoted 4 lines

But except the pairing problem at first contact it works perfectly. Except the PIN (it's a static one at server side) there is no further authentification necessary.
Security mode 2 or 3? What do you mean? Can I check it?

What does "hciconfig -a" say?

Quoted 3 lines

When I try to connect to the server at first contact, I have to enter the PIN(client side) and after entering the right pin I get the message :"Authentification failed."

Run "hcidump -x" and we can see what really happens.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users