From owner-freebsd-bluetooth@FreeBSD.ORG Fri Feb 25 13:12:11 2011 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 D765F106564A for ; Fri, 25 Feb 2011 13:12:11 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 58BB38FC16 for ; Fri, 25 Feb 2011 13:12:10 +0000 (UTC) Received: by bwz12 with SMTP id 12so2200377bwz.13 for ; Fri, 25 Feb 2011 05:12:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=oNfkYVuOkVN7vnDLg49Wdm07yS0C+kxDQqX+0QdP+/Y=; b=TFIDWlr0S1SdYpCunjQak1Zvpw/kijCMGGULa+Qjv+KSs1uAR38EI20tyjuROqNfTA f6vx/G1QBE9hGJAJZJhER3I8inN1lE0WqcJ2i8HGMt3VzFkaSUBcYUexllYCmKjHusxj N20NQBSxlWDd1wsQ9BlUBlTLKDtf3gIOW2c+g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=yBdJG7wZKN42hA2AyZVCMjWirlWQRJA5CzdAIEPgl+Avohzj1pnGS/ZK36jjCw9DI8 gCGVkBRJT8Fr6anPhj5Hx00rSvFu5uotNOo12N9wILV6h+HDkElCYCxYrZWCwoUS+7e8 pfEy4z0e5YcXbtFWHqPBV1BYUT0nnjY4Fm+NU= Received: by 10.204.1.145 with SMTP id 17mr325974bkf.131.1298639530107; Fri, 25 Feb 2011 05:12:10 -0800 (PST) Received: from [172.31.0.1] (109-167-16-254.dynamic.peoplenet.ua [109.167.16.254]) by mx.google.com with ESMTPS id q18sm407483bka.3.2011.02.25.05.12.06 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Feb 2011 05:12:08 -0800 (PST) Message-ID: <4D67AAA6.9050705@gmail.com> Date: Fri, 25 Feb 2011 15:12:06 +0200 From: =?UTF-8?B?0JLQvtC70L7QtNC40LzQuNGAINCa0L7RgdGC0LjRgNC60L4=?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; uk; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Iain Hibbert References: <4D6385E5.4030807@gmail.com> <4D653192.4070401@gmail.com> <4D662147.9050101@gmail.com> <4D662B9F.6000903@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org Subject: Re: ES 388 (Broadcom based) 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, 25 Feb 2011 13:12:12 -0000 25.02.2011 10:15, Iain Hibbert wrote: >>> The phone can access Internet by GPRS. What I'm trying to do is to give >>> access to internet from my computer to my phone, so the phone can connect to >>> the Internet over Bluetooth. >> >> btpand(8) is your best bet. > > google isn't much help here either since the results are overloaded with > spam for phone models. Its not clear but I think you have to set up a new > 'data account' on the phone to get it to connect using an alternative > method than GPRS.. > > I did manage something like this with my windows mobile phone one time, > set up a new 'Bluetooth modem' on the phone for the internet service, then > configured DUN on the host using rfcomm_sppd, a fake modem script and pppd > (script for NetBSD attached). Not sure if that will work in this case > though, since the phone does not search for DUN. It might work for LAN > which is basically PPP over serial (I think no fake modem required) though > the FreeBSD specifics will be slightly different.. Yes! Stupid me. The phone never indicates anything about network connections in bluetooth device properties, but when I recheck available data profiles in device vicinity I found new connection entry in ready-to-use state. I just selected this profile as my primary internet profile and: ifconfig tap0 create btpand -d ubt0hci -i tap0 -s NAP tcpdump -pni tap0 And I can see DHCP requests from phone! -- Sphinx of black quartz judge my vow.