• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Reverse Tethering using USB Cable

Aravindan

Member
I want to use the Internet connection (LAN) available in my PC to download files/game data from internet in my Galaxy S. Basically I want to use the internet available in my PC on my android phone. I did a fair bit of research and was unable to find a solution that doesnt involve Wi-Fi or rooting the phone. I havent rooted my Galaxy S and have no intention of doing so.

Please let me know if reverse-tethering for internet is possible with USB cable.

Thanks in advance...
 
Impossible.

Reverse tethering can only be done with Windows Mobile. I suspect it's a hardware limitations. I was once interested in this as well.
 
TBF it's my first android phone after dumping my Touch HD and winmo, so don't know what the greater ecosystem is like (yet). However if HTC can do it, then can't people write apps to do it for other phones?

Not sure I see the advantage unless you don't have wifi.
 
I want to use the Internet connection (LAN) available in my PC to download files/game data from internet in my Galaxy S. Basically I want to use the internet available in my PC on my android phone. I did a fair bit of research and was unable to find a solution that doesnt involve Wi-Fi or rooting the phone. I havent rooted my Galaxy S and have no intention of doing so.

Please let me know if reverse-tethering for internet is possible with USB cable.

Thanks in advance...
Connect the phone to the computer with the usb cable.
(Go to phone) Disable usb storage by opening the top sliding menu, touch the message "USB connected" and choose "Turn off usb storage"
Goto settings->Wireless and network->Tethering and portable hotspot->Enable USB tethering.
(Go to PC) A new network interface will be shown in your computer. Set it to "Home" if Windows firewall asks about it. In "Network and sharing center", choose "Change adapter settings". You can see the new interface here. Let's call it "Android connection".
Enable internet connection sharing on the interface that has internet connection. (It took me awhile to realize I was doing it the other way round). For those with LAN, it's your LAN card, for those with wireless, it's your wireless card(why are you doing usb tethering anyway?): Right click the interface-> properties->choose sharing tab and check "Allow the other network users to ...". Close the window to accept it.
Windows will set the IP of "Android connection" to 192.168.x.x for some unknown reason. Doesn't really matter although it may clash with some routers default setting. We will set it to another fixed IP and let our computer be the gateway.
Right click "Android connection" -> Properties, Choose "Internet protocol version 4 (TCP/IPv4)", Click properties. Choose "Use the following IP address". The setting is flexible and can differ from my values(if you know what you're doing)
IP address: 10.1.1.11
Network mask: 255.255.255.0
Default gateway: leave blank
Leave the dns part blank
Press ok and close the properties window.

download an app called terminal emulator for u r andriod (easily available in market ann in non market as well ! )
(Go to phone) Open your terminal emulator and type the following commands

Note: Ur IPs can differ but remember second cmds ip and ur andriod lan ip on ur pc (windows or linux ) should be same !

su
ifconfig usb0 10.1.1.12 netmask 255.255.255.0 up
route add default gw 10.1.1.11 dev usb0
setprop net.dns1 8.8.8.8

ENjoyyy !!!!!!!!!

A thank is always appreciated !
 
Connect the phone to the computer with the usb cable.
(Go to phone) Disable usb storage by opening the top sliding menu, touch the message "USB connected" and choose "Turn off usb storage"
Goto settings->Wireless and network->Tethering and portable hotspot->Enable USB tethering.
(Go to PC) A new network interface will be shown in your computer. Set it to "Home" if Windows firewall asks about it. In "Network and sharing center", choose "Change adapter settings". You can see the new interface here. Let's call it "Android connection".
Enable internet connection sharing on the interface that has internet connection. (It took me awhile to realize I was doing it the other way round). For those with LAN, it's your LAN card, for those with wireless, it's your wireless card(why are you doing usb tethering anyway?): Right click the interface-> properties->choose sharing tab and check "Allow the other network users to ...". Close the window to accept it.
Windows will set the IP of "Android connection" to 192.168.x.x for some unknown reason. Doesn't really matter although it may clash with some routers default setting. We will set it to another fixed IP and let our computer be the gateway.
Right click "Android connection" -> Properties, Choose "Internet protocol version 4 (TCP/IPv4)", Click properties. Choose "Use the following IP address". The setting is flexible and can differ from my values(if you know what you're doing)
IP address: 10.1.1.11
Network mask: 255.255.255.0
Default gateway: leave blank
Leave the dns part blank
Press ok and close the properties window.

download an app called terminal emulator for u r andriod (easily available in market ann in non market as well ! )
(Go to phone) Open your terminal emulator and type the following commands

Note: Ur IPs can differ but remember second cmds ip and ur andriod lan ip on ur pc (windows or linux ) should be same !

su
ifconfig usb0 10.1.1.12 netmask 255.255.255.0 up
route add default gw 10.1.1.11 dev usb0
setprop net.dns1 8.8.8.8

ENjoyyy !!!!!!!!!

A thank is always appreciated !
It will need ROOT....
 
Connect the phone to the computer with the usb cable.
(Go to phone) Disable usb storage by opening the top sliding menu, touch the message "USB connected" and choose "Turn off usb storage"
Goto settings->Wireless and network->Tethering and portable hotspot->Enable USB tethering.
(Go to PC) A new network interface will be shown in your computer. Set it to "Home" if Windows firewall asks about it. In "Network and sharing center", choose "Change adapter settings". You can see the new interface here. Let's call it "Android connection".
Enable internet connection sharing on the interface that has internet connection. (It took me awhile to realize I was doing it the other way round). For those with LAN, it's your LAN card, for those with wireless, it's your wireless card(why are you doing usb tethering anyway?): Right click the interface-> properties->choose sharing tab and check "Allow the other network users to ...". Close the window to accept it.
Windows will set the IP of "Android connection" to 192.168.x.x for some unknown reason. Doesn't really matter although it may clash with some routers default setting. We will set it to another fixed IP and let our computer be the gateway.
Right click "Android connection" -> Properties, Choose "Internet protocol version 4 (TCP/IPv4)", Click properties. Choose "Use the following IP address". The setting is flexible and can differ from my values(if you know what you're doing)
IP address: 10.1.1.11
Network mask: 255.255.255.0
Default gateway: leave blank
Leave the dns part blank
Press ok and close the properties window.

download an app called terminal emulator for u r andriod (easily available in market ann in non market as well ! )
(Go to phone) Open your terminal emulator and type the following commands

Note: Ur IPs can differ but remember second cmds ip and ur andriod lan ip on ur pc (windows or linux ) should be same !

su
ifconfig usb0 10.1.1.12 netmask 255.255.255.0 up
route add default gw 10.1.1.11 dev usb0
setprop net.dns1 8.8.8.8

ENjoyyy !!!!!!!!!

A thank is always appreciated !

I get error "no such device when I try to set ip address for usb0.

Any advise !!

Thanks in advance..
 
Connect the phone to the computer with the usb cable.
(Go to phone) Disable usb storage by opening the top sliding menu, touch the message "USB connected" and choose "Turn off usb storage"
Goto settings->Wireless and network->Tethering and portable hotspot->Enable USB tethering.
(Go to PC) A new network interface will be shown in your computer. Set it to "Home" if Windows firewall asks about it. In "Network and sharing center", choose "Change adapter settings". You can see the new interface here. Let's call it "Android connection".
Enable internet connection sharing on the interface that has internet connection. (It took me awhile to realize I was doing it the other way round). For those with LAN, it's your LAN card, for those with wireless, it's your wireless card(why are you doing usb tethering anyway?): Right click the interface-> properties->choose sharing tab and check "Allow the other network users to ...". Close the window to accept it.
Windows will set the IP of "Android connection" to 192.168.x.x for some unknown reason. Doesn't really matter although it may clash with some routers default setting. We will set it to another fixed IP and let our computer be the gateway.
Right click "Android connection" -> Properties, Choose "Internet protocol version 4 (TCP/IPv4)", Click properties. Choose "Use the following IP address". The setting is flexible and can differ from my values(if you know what you're doing)
IP address: 10.1.1.11
Network mask: 255.255.255.0
Default gateway: leave blank
Leave the dns part blank
Press ok and close the properties window.

download an app called terminal emulator for u r andriod (easily available in market ann in non market as well ! )
(Go to phone) Open your terminal emulator and type the following commands

Note: Ur IPs can differ but remember second cmds ip and ur andriod lan ip on ur pc (windows or linux ) should be same !

su
ifconfig usb0 10.1.1.12 netmask 255.255.255.0 up
route add default gw 10.1.1.11 dev usb0
setprop net.dns1 8.8.8.8

ENjoyyy !!!!!!!!!

A thank is always appreciated !

Thank You for these great instructions !!!
I combined those written by you, to that described here: http://forum.xda-developers.com/showthread.php?t=2287494 ( Thank You phamthanhnam ), because so I can simulate a wifi connection :)
 
Back
Top Bottom