public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] pand Connection refused(111) when connecting to a Belkin NAP
@ 2004-01-21 20:48 Dave Henriksen
  2004-01-21 19:56 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Henriksen @ 2004-01-21 20:48 UTC (permalink / raw)
  To: bluez-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: [Bluez-devel] pand Connection refused(111) when connecting to a Belkin NAP
@ 2005-02-08 23:42 lta
  2005-02-09  0:13 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: lta @ 2005-02-08 23:42 UTC (permalink / raw)
  To: bluez-devel


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

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

end of thread, other threads:[~2005-02-22  0:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-21 20:48 [Bluez-devel] pand Connection refused(111) when connecting to a Belkin NAP Dave Henriksen
2004-01-21 19:56 ` Marcel Holtmann
     [not found]   ` <1074719150.2980.9.camel@linux.local>
2004-01-21 20:14     ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2005-02-08 23:42 lta
2005-02-09  0:13 ` Marcel Holtmann
     [not found]   ` <420F483D.20802@creativemonsters.com>
2005-02-22  0:15     ` Marcel Holtmann

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