zoukankan      html  css  js  c++  java
  • USB Reverse Tether (a dirty solution)

    • Tether your android phone to your PC using USB cable could share your 3g Internet connection with PC.

      In other words, your PC could connect to the Internet through your android phone.

    • WHILE REVERSE TETHERING DOES EXACTLY THE OPPOSITE.

    Background:

    Say I have a very limited 3g data plan. And I don't always have access to wifi.

    Since my PC is connected to the Internet, why not connect my android phone to my PC and try sharing my PC's Internet connection with my android phone.

    Solution:

    The following steps shall do that trick:

    1. Turn off celluar data conection on the phone

    2. Tether the phone to the PC

    3. On the PC side, share the Internet connection with the network created by the Remote NDIS based Internet Sharing Device.

    4. On the PC side, delete the route table item which makes android phone a gateway. (admin privilege needed)

      route delete 0.0.0.0 192.168.42.*

       replace the last IP address with your phone's IP address that your PC can reach.

    5. On the android phone side, open terminal, do the following operations(root privilege needed):

      busybox route add default gw 192.168.42.*

        replace the last IP address with PC's IP address that your phone can reach.

    6. DONE. Do some test now. eg. ping an address and open a webpage.

    Tested on my rooted android phone and PC.

    Know Issues:

      1. some apps will check wifi or celluar data connection and mistakenly report no Internet connection 

        Partially solved: check out this guide here on xda, it still need a SIM card in the first place

        though data won't go through cellular data connection.

    Miscellaneous:

    There's a app on Google Play namely Reverse Tether which might do the trick, you may try the trial version.

    Unfortunately, it failed to complete setup on my Mi2s.

    Creative Commons License
    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

  • 相关阅读:
    linux_进程管理
    Linux-日志管理
    Httpd
    Linux-源码安装包管理
    Linux-计划任务管理
    Linux-LVM管理
    Linux-系统磁盘管理
    Linux-yum工具的使用
    Linux-rpm包管理
    Linux-网络进阶管理
  • 原文地址:https://www.cnblogs.com/yeluqing/p/3827380.html
Copyright © 2011-2022 走看看