public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Virat Gohil" <virat4lug@hotpop.com>
To: <bluez-users@lists.sourceforge.net>
Subject: [Bluez-users] rfcomm0: connection refused
Date: Tue, 6 Jul 2004 14:02:26 +0530	[thread overview]
Message-ID: <007c01c46334$7d8f5090$17010f0a@matrix> (raw)

 Hi All,

 I tried connecting to GPRS using my nokia 6820 and CSR usbdongle. I am able
to start hcid, sdpd.

 I am also able to l2ping my device.

 I can bind the device to rfcomm0, after patching the kernel

 I was able to connect to The Internet once, but after I restarted I got the
following error while connecting using pppd

 rfcomm0: connection refused!

 I thought may be I messed up a setting here or there, so I re-installed
RedHat 9.0 and tried again, I was able to conenct once, after I restart I
get the same problem. please help.

 The following is the output of hcidump:

 HCIDump - HCI packet analyzer ver 1.8
 device: hci0 snap_len: 1028 filter: 0xffffffff
 < HCI Command: Create Connection(0x01|0x0005) plen 13
 > HCI Event: Command Status(0x0f) plen 4
 > HCI Event: Connect Complete(0x03) plen 11
 < ACL data: handle 0x0029 flags 0x02 dlen 12
 L2CAP(s): Connect req: psm 3 scid 0x0040
 < HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4
 > HCI Event: Number of Completed Packets(0x13) plen 5
 > HCI Event: Command Complete(0x0e) plen 6
> HCI Event: Page Scan Repetition Mode Change(0x20) plen 7
 > HCI Event: Max Slots Change(0x1b) plen 3
 > ACL data: handle 0x0029 flags 0x02 dlen 16
 L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
 < ACL data: handle 0x0029 flags 0x02 dlen 16
 L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 4
 MTU 1024
 > ACL data: handle 0x0029 flags 0x02 dlen 16
 L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 4
 MTU 32772
 < ACL data: handle 0x0029 flags 0x02 dlen 14
 L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
 > HCI Event: Number of Completed Packets(0x13) plen 5
 > HCI Event: Number of Completed Packets(0x13) plen 5
 > ACL data: handle 0x0029 flags 0x02 dlen 14
 L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
 < ACL data: handle 0x0029 flags 0x02 dlen 8
 L2CAP(d): cid 0x40 len 4 [psm 3]
 RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs 0x1c
 > HCI Event: Number of Completed Packets(0x13) plen 5
 > ACL data: handle 0x0029 flags 0x02 dlen 8
 L2CAP(d): cid 0x40 len 4 [psm 3]
 RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7
 < ACL data: handle 0x0029 flags 0x02 dlen 18
 L2CAP(d): cid 0x40 len 14 [psm 3]
 RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8
 dlci 2 frame_type 0 credit_flow 15 pri 0 ack_timer 0 frame_size 1019
 max_retrans 0 credits 7
 > HCI Event: Number of Completed Packets(0x13) plen 5
 > ACL data: handle 0x0029 flags 0x02 dlen 18
 L2CAP(d): cid 0x40 len 14 [psm 3]
 RFCOMM(s): PN RSP: cr 0 dlci 0 pf 0 ilen 10 fcs 0xaa mcc_len 8
 dlci 2 frame_type 0 credit_flow 14 pri 0 ack_timer 0 frame_size 324
 max_retrans 0 credits 0
 < ACL data: handle 0x0029 flags 0x02 dlen 8
 L2CAP(d): cid 0x40 len 4 [psm 3]
 RFCOMM(s): SABM: cr 1 dlci 2 pf 1 ilen 0 fcs 0x59
 > HCI Event: Number of Completed Packets(0x13) plen 5
 > HCI Event: Link Key Request(0x17) plen 6
 < HCI Command: Link Key Request Reply(0x01|0x000b) plen 22
 > HCI Event: Command Complete(0x0e) plen 10
 > ACL data: handle 0x0029 flags 0x02 dlen 8
 L2CAP(d): cid 0x40 len 4 [psm 3]
 RFCOMM(s): DM: cr 1 dlci 2 pf 1 ilen 0 fcs 0x73
 < ACL data: handle 0x0029 flags 0x02 dlen 8
 L2CAP(d): cid 0x40 len 4 [psm 3]
 RFCOMM(s): DISC: cr 1 dlci 0 pf 1 ilen 0 fcs 0xfd
 < ACL data: handle 0x0029 flags 0x02 dlen 12
 L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
 > HCI Event: Number of Completed Packets(0x13) plen 5
> HCI Event: Number of Completed Packets(0x13) plen 5
 > ACL data: handle 0x0029 flags 0x02 dlen 8
 L2CAP(d): cid 0x40 len 4 [psm 3]
 RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7
 > ACL data: handle 0x0029 flags 0x02 dlen 12
 L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
 < HCI Command: Disconnect(0x01|0x0006) plen 3
 > HCI Event: Command Status(0x0f) plen 4
 > HCI Event: Disconn Complete(0x05) plen 4

 Thank You, and all the people who have contributed in the development of
 bluez!!

 Virat




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

             reply	other threads:[~2004-07-06  8:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-06  8:32 Virat Gohil [this message]
2004-07-06 10:44 ` [Bluez-users] rfcomm0: connection refused Marcel Holtmann
     [not found]   ` <001b01c46355$7a0c4150$c1010f0a@matrix>
2004-07-06 14:37     ` Marcel Holtmann
     [not found]       ` <006d01c46417$0d9795c0$05000f0a@matrix>
2004-07-07 12:56         ` Marcel Holtmann
     [not found]           ` <000601c46423$16b6d3d0$51020f0a@matrix>
2004-07-07 13:08             ` Marcel Holtmann
     [not found]               ` <002a01c46426$adab3530$51020f0a@matrix>
2004-07-07 13:37                 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2004-07-08  8:05 Virat Gohil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='007c01c46334$7d8f5090$17010f0a@matrix' \
    --to=virat4lug@hotpop.com \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox