Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2011 15:12:06 +0200
From:      =?UTF-8?B?0JLQvtC70L7QtNC40LzQuNGAINCa0L7RgdGC0LjRgNC60L4=?= <c.kworr@gmail.com>
To:        Iain Hibbert <plunky@rya-online.net>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: ES 388 (Broadcom based)
Message-ID:  <4D67AAA6.9050705@gmail.com>
In-Reply-To: <alpine.NEB.2.00.1102250746460.973@galant.ukfsn.org>
References:  <ijvivo$ad4$1@dough.gmane.org> <alpine.NEB.2.00.1102220920130.1133@galant.ukfsn.org> <4D6385E5.4030807@gmail.com> <alpine.NEB.2.00.1102221027380.868@galant.ukfsn.org> <4D653192.4070401@gmail.com> <alpine.NEB.2.00.1102231710570.731@galant.ukfsn.org> <4D662147.9050101@gmail.com> <alpine.NEB.2.00.1102240939190.1619@galant.ukfsn.org> <4D662B9F.6000903@gmail.com> <AANLkTinfpR_0juj_TVC%2BkNZdWc1tQWK%2BFwSDE9F1X7me@mail.gmail.com> <alpine.NEB.2.00.1102250746460.973@galant.ukfsn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D67AAA6.9050705>