Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-users] panu question
@ 2004-03-21 14:41 Rybalkin, Albert
  2004-03-21 17:40 ` Marcel Holtmann
  2004-03-21 17:54 ` wim delvaux
  0 siblings, 2 replies; 4+ messages in thread
From: Rybalkin, Albert @ 2004-03-21 14:41 UTC (permalink / raw)
  To: 'bluez-users@lists.sourceforge.net',
	'albertr@iral.com'

[-- Attachment #1: Type: text/plain, Size: 2523 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 9597 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] panu question
  2004-03-21 14:41 [Bluez-users] panu question Rybalkin, Albert
@ 2004-03-21 17:40 ` Marcel Holtmann
  2004-03-21 17:54 ` wim delvaux
  1 sibling, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2004-03-21 17:40 UTC (permalink / raw)
  To: Rybalkin, Albert
  Cc: 'bluez-users@lists.sourceforge.net',
	'albertr@iral.com'

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] panu question
  2004-03-21 14:41 [Bluez-users] panu question Rybalkin, Albert
  2004-03-21 17:40 ` Marcel Holtmann
@ 2004-03-21 17:54 ` wim delvaux
  1 sibling, 0 replies; 4+ messages in thread
From: wim delvaux @ 2004-03-21 17:54 UTC (permalink / raw)
  To: bluez-users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [Bluez-users] panu question
@ 2004-03-22 15:00 Rybalkin, Albert
  0 siblings, 0 replies; 4+ messages in thread
From: Rybalkin, Albert @ 2004-03-22 15:00 UTC (permalink / raw)
  To: 'Marcel Holtmann', Rybalkin, Albert
  Cc: 'bluez-users@lists.sourceforge.net',
	'albertr@iral.com'

[-- Attachment #1: Type: text/plain, Size: 901 bytes --]

Sorry for HTML message, didn't want to offend you...

On a subject matter, I tracked down the problem to BlueSoeil.
There's a possibility to set up NAT on incoming connections to
PAN profile, which doesn't seem to work on my Win2K PC. Basic
PAN (without NAT) works fine, even has a lame DHCP server.
Thanks,
--
Albert Rybalkin


-----Original Message-----
From: Marcel Holtmann [mailto:marcel@holtmann.org] 
Sent: Sunday, March 21, 2004 12:41 PM
To: Rybalkin, Albert
Cc: 'bluez-users@lists.sourceforge.net'; 'albertr@iral.com'
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


[-- Attachment #2: Type: text/html, Size: 1830 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-03-22 15:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-21 14:41 [Bluez-users] panu question Rybalkin, Albert
2004-03-21 17:40 ` Marcel Holtmann
2004-03-21 17:54 ` wim delvaux
  -- strict thread matches above, loose matches on Subject: below --
2004-03-22 15:00 Rybalkin, Albert

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