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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth
To unsubscribe, send any mail to "[email protected]"