From owner-freebsd-bluetooth@FreeBSD.ORG Mon Mar 31 17:38:56 2008 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFAA9106564A for ; Mon, 31 Mar 2008 17:38:56 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by mx1.freebsd.org (Postfix) with ESMTP id 6E3218FC23 for ; Mon, 31 Mar 2008 17:38:56 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so2687759fka.11 for ; Mon, 31 Mar 2008 10:38:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=3wFaIM1Uewi3YtXu2PU+Hsfnwp0mG1OgOfZPMCiDWxU=; b=IyRDsoCeAksoqiY6WyRuyELGbbxXyZXDnaxiGtObjgbxbP2nUZwYffZ0FsbF2LB393+JAATy+8QFeToTUmoQA9aDXyKh1LTf/8DF4JettlfuMHwxx9EhSgE96V32bs8xjTaWfnFoxF//NG0mmxmy+WPspyR9mtPEkSQD5S0qPkw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JwhQZCsGF+C8IcpuJx1zPxBN/cqVSZwRT90GqwLFZnMABnsNu6h4kICnsp7dimVTuY9MB3AN1WW4F9+mH+qy865x2gOy3GD1/l/ODGBM/xZBrxkJKlC4NQOs8XTw1sBnuKJWCaphmp7vbVXQFU4qMepYOTkdjh2jgpNWVkWyu+M= Received: by 10.82.174.20 with SMTP id w20mr16052778bue.38.1206985134399; Mon, 31 Mar 2008 10:38:54 -0700 (PDT) Received: by 10.86.71.15 with HTTP; Mon, 31 Mar 2008 10:38:54 -0700 (PDT) Message-ID: Date: Mon, 31 Mar 2008 09:38:54 -0800 From: "Maksim Yevmenkin" To: mato In-Reply-To: <47EF6AA5.60403@users.sf.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47DBE7A4.3060006@users.sf.net> <47EF6AA5.60403@users.sf.net> Cc: freebsd-bluetooth@freebsd.org Subject: Re: BT issues 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: Mon, 31 Mar 2008 17:38:57 -0000 Hello, [...] > 1) I did'n know it. Thanks for your explanation. I used it the same way > only I ran rfcomm_pppd manually. And btw will the provided rc.d script be > included in FreeBSD ? eventually :) i want do give some time to people to try it and give feedback. > 2) What am I trying to do ? Well, I set up internet sharing on my home > laptop via BT and I can use it from my other laptop. Now, it works when my > other (work) laptop runs FreeBSD. When I boot the other laptop in to > Windows it asks me for PIN and then it works OK. But when I boot in to > FreeBSD again I cannot connect and I have to reinitialise as explained in my > original email. So to me it seems connecting from Windows somehow changes > stored key which is unusable for subsequent FreeBSD uses. > If this explanation is not enough, I can try to capture and provide hcidump > for you. 1) what is in your /etc/bluetooth/hcsecd.conf (on both freebsd machines)? 2) can you create (with hcidump -w trace) and send to me hcidump trace that shows the problem after you boot from windows back to freebsd? also, as i explained to you, using the same device under two different operating systems is a bit of a challenge. os is in charge of initiating "pairing" process and storing link keys. just because you pairing the same two devices does not mean that you will get the same link key every time. as i explained to you, the best way to make it work is to make sure link key is shared between both oses. thanks, max