ivvmm wrote: > Ed Kapitein wrote: > >> Al Johnson wrote: >> >>> On Monday 09 March 2009, KaZeR wrote: >>> >>> >>>> Hello list. >>>> >>>> Last week i was in holidays, far away from home. And the Internet. >>>> So i took my laptop, and setup a gprs connection using my Sony phone. Using >>>> bluetooth it's done within a breath : setup a rfcomm channel to the >>>> bluetooth serial port channel and you're almost done, using wvdial >>>> >>>> So two things came to my mind : >>>> 1) it would be nice to be able to do the same thing using the FR. >>>> 2) it would be even nicer to share the gprs connection from the FR using >>>> wifi >>>> >>>> Anybody already tried this? >>>> >>>> >>> I expect it to work more like some other SonyEricsson phones that present a >>> USB or Bluetooth network interface and allow the connecting machine to get >>> networking details over DHCP. FSO has >>> org.freesmartphone.Network.StartConnectionSharingWithInterface to do this, >>> but >>> I don't know whether it's been implemented yet. >>> >>> AdHoc connections may be possible over WiFi, but we can't behave as a >>> basestation. >>> >>> >>> _______________________________________________ >>> Openmoko community mailing list >>> community@lists.openmoko.org >>> http://lists.openmoko.org/mailman/listinfo/community >>> >>> >>> >>> >> Slightly different, but perhaps usable: >> >> I use my FR as a router. The FR connects to internet over GPRS and i >> connect my laptop top the FR over bluetooth. >> Setting up the connection is done on the FR, you just need to use >> masquerading with iptables and ip forwarding in the kernel. >> It works rather well, although gprs is slow and ticket #2223 is not >> solved yet. >> >> Hope this helps. >> >> Kind regards, >> Ed >> >> >> > > And how do you establish connection over Bluetooth? I am doing it > myself, but just over USB cable. So I wonder how could it be possible > over Bluetooth. > > > _______________________________________________ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > > > Oh, well USB is ok too i guess, but i run the bluetooth daemon on my laptop, and start sdpd and dund with the option "--listen call dun" A kind of like how they describe it on http://wiki.openmoko.org/wiki/Manually_using_Bluetooth, but than on the laptop instead of the FR. (search for "PPP <http://wiki.openmoko.org/wiki/PPP> and a DUN (dialup-networking) emulation mode." on that page)
on the FR i simply run export BLUEMAC=ED:ED:ED:ED:ED:ED # *your* laptop's bluetooth device goes here rfcomm release /dev/rfcomm0 # just to make sure rfcomm bind /dev/rfcomm0 "${BLUEMAC}" 1 pppd /dev/rfcomm0 call dun echo 1 > /proc/sys/net/ipv4/ip_forward /etc/ppp/peers/dun contains the details for you bluetooth connection like IP addres, dns etc. i knitted some scripts around it on om2008.12, with x message, so i can just click BT -> on to set up the connection or BT -> off to termintae it. But that is just cosmetics/handy. Hope this helps. Kind regards, Ed _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community