1. Are you ready for the Galaxy S20? Here is everything we know so far!

usb reverse tethering

Discussion in 'Android Devices' started by kalikool123, Sep 19, 2011.

  1. kalikool123

    kalikool123 Member
    Thread Starter

    Is there any way to enable usb reverse tethering in the CM 7 for galaxy mini
     



    1. Download the Forums for Android™ app!


      Download

       
  2. roofrider

    roofrider Member

  3. dhruvbatra205

    dhruvbatra205 Well-Known Member

    Why would you want to do that?
     
  4. kalikool123

    kalikool123 Member
    Thread Starter

  5. roofrider

    roofrider Member

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

    follow the steps frm that site
     
  6. balazs31

    balazs31 Newbie

    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
     
  7. yagya

    yagya Android Enthusiast

    Google Translate
     
  8. balazs31

    balazs31 Newbie

    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.
     
  9. yagya

    yagya Android Enthusiast

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

    and tada it will run the script ...
    :)
     
  10. balazs31

    balazs31 Newbie

    where and what is the terminal, im new on android
     
  11. kalikool123

    kalikool123 Member
    Thread Starter

    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
     
  12. kalikool123

    kalikool123 Member
    Thread Starter

    terminal is the terminal emulator as seen in ubuntu
    You need to have your device rooted for running terminal emulator
     
  13. yagya

    yagya Android Enthusiast

    USB thethering work fine in cm7 but i think reverse tethering is very difficult to try out especially on windows .. if you have linux and want to tey reverse tethering you can go through this article Mycila Blog: Reverse USB Tethering with Android 2.2 it might be of any use ....
     
  14. roofrider

    roofrider Member

    this is the best method for reverse tethering that works, it'll take sometime to get it right first time
     
  15. mvmsk

    mvmsk Well-Known Member

  16. yagya

    yagya Android Enthusiast

    because he doesn't have wireless driver and he has to do it via USB...
     
  17. Samyl337

    Samyl337 Lurker

    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
     

Samsung Galaxy Mini Forum

The Samsung Galaxy Mini release date was February 2011. Features and Specs include a 3.14" inch screen, 3MP camera, 384GB RAM, Snapdragon S1 processor, and 1200mAh battery.

February 2011
Release Date
0
Reviews
Loading...
Similar Threads - usb reverse tethering
  1. Max Jensen
    Replies:
    7
    Views:
    253
  2. Max Jensen
    Replies:
    0
    Views:
    162
  3. Anarchy 2021
    Replies:
    0
    Views:
    201
  4. germandowski
    Replies:
    12
    Views:
    451
  5. Dekero
    Replies:
    2
    Views:
    403
  6. AlexPuddephatt
    Replies:
    1
    Views:
    378
  7. 1337xhoax
    Replies:
    6
    Views:
    438
  8. JustMeCanoe
    Replies:
    0
    Views:
    293
  9. 4kiki2
    Replies:
    16
    Views:
    961
  10. ramencoder
    Replies:
    6
    Views:
    2,360

Share This Page

Loading...