From owner-freebsd-bluetooth@FreeBSD.ORG Thu Jan 5 23:15:08 2006 Return-Path: X-Original-To: freebsd-bluetooth@FreeBSD.org Delivered-To: freebsd-bluetooth@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9938B16A41F for ; Thu, 5 Jan 2006 23:15:08 +0000 (GMT) (envelope-from lpolaczyk@o2.pl) Received: from poczta.o2.pl (mx2.go2.pl [193.17.41.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EE9243D46 for ; Thu, 5 Jan 2006 23:15:07 +0000 (GMT) (envelope-from lpolaczyk@o2.pl) Received: from l92jrtpanlmezn (87-go2-4.acn.waw.pl [85.222.3.87]) by poczta.o2.pl (Postfix) with ESMTP id CB9647480F5 for ; Fri, 6 Jan 2006 00:15:03 +0100 (CET) Message-ID: <005601c6124d$e07a48d0$5703de55@l92jrtpanlmezn> From: "Lukasz Polaczyk" To: Date: Fri, 6 Jan 2006 00:15:02 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Cc: Subject: rfcomm problem X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2006 23:15:08 -0000 Hi. I've a problem with pairing two computers. I want to connect them using rfcomm_pppd. So I: - change hcsecd.conf at both of them - turn on authentication at computer that will be server. - start hcsecd on both of them - then I add proper sections to ppp.conf files - start sdpd on server - start rfcomm_pppd at server - start rfcomm_pppd at client and it should work but when I start rfcomm_pppd at client on server's screen I got messege like: "ng_btsocket_rfcomm_receive_ua: GOT UA for non-existing dlci=2 ng_bt_socket_rfcomm_dm: GOT DM for non-existing dlci=2" What does it mean?? How should I solve this problem?? Lukasz Polaczyk lpolaczyk@onet.pl From owner-freebsd-bluetooth@FreeBSD.ORG Fri Jan 6 00:00:43 2006 Return-Path: X-Original-To: freebsd-bluetooth@FreeBSD.org Delivered-To: freebsd-bluetooth@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C77C16A420 for ; Fri, 6 Jan 2006 00:00:43 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from ismybrain.com (ismybrain.com [64.246.42.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3B3743D55 for ; Fri, 6 Jan 2006 00:00:42 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [10.254.186.111] (localhost.localdomain [127.0.0.1]) by ismybrain.com (8.11.6/8.11.6) with ESMTP id k0600dP31979; Thu, 5 Jan 2006 19:00:40 -0500 Message-ID: <43BDB325.2040200@savvis.net> Date: Thu, 05 Jan 2006 16:00:37 -0800 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lukasz Polaczyk References: <005601c6124d$e07a48d0$5703de55@l92jrtpanlmezn> In-Reply-To: <005601c6124d$e07a48d0$5703de55@l92jrtpanlmezn> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@FreeBSD.org Subject: Re: rfcomm problem X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2006 00:00:43 -0000 Hello, first, please *do not* send multiple messages. please have patience and give people a chance to reply. > Hi. I've a problem with pairing two computers. > I want to connect them using rfcomm_pppd. So I: > > - change hcsecd.conf at both of them > - turn on authentication at computer that will be server. > - start hcsecd on both of them > - then I add proper sections to ppp.conf files > - start sdpd on server > - start rfcomm_pppd at server > - start rfcomm_pppd at client > > and it should work > > but when I start rfcomm_pppd at client on server's screen I got messege > like: > "ng_btsocket_rfcomm_receive_ua: > GOT UA for non-existing dlci=2 > ng_bt_socket_rfcomm_dm: > GOT DM for non-existing dlci=2" > > What does it mean?? this is just a debug message that says there is a message for non-existing dlci (rfcomm channel). without a trace it is hard to know what it going. why do you thing you have a pairing problem? > How should I solve this problem?? you do not provide enough information. first, take a look at /var/log/ppp.log on both client and server to see if ppp has actually started. if it did - then look at the ppp.log to figure out why it stopped. if ppp did not start then you need to look at /var/log/messages to see if there is anything from rfcomm_pppd(8). finally, you need to get a *binary* hcidump on both server and client and sent it to me. i doubt that you have pairing problem here. most likely you have ppp misconfiguration. thanks, max