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:
Turn off celluar data conection on the phone
Tether the phone to the PC
On the PC side, share the Internet connection with the network created by the Remote NDIS based Internet Sharing Device.
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.
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.
- 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)的更多相关文章
- 170621 - Android ADB forward端口映射和reverse反向代理 使用笔记
个人理解 forward:端口映射 将本地PC指定Port端口,映射到设备手机指定Port端口上.以便解决 PC -> Phone 的访问问题PC 作为Client客户端 可以任意访问 Phon ...
- leetCode练题——7. Reverse Integer
1.题目: 7. Reverse Integer Given a 32-bit signed integer, reverse digits of an integer. Example 1: I ...
- 通过暗码去打开/关闭usb debug开关
通过暗码去打开/关闭usb debug开关 通过暗码去打开/关闭usb debug开关1. Description2. Analysis3. Solution4. Summary 1. Descrip ...
- [转]Bypassing iOS security
src: http://blog.thireus.com/tag/kernelcache Before going further it is important to enumerate some ...
- Axis 1 https(SSL) client 证书验证错误ValidatorException workaround
Axis 1.x 编写的client在测试https的webservice的时候, 由于client 代码建立SSL连接的时候没有对truststore进行设置,在与https部署的webservic ...
- LeetCode(三)
最长不重复子串 public class Solution { public int lengthOfLongestSubstring(String s) { if(s==null || s.leng ...
- LintCode "Previous Permutation"
A reverse version of the Dictionary algorithm :) If you AC-ed "Next Permutation II", copy ...
- 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 ...
- When to use DataContract and DataMember attributes?
When to use DataContract and DataMember attributes? I am very confused about the DataContract attri ...
随机推荐
- 关于torch.nn.Conv2d的笔记
先看一下CLASS有哪些参数: torch.nn.Conv2d( in_channels, out_channels, kernel_size, stride=1, padding=0, dilati ...
- Javascript声明和使用变量
1.1变量的声明 要在程序中使用变量,就必须从声明变量学起,因为Javascript语法与我们基础的其他程序语言声明变量的方法略有不同,但是Javascript语法的变量应用非常强大,使用也非常简单. ...
- 使用java service wrapper将java程序注册为window服务
1.下载java service wrapper 下载地址:http://wrapper.tanukisoftware.com/doc/english/download.jsp 针对自己的需求下载相应 ...
- POJ - 3661 Running(dp---背包)
题意:Bessie要运动N分钟,已知每一分钟可以跑的距离,每一分钟可选择跑或者不跑,若选择跑,疲劳度加1,但疲劳度不能超过M:若选择不跑,则每过一分钟,疲劳度减1,且只有当疲劳度减为0时可以继续跑.求 ...
- CodeForces - 131C The World is a Theatre(组合数)
题意:已知有n个男生,m个女生.现在要选t个人,要求有至少4个男生,至少1个女生,求有多少种选法. 分析: 1.展开,将分子中的m!与分母中n!相约,即可推出函数C. #pragma comment( ...
- 《C Primer Plus》- 第一章 初试C语言
本笔记写于2020年1月25日. 从今天开始,我要全面的.彻底的将未来计划中所有的知识重新规划学习一遍,并整理成一套全面的笔记体系.为我将来的职业打下坚实的基础.而所有的一切从C语言开始. 本系列文章 ...
- ArrayList 和 LinkedList 比较
是否保证线程安全? ArrayList 和 LinkedList 都是不同步的,也就是不保证线程安全. 底层数据结构区别? Arraylist 底层使用的是Object数组:LinkedList 底层 ...
- 201609-2 火车购票 Java
思路待补充 import java.util.Scanner; class Main{ public static void main(String[] args) { //100个座位 int[] ...
- ZJNU 2354 - 进贡
分开考虑k=1 k=2和k>=3的情况 2和3这两个质数比较特殊,遇到的话直接输出1就行 对于“神灵的不满意度为m的约数中,比m小且最大的那个”这句描述,指m除了自身和1这两个因子里找最大的那个 ...
- js样式添加
document.getElementsByName("spans")[index].style.color = "blue";