public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] pin code problem - noob
@ 2004-04-08 11:40 Thomas PEYRIN
  2004-04-08 11:59 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas PEYRIN @ 2004-04-08 11:40 UTC (permalink / raw)
  To: bluez-users

hi !

i'm trying to do the authentification between a palm
m515 and my laptop with linux (suse 8.2) and a usb
dongle (acer). But that doesn't work (the palm work
with others devices for authentification) because it
seems that bluez can't find the pin code. Here's the
dump :

HCIDump - HCI packet analyzer ver 1.7
device: hci0 snap_len: 1028 filter: 0xffffffff
> HCI Event: Connect Request(0x04) plen 10
< HCI Command: Accept Connection Request(0x01|0x0009)
plen 7
> HCI Event: Command Status(0x0f) plen 4
> HCI Event: Link Key Request(0x17) plen 6
< HCI Command: Link Key Request Negative
Reply(0x01|0x000c) plen 6
> HCI Event: Command Complete(0x0e) plen 10
> HCI Event: PIN Code Request(0x16) plen 6
< HCI Command: PIN Code Request Negative
Reply(0x01|0x000e) plen 6
> HCI Event: Command Complete(0x0e) plen 10
> HCI Event: Connect Complete(0x03) plen 11

and my hciconfig :

hci0:   Type: USB
        BD Address: 00:02:72:B2:0E:C4 ACL MTU: 192:8 
SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN AUTH ENCRYPT
        RX bytes:235 acl:0 sco:0 events:26 errors:0
        TX bytes:348 acl:0 sco:0 commands:17 errors:0

but i don't understant why the palm doesn't even ask
me for the pin code ...

thanks in advance !



	

	
		
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! 
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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] pin code problem - noob
  2004-04-08 11:40 [Bluez-users] pin code problem - noob Thomas PEYRIN
@ 2004-04-08 11:59 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2004-04-08 11:59 UTC (permalink / raw)
  To: tpeyrin; +Cc: BlueZ Mailing List

Hi Thomas,

> i'm trying to do the authentification between a palm
> m515 and my laptop with linux (suse 8.2) and a usb
> dongle (acer). But that doesn't work (the palm work
> with others devices for authentification) because it
> seems that bluez can't find the pin code. Here's the
> dump :
> 
> HCIDump - HCI packet analyzer ver 1.7
> device: hci0 snap_len: 1028 filter: 0xffffffff
> > HCI Event: Connect Request(0x04) plen 10
> < HCI Command: Accept Connection Request(0x01|0x0009)
> plen 7
> > HCI Event: Command Status(0x0f) plen 4
> > HCI Event: Link Key Request(0x17) plen 6
> < HCI Command: Link Key Request Negative
> Reply(0x01|0x000c) plen 6
> > HCI Event: Command Complete(0x0e) plen 10
> > HCI Event: PIN Code Request(0x16) plen 6
> < HCI Command: PIN Code Request Negative
> Reply(0x01|0x000e) plen 6
> > HCI Event: Command Complete(0x0e) plen 10
> > HCI Event: Connect Complete(0x03) plen 11
> 
> and my hciconfig :
> 
> hci0:   Type: USB
>         BD Address: 00:02:72:B2:0E:C4 ACL MTU: 192:8 
> SCO MTU: 64:8
>         UP RUNNING PSCAN ISCAN AUTH ENCRYPT
>         RX bytes:235 acl:0 sco:0 events:26 errors:0
>         TX bytes:348 acl:0 sco:0 commands:17 errors:0
> 
> but i don't understant why the palm doesn't even ask
> me for the pin code ...

don't enable auth and encrypt in hcid.conf, because this sets your
device into security mode 3 and this is not needed. Check that the PIN
helper script is working. If not replace it with a simple shell script.
Look in the mailing list archive for more details.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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:[~2004-04-08 11:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-08 11:40 [Bluez-users] pin code problem - noob Thomas PEYRIN
2004-04-08 11:59 ` Marcel Holtmann

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