From owner-freebsd-bluetooth@FreeBSD.ORG Wed Feb 4 00:22:16 2009 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 F3E861065672 for ; Wed, 4 Feb 2009 00:22:15 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.177]) by mx1.freebsd.org (Postfix) with ESMTP id A70418FC12 for ; Wed, 4 Feb 2009 00:22:15 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by el-out-1112.google.com with SMTP id r27so1423948ele.13 for ; Tue, 03 Feb 2009 16:22:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=SRqhDpuAv2hTmGZMVl8sAsGNhTjlwSs2+SWvpcnYNDA=; b=oUbXl0HS5YU9YrN1olrE2NMwvGAzjX7wDe7KGIYioNngL96lo6BN4In3iGNIl2pKUU 9a7CkAa6I7X4+I78e+rHr5yCJlsqWwIhPcDrr0WbPwvdKR3qFyebjmpv3gAQ2GV8q8IA DwZbgws27hQMbAkEV65/XFjPpH5rhJ4iEAIfE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=IFLErJryFhXSD6X6Zn6RA4QWn226ZinadxsBdWINsCF52O/wTPwL5ppwPI/ggkSW6c AP6nWYws2mSJEHat1hSEWpDeFzVLeigjCzox8wXS/6+1GfjEte2MrA3mVKZ3M2z//seE vXElatBUTF7CD6WRctaHAugveFY5TS68PHphE= MIME-Version: 1.0 Received: by 10.150.196.5 with SMTP id t5mr543136ybf.142.1233706935012; Tue, 03 Feb 2009 16:22:15 -0800 (PST) In-Reply-To: <4988DCCC.80201@mavhome.dp.ua> References: <1233365217.00068654.1233354838@10.7.7.3> <4988DCCC.80201@mavhome.dp.ua> Date: Tue, 3 Feb 2009 16:22:14 -0800 Message-ID: From: Maksim Yevmenkin To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-bluetooth@freebsd.org" Subject: Re: pan profile support in freebsd 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: Wed, 04 Feb 2009 00:22:16 -0000 Alexander, [...] > Thanks for the good news and your work. I have managed to use by Qtek S200 > running WM 6.1 Internet Sharing service (NAP profile). It has worked just > out of the box. thanks for the report! > The only newbie problem I had is what to specify in -d argument. NetBSD > examples specifying adapter name there, while FreeBSD does not accepts this. > I have spent some time looking for my adapter BDADDR. well, it kinda does. you can edit /etc/bluetooth/hosts file and add your adapter's bd_addr there, i.e. 00:11:22:33:44:55 mydevice and then use -d mydevice with btpand(8). > PS: I have one small indirectly related, annoying problem. After some time > of being unused Qtek goes to some kind of sleep, which makes it not > responding on BT requests (both rfcomm and btpand), reporting "No route to > host". After several retries or just by running l2ping and waiting for 3-5 > seconds it successfully wakes up and working, but it makes using it a bit > annoying. Is there any known workaround for it? it depends. i'm guessing qtek device is probably putting idle connection into 'sniff' or 'hold' (or even 'park') mode to conserve battery life. you should be able to see what is going by running hcidump. in any case, it should be possible to add something that 'tickles' connection once in a short while to prevent it from going completely idle. it will drain the battery faster though. thanks, max