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.

转载于:https://www.cnblogs.com/yeluqing/p/3827380.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值