I'm using an OpenWRT router with a very cheap 5G data connection in India. However, Android devices connected to the router are detecting the Wi-Fi network as "metered." This is limiting background tasks and updates, even though the WAN connection is unmetered.
How can I configure OpenWRT to broadcast the Wi-Fi as an unmetered connection so that all connected devices treat it as a normal, unlimited network?
I know I can set the Wi-Fi as unmetered on a per-network basis in Android settings, but I'm looking for a solution at the router level that applies to all devices.
We can review your OpenWrt config, but generally speaking, this is not an option that OpenWrt has. I suspect that the detection is happening on the android side with some heuristics or other methods, as there isn't a special "metered connection" setting for OpenWrt.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
Thanks for the response, I really appreciate it! Since OpenWRT doesn't seem to have this option for managing metered connections, I think I'll skip the debugging for now.
In India, most people pay around ~$3 per month for 2GB of mobile data per day, and it works across 2G/3G/4G/5G—doesn't matter which. But currently, 5G is in the trial phase here, so it's essentially free for everyone. Personally, I've consumed terabytes of free 5G data over the last year until I got a 5G modem of sorts.
The plan I have now costs me ~$11 + taxes for 1000GB of data per month, and it works over 5G.
So, to answer your question, I can indeed download 20GB at a much cheaper rate than in most other parts of the world, which is why I consider it not metered.
There’s a cap after 1000GB, but I’m unlikely to use that much data anyway.
ChatGPT and a search result - what URL on the page provides the OP needed instructions?
If someone asks a question on the forum and you do not know the answer, DO NOT turn to any generative AI or LLM instance, ask the question, and post the output as an answer - attributed or otherwise.
It's far better that the forum is populated with posts from knowledgable subject matter experts rather than unattributable, unproven content from LLMs which will then feed back via web scraping into the LLMs again, potentially compounding a wrong answer many times over.
You're totally right not to trust LLMs in general but the summary was actually pretty legit (and I was too lazy to write it myself). Anyhow, if you take a look at the source code and developer guides you'll find all the grand details. Here are a few examples:
So if I were going to try to auto-detect metered networks I'd use some reflector to grab my public IP (and/or grab public v6 prefix) and then look that up in a database of mobile network providers or something similar. If they are doing that, there's not much you can do because your IP is part of a 5G/mobile network, so it would show up, and it has nothing to do with the router or anything like that.
Routing everything through a VPN might help in that case. But I'm just speculating on the mechanism so, hard to know.
You may consider your wifi network as unmetered, but the fact of the matter is that your connection to the internet is metered. You said it yourself.
Your mobile devices are correctly identifying the wi fi connection as metered, and there is nothing the OpenWRT device can do to stop this. Maybe a VPN could trick the mobile devices, but that's it.
I want connected clients to think of it as an unmetered connection so auto updates and stuff work for me.
My WhatsApp and Google Photos backups are working fine; it's only Google Play Store that's causing the issue. I think it has something to do with Google Play Store specifically, not with Android or OpenWrt.