2004-03-21 14:41:43

by Rybalkin, Albert

[permalink] [raw]
Subject: [Bluez-users] panu question

The NAP server is win2k box running BlueSoleil 1.4.2. PANU client is linux
2.4.18 with latest BlueZ kernel patches and recent userland. The client was
trying to connect with:



pand --role PANU --service NAP --connect 00:10:60:A2:CB:8E --nodetach



Here's a snipset from syslog:



Mar 20 22:56:26 localhost pand[10355]: PAN daemon ver 1.1

Mar 20 22:56:26 localhost pand[10355]: Connecting to 00:10:60:A2:CB:8E

Mar 20 22:56:34 localhost hcid[9931]: pin_code_request
(sba=00:E0:03:7A:CA:52, dba=00:10:60:A2:CB:8E)

Mar 20 22:56:34 localhost hcid[9931]: link_key_notify
(sba=00:E0:03:7A:CA:52)

Mar 20 22:56:34 localhost hcid[9931]: Replacing link key 00:E0:03:7A:CA:52
00:10:60:A2:CB:8E

Mar 20 22:56:34 localhost pand[10355]: Connect to 00:10:60:A2:CB:8E failed.
Connection refused(111)

Mar 20 22:56:34 localhost modprobe: modprobe: Can't locate module bnep0



Here's a relevant packet dump:



HCIDump - HCI packet analyzer ver 1.5

device: hci0 snap_len: 1028 filter: 0xffffffff

1079841480.014826 < HCI Command: Create Connection(0x01|0x0005) plen 13

1079841480.018618 > HCI Event: Command Status(0x0f) plen 4

1079841481.141376 > HCI Event: Connect Complete(0x03) plen 11

1079841481.146042 < ACL data: handle 0x0001 flags 0x02 dlen 12

L2CAP(s): Connect req: psm 15 scid 0x0040

1079841481.146135 < HCI Command: Write Link Policy Settings(0x02|0x000d)
plen 4

1079841481.154064 > HCI Event: Max Slots Change(0x1b) plen 3

1079841481.157711 > HCI Event: Number of Completed Packets(0x13) plen 5

1079841481.159440 > HCI Event: Command Complete(0x0e) plen 6

1079841481.186978 > HCI Event: Max Slots Change(0x1b) plen 3

1079841481.190467 > ACL data: handle 0x0001 flags 0x02 dlen 16

L2CAP(s): Connect rsp: dcid 0x0044 scid 0x0040 result 1 status 1

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

1079841481.269926 < HCI Command: Link Key Request Reply(0x01|0x000b) plen 22


1079841481.317000 > HCI Event: Command Complete(0x0e) plen 10

1079841481.374126 > ACL data: handle 0x0001 flags 0x02 dlen 16

L2CAP(s): Connect rsp: dcid 0x0044 scid 0x0040 result 1 status 2

1079841481.375454 > ACL data: handle 0x0001 flags 0x02 dlen 16

L2CAP(s): Connect rsp: dcid 0x0044 scid 0x0040 result 3 status 0

1079841483.366055 < HCI Command: Disconnect(0x01|0x0006) plen 3

1079841483.369603 > HCI Event: Command Status(0x0f) plen 4

1079841483.450023 > HCI Event: Disconn Complete(0x05) plen 4



Any hints what is going wrong here?



Thanks,

-albertr


2004-03-21 17:54:42

by wim delvaux

[permalink] [raw]
Subject: Re: [Bluez-users] panu question

I would think that your w2k server does not allow the linux device to connect.
Check if services are ON and pairing is set properly

It also just crossed my mind that the W2K detects the linux PDA not as a PDA
but as an unrecognized device and might refuse the connection because of
this... but I am not sure ...

W

On Sunday 21 March 2004 15:41, Rybalkin, Albert wrote:
> The NAP server is win2k box running BlueSoleil 1.4.2. PANU client is linux
> 2.4.18 with latest BlueZ kernel patches and recent userland. The client was
> trying to connect with:
>
>
>
> pand --role PANU --service NAP --connect 00:10:60:A2:CB:8E --nodetach
>
>
>
> Here's a snipset from syslog:
>
>
>
> Mar 20 22:56:26 localhost pand[10355]: PAN daemon ver 1.1
>
> Mar 20 22:56:26 localhost pand[10355]: Connecting to 00:10:60:A2:CB:8E
>
> Mar 20 22:56:34 localhost hcid[9931]: pin_code_request
> (sba=00:E0:03:7A:CA:52, dba=00:10:60:A2:CB:8E)
>
> Mar 20 22:56:34 localhost hcid[9931]: link_key_notify
> (sba=00:E0:03:7A:CA:52)
>
> Mar 20 22:56:34 localhost hcid[9931]: Replacing link key 00:E0:03:7A:CA:52
> 00:10:60:A2:CB:8E
>
> Mar 20 22:56:34 localhost pand[10355]: Connect to 00:10:60:A2:CB:8E failed.
> Connection refused(111)
>
> Mar 20 22:56:34 localhost modprobe: modprobe: Can't locate module bnep0
>
>
>
> Here's a relevant packet dump:
>
>
>
> HCIDump - HCI packet analyzer ver 1.5
>
> device: hci0 snap_len: 1028 filter: 0xffffffff
>
> 1079841480.014826 < HCI Command: Create Connection(0x01|0x0005) plen 13
>
> 1079841480.018618 > HCI Event: Command Status(0x0f) plen 4
>
> 1079841481.141376 > HCI Event: Connect Complete(0x03) plen 11
>
> 1079841481.146042 < ACL data: handle 0x0001 flags 0x02 dlen 12
>
> L2CAP(s): Connect req: psm 15 scid 0x0040
>
> 1079841481.146135 < HCI Command: Write Link Policy Settings(0x02|0x000d)
> plen 4
>
> 1079841481.154064 > HCI Event: Max Slots Change(0x1b) plen 3
>
> 1079841481.157711 > HCI Event: Number of Completed Packets(0x13) plen 5
>
> 1079841481.159440 > HCI Event: Command Complete(0x0e) plen 6
>
> 1079841481.186978 > HCI Event: Max Slots Change(0x1b) plen 3
>
> 1079841481.190467 > ACL data: handle 0x0001 flags 0x02 dlen 16
>
> L2CAP(s): Connect rsp: dcid 0x0044 scid 0x0040 result 1 status 1
>
> 1079841481.268379 > HCI Event: Link Key Request(0x17) plen 6
>
> 1079841481.269926 < HCI Command: Link Key Request Reply(0x01|0x000b) plen
> 22
>
>
> 1079841481.317000 > HCI Event: Command Complete(0x0e) plen 10
>
> 1079841481.374126 > ACL data: handle 0x0001 flags 0x02 dlen 16
>
> L2CAP(s): Connect rsp: dcid 0x0044 scid 0x0040 result 1 status 2
>
> 1079841481.375454 > ACL data: handle 0x0001 flags 0x02 dlen 16
>
> L2CAP(s): Connect rsp: dcid 0x0044 scid 0x0040 result 3 status 0
>
> 1079841483.366055 < HCI Command: Disconnect(0x01|0x0006) plen 3
>
> 1079841483.369603 > HCI Event: Command Status(0x0f) plen 4
>
> 1079841483.450023 > HCI Event: Disconn Complete(0x05) plen 4
>
>
>
> Any hints what is going wrong here?
>
>
>
> Thanks,
>
> -albertr


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-03-21 17:40:30

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] panu question

Hi Albert,

> The NAP server is win2k box running BlueSoleil 1.4.2. PANU client is
> linux 2.4.18 with latest BlueZ kernel patches and recent userland. The
> client was trying to connect with:

first stop sending HTML emails, because they are ugly to read and second
create a binary hcidump with the -w option.

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users