Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Adding additional IP range for android hotspot #532
@icmma would it be more accurate to use ANDROID_METERED to check if you are on a metered network? sorry I don't have the environment to test proxy but that's what I'm getting when I tether from another android phone:
$ dumpsys wifi | grep mDhcpResults mDhcpResults IP address 192.168.43.77/24 Gateway 192.168.43.193 DNS servers: [ 192.168.43.193 ] Domains DHCP server /192.168.43.193 Vendor info ANDROID_METERED lease 3600 seconds
@pd0wm will test it.oir again but I like the DHCP method however need testing to see if it works for proxy as well. @eFiniLan I do use another Android phone where I'm tethering from it's kind of tricky since I don't have tethering plan since it's Android you can always find alternatives one is rooting other is without . I like to make things simple for users in general where they don't have to root phones to get tethering you can find some apps that does it but they use proxy there is another option which is ADB but I found it more user friendly so anyone can do it in general.