[android-porting] tethering eth0 interface

2011-03-15 Thread Pavan Savoy
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/ do

Re: [android-porting] tethering eth0 interface

2011-03-15 Thread Robert Greenwalt
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. R On Tue, Mar 15, 2011 at 4:31 AM, Pavan Savoy wrote: > I am trying (what other

Re: [android-porting] tethering eth0 interface

2011-03-15 Thread Robert Greenwalt
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 wrote: > Might be possible to follow this approach to tether via Bluetooth as well?

Re: [android-porting] tethering eth0 interface

2011-03-15 Thread Pavan Savoy
On Tue, Mar 15, 2011 at 10:10 PM, Robert Greenwalt 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 > wrote: >> >>

Re: [android-porting] tethering eth0 interface

2011-03-15 Thread Robert Greenwalt
> So, config_tether_upstream_regexs is an array and if I add an > 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? > The default is an empty array - it is replaced

Re: [android-porting] tethering eth0 interface

2011-03-15 Thread Narseo Vallina Rodriguez
Might be possible to follow this approach to tether via Bluetooth as well? On Tue, Mar 15, 2011 at 4:31 PM, Robert Greenwalt 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

Re: [android-porting] tethering eth0 interface

2011-03-15 Thread Pavan Savoy
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.. On 15-Mar-2011 11:04 PM, "Robert Greenwalt" wrote: >> So, config_tether_upstream_regexs is an array and if I add

Re: [android-porting] tethering eth0 interface

2011-03-17 Thread Narseo Vallina Rodriguez
I was looking at the code and it looks like it only supports tethering via USB. I can imagine that sharing 3G over BT will be slowl but I was looking at the code of Tether WiFi application (that also supports BT) and it is not as neat as this one ("Tethering.java") and I would like to have somethin

Re: [android-porting] tethering eth0 interface

2011-03-17 Thread Robert Greenwalt
I think future releases do support tethering over BT, wifi and usb. R On Thu, Mar 17, 2011 at 5:31 AM, Narseo Vallina Rodriguez wrote: > I was looking at the code and it looks like it only supports tethering > via USB. I can imagine that sharing 3G over BT will be slowl but I was > looking at th