• 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..*

      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.


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

USB Reverse Tether (a dirty solution)的更多相关文章

  1. 170621 - Android ADB forward端口映射和reverse反向代理 使用笔记

    个人理解 forward:端口映射 将本地PC指定Port端口,映射到设备手机指定Port端口上.以便解决 PC -> Phone 的访问问题PC 作为Client客户端 可以任意访问 Phon ...

  2. leetCode练题——7. Reverse Integer

    1.题目:   7. Reverse Integer Given a 32-bit signed integer, reverse digits of an integer. Example 1: I ...

  3. 通过暗码去打开/关闭usb debug开关

    通过暗码去打开/关闭usb debug开关 通过暗码去打开/关闭usb debug开关1. Description2. Analysis3. Solution4. Summary 1. Descrip ...

  4. [转]Bypassing iOS security

    src: http://blog.thireus.com/tag/kernelcache Before going further it is important to enumerate some ...

  5. Axis 1 https(SSL) client 证书验证错误ValidatorException workaround

    Axis 1.x 编写的client在测试https的webservice的时候, 由于client 代码建立SSL连接的时候没有对truststore进行设置,在与https部署的webservic ...

  6. LeetCode(三)

    最长不重复子串 public class Solution { public int lengthOfLongestSubstring(String s) { if(s==null || s.leng ...

  7. LintCode "Previous Permutation"

    A reverse version of the Dictionary algorithm :) If you AC-ed "Next Permutation II", copy ...

  8. Replacing JNI Crashes by Exceptions on Android

    http://blog.httrack.com/blog/2013/08/23/catching-posix-signals-on-android/ To Report Or Not To Repor ...

  9. When to use DataContract and DataMember attributes?

    When to use DataContract and DataMember attributes? I  am very confused about the DataContract attri ...

随机推荐

  1. 四个因素决定Essay写作段落长度

    段落是一篇Essay的基石,写好Essay应从写好段落开始.那么Essay写作中一个段落多长为好?英语和修辞学教授理查德·诺德奎斯特著文介绍了一些专家的观点.从以下的译文可以看到,段落长度虽然没有固定 ...

  2. 05 GUI UGUI

    在Unity开发过程中,不论是3D还是2D开发都需要大量的UI界面来配合使用,用来达到更好的效果 GUI:在Unity脚本生命周期回调方法OnGUI中实现,每一帧渲染两次,在OnGUI中的GUI界面元 ...

  3. 吴裕雄--天生自然 JAVASCRIPT开发学习:switch 语句

    <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title> ...

  4. 已知root用户密码并登录,修改mysql用户名密码方法

    首先进入命令行下:以root用户登录,命令:mysql -uroot -p 回车 输入密码:mysql>use mysql:mysql>UPDATE user SET password=P ...

  5. Vue v-bind

    指令作用: 给元素的属性赋值 它是一个 vue 指令,用于绑定 html 属性 写法: 正常写法 <div v-bind:原属性名="变量||"常量""& ...

  6. Java多线程之并发包,并发队列

    目录 1 并发包 1.1同步容器类 1.1.1Vector与ArrayList区别 1.1.2HasTable与HasMap 1.1.3 synchronizedMap 1.1.4 Concurren ...

  7. h5-transform二维变换

    1.html <div class="translate">1</div> <div class="scale">2< ...

  8. hdu 3483 矩阵乘法

    这个题目上周对抗赛题目,搞了我好久 对数学这种不是很敏感 其实都不是自己想出来的,看其他的资料和博客的推导 还是有点难度的,反正我是推不出来 通过二项式定理的化简 有两个博客写得比较好 http:// ...

  9. UVA 11987 - Almost Union-Find 并查集的活用 id化查找

    受教了,感谢玉斌大神的博客. 这道题最难的地方就是操作2,将一个集合中的一个点单独移到另一个集合,因为并查集的性质,如果该点本身作为root节点的话,怎么保证其他点不受影响. 玉斌大神的思路很厉害,受 ...

  10. Thread--停止线程

    参考:http://blog.sina.com.cn/s/blog_6ca570ed01016mti.html Thread.interrupt()方法不会中断一个正在运行的线程.它的作用是,在线程受 ...