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-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting
Might be possible to follow this approach to tether via Bluetooth as well?
--
Narseo
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 ?
--
--Pavan Savoy
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 ?
--
Narseo
Yes, found the xml under device/...
Anyway i expected something like rmnet to be added there, but since this is a development platform eth//d makes sense too....
Thanks for the info..
Could any of you provide me any hints about how to do it?
Many thanks,
--
Narseo