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

usb reverse tethering

That looks promising, but Is it for galaxy mini???
Besides that , how to run a ".sh" file in terminal emulator???
I am a newbee to Linux and Droid.
Thanks In Advance

just place that file on sd card n type this in terminal:
su
cd /sdcard/
sh tethering.sh

follow the steps frm that site
 
Could somebody translate this, cuz for me google translate works 50% and 50% of the words are in english and 50% in indonesian. I would really appreciate.

thx
 
now my problem is that i can' understand step 5 and 6:
5. Open a terminal emulator on HP
6. run file its tethering.sh
Code:
su
Code:
cd / sdcard /
Code:
sh tethering.sh

at step 6, what do i need to do, i cant run it.
 
now my problem is that i can' understand step 5 and 6:
5. Open a terminal emulator on HP
6. run file its tethering.sh
Code:
su
Code:
cd / sdcard /
Code:
sh tethering.sh

at step 6, what do i need to do, i cant run it.

copy tethering.sh to /sdcard/ and in terminal type the code
su
cd /sdcard/
sh tethering.sh

and tada it will run the script ...
:)
 
I couldnt execute the sh file on terminal emulator, but i was able to execute that using rootexplorer.
But still no hope, as usb tethering cannot be enabled in cm7.
after enabling it , the usb tethering automaticaly gets disabled
 
Is there any way to enable usb reverse tethering in the CM 7 for galaxy mini
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


A thank is always aprreciated !

Samy--l337
 
Back
Top Bottom