On 20/02/2024 14:48, Erwan David wrote:
Le 20/02/2024 à 03:20, Max Nikulin a écrit :
busctl get-property \
org.freedesktop.NetworkManager \
/org/freedesktop/NetworkManager \
org.freedesktop.NetworkManager Metered
It would also require to configure NetworkManager to set this correctly.
Eg When I use USB tethering. (same NetworkManager connexion may be used
at different places, without any way to simply detect this, when you do
not use Wifi)
I am unsure if the following would be convenient. You may create a
couple of connections with and without connection.metered set. Default
is metered, but when you know that currently traffic is not expensive,
you may manually switch to one marked as non-metered.