On Tue, Mar 15, 2011 at 10:10 PM, Robert Greenwalt <rgreenw...@google.com> wrote: > Sure - if you have network access over bluetooth you could tether other > devices via cable or wifi and share the link. BT links are pretty slow > though. > R > > On Tue, Mar 15, 2011 at 9:36 AM, Narseo Vallina Rodriguez <nar...@gmail.com> > wrote: >> >> Might be possible to follow this approach to tether via Bluetooth as well? >> >> On Tue, Mar 15, 2011 at 4:31 PM, Robert Greenwalt <rgreenw...@google.com> >> wrote: >> > Did you add "eth\d" to config_tether_upstream_regexs in >> > framework/base/core/res/res/values/config.xml? >> > Tethering.java uses that to decide what it can tether to. You shouldn't >> > have to modify code to make this work.
So, config_tether_upstream_regexs is an array and if I add an <item> to it, that interface's network can be shared... Ok, I understand this... but as of now - I expected to see atleast ppp0 as one of those array items.. - Am I wrong somewhere? Also is there diagram/note somewhere suggesting the use of dnsmasq/iptables via NETD - instead of traditional linux's (ubuntu/meego) BRIDGE ioctl ? >> > On Tue, Mar 15, 2011 at 4:31 AM, Pavan Savoy <pavan.sa...@gmail.com> >> > wrote: >> >> >> >> I am trying (what others have already done) - i.e to tether other >> >> interfaces via the eth0 interface. >> >> i.e to share the eth0 interface unlike the current 3G/GPRS (ppp0 >> >> interface). >> >> >> >> But I am trying to do that from the framework - Tethering.java >> >> As I understand - The lower layer NETD @ /system/netd/ doesn't put a >> >> restriction as to which interface can be shared. >> >> >> >> So when currently I enable USB tethering - which module is placing a >> >> restriction to use the 3G/GPRS connection or the ppp0 interface? >> >> I want modify the framework (say add a new menu entry under some >> >> BoardConfig.mk macro - if BOARD_HAVE_ETHERNET) and >> >> allow the usb0 or the wifi0 to tether the local eth0 connection ... >> >> >> >> So, please provide some pointers - as to which modules forces usage of >> >> ppp0 interface, >> >> and is it possible to set up the Tethering via frameworks - without >> >> writing a new EtherController.cpp sort of handler for NETD (Since I >> >> don't think anything is necessary to be done to setup eth0 to start >> >> sharing...) >> >> >> >> Thanks & Regards, >> >> -- >> >> --Pavan Savoy >> >> >> >> -- >> >> unsubscribe: android-porting+unsubscr...@googlegroups.com >> >> website: http://groups.google.com/group/android-porting >> > >> > -- >> > unsubscribe: android-porting+unsubscr...@googlegroups.com >> > website: http://groups.google.com/group/android-porting >> > >> >> >> >> -- >> Narseo > > -- --Pavan Savoy -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting