Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
fast hotstop tethering

on android

adb shell

settings put global tether_dun_required 0

with root permsission and running as SU

# makes the build.prop file editable
mount -o rw,remount /

# adds a line in build.props
echo "net.tethering.noprovisioning=true" >> /system/build.prop

# check correctly written with 
cat /system/build.prop

restart device

Changing TTL

MacOS

My OS on high sierra didn't have the file needed so create it first. Otherwise just add the line

touch /etc/sysctl.conf

In sysctl.conf net.inet.ip.ttl=65

I think restart is needed. Or, temporarily change TTL sudo sysctl -w net.inet.ip.ttl=65

Windows

https://shevchenko.cc/10-how-to-change-ttl-in-windows-10.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment