by londons_explore · 7y ago · 0 comments
The code to do that is in android here:
https://github.com/aosp-mirror/platform_frameworks_base/blob...
There is a setting you can set to disable it and make the provider treat all traffic as if it is non-tethered.
adb shell settings put global tether_dun_required 0
Considering how knowledgeable the HN crowd is on all things networking, it surprises me to see so much uncertainty on something so easy to check in the code!net.tethering.noprovisioning
consumed here:
https://android.googlesource.com/platform/frameworks/opt/tel...
"Hey, your service doesn't work even though I'm sending those packets from my phone. Give me my money back".
They don't need to prove it and they have no obligation to give you your money back, either. Be careful.
I am a little confused, this creates a new interface named `rndis0` how does the carrier know it's tethered? Because of the new MAC address?
The first 2 or 3 google phones I had let me turn on tethering with no problems despite it not being in my contract and somewhere around the pixel 2 it stopped working. So it seems like an intentional change on their part, and likely one that Apple also enforces. To change the flags mentioned previously you also need root, so it provides quite a speed bump for folks trying to use tethering despite it not being in their contracts.
Phone manufacturers alter from there per carrier demands. Phone manufacturers us Android because it's free.
It's brilliant on Google's end.
Perfect example, is WiFi calling. That was available on Android forever, but only T-Mobile didn't restrict it. ATT and Verizon had it disabled because of how profits are calculated on cell sites. There's a whole per minute, text, and data calculation that shows money flow. T-Mobile allowed WiFi calling way back when because the network was a dwarf to the big carriers. And then apple caught up like normal and acted like they invented it, but don't even get me started on apple.
Their networks are often provisioned under the assumption of super bursty traffic, where not all phones will be pulling at throughputs all the time. Laptop users will tend to use high throughput more consistently, and so be bad for their business model on the cost side.
Except it's Java ... too much bloat to go through.