Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Before going into main question, we do know that :

Now the question is :

"Is there a way to share the reverse-tethered internet (as we known connected via usb0 interface) via "Android WiFi Hotspot?"

To make it easier, here's the schema : http://www.mediafire.com/convkey/8806/s8e0y7e07be430b6g.jpg (sorry, can't attach images)

*Additional Notes :

  • Actually I don't give a limit which version of the Android (so if it's just compatible in higher version e.g. 4.2, it's okay for me), but I prefer it works on 2.3.x (Gingerbread)

  • Some explanations of how to make APN (Infrastructure Mode) on Android (just like Wireless Router/[netsh wlan hostednetwork] on Windows 7/8) might be really helpful too.

  • And also some explanations about how to masquerade (internet sharing) between two interfaces in Android. (such as ICS in Windows or Masquerade/iptables thingy in Linux-based)

share|improve this question
    
possible duplicate of How to set up reverse tethering over USB? –  t0mm13b Aug 14 '13 at 8:38
    
@t0mm13b No. The OP doesn't want to know how to set up reverse tether, but how to share that connection to other devices. –  Izzy Aug 14 '13 at 8:49
    
@Izzy - is there anyway of reversing it (to undo the v-c)? :( –  t0mm13b Aug 14 '13 at 8:55
    
@t0mm13b unfortunately no. I'm just voting to LO (Leave Open) now. Hopefully other voters read the comments and do the same. As long as there are no further VTCs, yours then will expire. –  Izzy Aug 14 '13 at 8:58
1  
yeah, that's quite different that just reverse tether.. it's more advanced which, after you tether, you do "masquerade" sharing from usb0 into wlan0 and broadcast that as wifi hotspot. i understand that mistake that pretty "similar". please let LO this one. thanks in advance. –  SECTION Aug 14 '13 at 9:37
show 8 more comments

1 Answer

I managed to make it work. Here is an "OSI-like" diagram of my setup, if it makes sense:

 ____________________   ______________________________    ____________
|   LinuxVM <----+  |  |                              |  |            |
|  VirtualBox    |  |  |                              |  |            |
| Windows7(host) |  |  | +--> AndroidPhone <-------+  |  | +-->Laptop |
|  (USB)         +-------+   (USB)  (wifi-HotSpot) +-------+   (wifi) |
|___________________|  |______________________________|  |____________|

The script is located at the XDA forum: http://forum.xda-developers.com/showpost.php?p=50236807&postcount=9

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.