Forked from CHEF-KOCH/yetanotherworkaroundfortethering.txt
Created
December 24, 2015 14:50
-
-
Save autovalue/e9e92323dec620e42f8d to your computer and use it in GitHub Desktop.
Fix for older Android 4.x tethering problems
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
su | |
settings get global tethering_dun_required | |
settings get global tether_dun_required | |
# or | |
#settings put global tether_dun_required 0 | |
#settings put global tethering_dun_required 0 | |
netcfg | |
#(now search for the iface) e.g. ccmni0 | |
iptables -tnat -A natctrl_nat_POSTROUTING -s 192.168.0.0/16 -o ccmni0 -j MASQUERADE | |
ccmni0 -j MASQUERADE | |
# Now you can surf the web! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment