Skip to content

Instantly share code, notes, and snippets.

@adam-blip
adam-blip / tether.rc
Created January 6, 2024 19:21
Android Tethering Fixed IP - Load this via root shell before enabling thethering > android 9
#!/bin/sh
/system/bin/ip addr add 192.168.1.1/24 dev dummy0
/system/bin/ip addr add 192.168.2.1/24 dev dummy0
/system/bin/ip addr add 192.168.3.1/24 dev dummy0
/system/bin/ip addr add 192.168.4.1/24 dev dummy0
/system/bin/ip addr add 192.168.5.1/24 dev dummy0
/system/bin/ip addr add 192.168.6.1/24 dev dummy0
/system/bin/ip addr add 192.168.7.1/24 dev dummy0
/system/bin/ip addr add 192.168.8.1/24 dev dummy0
/system/bin/ip addr add 192.168.9.1/24 dev dummy0