2004-01-21 20:48:59

by Dave Henriksen

[permalink] [raw]
Subject: [Bluez-devel] pand Connection refused(111) when connecting to a Belkin NAP

Hi,

I'm wondering what may be causing a "Connection refused(111)" message
when I issue a "pand --connect 00:02:72:00:DC:F1" command to connect to
a Belkin NAP. The proper pins are setup, and I can l2ping the NAP, I
just can't get pand to connect to it. Any help would be greatly
appreciated. I know that when I do networking through this NAP on the
Windows side, I need to specify and id/password combination in addition
to a pin. I'm not sure how to do this in Linux.

Thanks,

Dave H

log info:

Jan 21 11:28:51 linux pand[2711]: PAN daemon ver 1.1
Jan 21 11:28:51 linux pand[2711]: Connecting to 00:02:72:00:DC:F1
Jan 21 11:28:53 linux hcid[2690]:
link_key_request(sba=00:0D:88:AC:BE:C5, dba=0 0:02:72:00:DC:F1)
Jan 21 11:28:54 linux pand[2711]: Connect to 00:02:72:00:DC:F1 failed.
Connection refused(111)



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2004-01-21 19:56:42

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] pand Connection refused(111) when connecting to a Belkin NAP

Hi Dave,

> I'm wondering what may be causing a "Connection refused(111)" message
> when I issue a "pand --connect 00:02:72:00:DC:F1" command to connect to
> a Belkin NAP. The proper pins are setup, and I can l2ping the NAP, I
> just can't get pand to connect to it. Any help would be greatly
> appreciated. I know that when I do networking through this NAP on the
> Windows side, I need to specify and id/password combination in addition
> to a pin. I'm not sure how to do this in Linux.

run "hcidump -w <file>" and send us the dump.

Regards

Marcel




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-02-22 00:15:23

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] pand Connection refused(111) when connecting to a Belkin NAP

Hi,

> I'm not sure why the 'Segfault' happens, or what to do to check
> it. :-s
>
>
> Version-wise, I'm running...
>
>
> ( i ) bluez-pin-0.23-3
>
> ( ii ) bluez-hcidump-1.11-1
>
> ( iii ) bluez-libs-2.10-2
>
> ( iv ) bluez-bluefw-1.0-6
>
> ( v ) bluez-utils-2.10-2
>
>
> ... on the 64-bit version of Fedora Core 3 ( I'm running an AMD64 ).

install the latest version of these packages.

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-02-09 00:13:22

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] pand Connection refused(111) when connecting to a Belkin NAP

Hi Leon,

> I have exactly the same problem as Dave Henriksen !!! :-(
>
>
> RFCOMM works ( connects ) fine, but PAND simply fails with "Connection
> refused(111)".
>
>
> My log tells me...
>
> Feb 8 23:12:32 slave kernel: hciconfig[3728]: segfault at
> 00000000000000a9 rip 0000002a957d2c0c rsp 0000007fbfffef50 error 4

first I would check why this segfault happens.

> Feb 8 23:29:24 slave kernel: Bluetooth: BNEP (Ethernet Emulation) ver
> 1.2
> Feb 8 23:29:24 slave kernel: Bluetooth: BNEP filters: protocol
> multicast
> Feb 8 23:29:24 slave pand[3760]: Bluetooth PAN daemon
> Feb 8 23:29:24 slave pand[3760]: Connecting to 00:02:72:00:EB:4D
> Feb 8 23:29:28 slave pand[3760]: Connect to 00:02:72:00:EB:4D failed.
> Connection refused(111)

Second the PSM is not supported. Is you device really supporting the PAN
profile. Check with sdptool for a PAN service.

What is the version of your utils?

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-02-08 23:42:01

by lta

[permalink] [raw]
Subject: Re: [Bluez-devel] pand Connection refused(111) when connecting to a Belkin NAP


Hi there,


I have exactly the same problem as Dave Henriksen !!! :-(


RFCOMM works ( connects ) fine, but PAND simply fails with "Connection
refused(111)".


My log tells me...

Feb 8 23:12:32 slave kernel: hciconfig[3728]: segfault at
00000000000000a9 rip 0000002a957d2c0c rsp 0000007fbfffef50 error 4
Feb 8 23:29:24 slave kernel: Bluetooth: BNEP (Ethernet Emulation) ver
1.2
Feb 8 23:29:24 slave kernel: Bluetooth: BNEP filters: protocol
multicast
Feb 8 23:29:24 slave pand[3760]: Bluetooth PAN daemon
Feb 8 23:29:24 slave pand[3760]: Connecting to 00:02:72:00:EB:4D
Feb 8 23:29:28 slave pand[3760]: Connect to 00:02:72:00:EB:4D failed.
Connection refused(111)


Hcidump tells me...

[root@slave ~]# hcidump -X
HCIDump - HCI packet analyzer ver 1.11
device: hci0 snap_len: 1028 filter: 0xffffffffffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
0000: 4d eb 00 72 02 00 18 cc 02 00 00 00 01 M..r.........
> HCI Event: Command Status (0x0f) plen 4
0000: 00 01 05 04 ....
> HCI Event: Role Change (0x12) plen 8
0000: 00 4d eb 00 72 02 00 01 .M..r...
> HCI Event: Connect Complete (0x03) plen 11
0000: 00 29 00 4d eb 00 72 02 00 01 00 .).M..r....
< ACL data: handle 0x0029 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 15 scid 0x0040
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
0000: 29 00 0f 00 )...
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
0000: 4d eb 00 72 02 00 01 M..r...
> HCI Event: Max Slots Change (0x1b) plen 3
0000: 29 00 05 )..
> HCI Event: Command Complete (0x0e) plen 6
0000: 01 0d 08 00 29 00 ....).
> HCI Event: Number of Completed Packets (0x13) plen 5
0000: 01 29 00 01 00 .)...
> ACL data: handle 0x0029 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0040 result 2 status 0
< HCI Command: Disconnect (0x01|0x0006) plen 3
0000: 29 00 13 )..
> HCI Event: Command Status (0x0f) plen 4
0000: 00 01 06 04 ....
> HCI Event: Disconn Complete (0x05) plen 4
0000: 00 29 00 16


Any ideas ( Linux newbie ) ???


Many thanks in advance,


Leon