NOTE: The lastest version of this article has moved here. Please bookmark the new site.
We previously showed you 2 great ways to do reverse wifi tethering ( check links at the end of article).
Today we will show you how to do reverse USB tethering.
Reverse USB tethering allows your phone to have internet access via a computer having internet connection. In other words you share your PC’s internet connection to your smartphone.
- Android 2.2+ (or an older version with a root tethering app)
- ADB from Android SDK, or a rooted Android 2.2 with terminal in root mode
- For Windows: Install USB drivers from Android SDK
- Connect USB cable and activate USB Tethering. You should see on linux or windows a new network interface.
- On windows, Bridge the 2 network interfaces
- Setup usb0 interface of your phone. You have to options:
1. From your computer, execute:
./adb shell netcfg usb0 dhcp
2. Or in a root terminal on your phone, type:
netcfg usb0 dhcp
You should now be able to connect to Internet on your phone using your computer’s Internet connection.
Try to do a ping http://www.google.com to be sure !
To shut down the reverse-tethering
- unbridge interfaces on your computer
- On your phone, uncheck the USB Tethering option !