Hello. I am traveling. I ran out of data on AweSIM. Which is a bummer, but, not that big of a deal. However, I noticed that there was difficulty in the cellular to wifi handoff in my location. (I have also noticed this in the past at home, in “normal” use). I believe I was using cellular data when I would have preferred to be using the available wifi.
Does anyone have any suggestions to monitor or “choose” whether I am using wifi or cellular data. I suspect that the phone does not “prefer” to utilize wifi when it really should, sometimes.
Go to show all Apps and click on the advance Network manager and change the priority of the wifi to be higher than the mobile. So I put my wifi priority 0 and I put my mobile priority 1.The issue you are having is that both your wifi and mobile are set to the same priority so it is up in the air which one will get priority.
Hmm. Now I notice that particular apps want cellular first for some reason? For example, I could not open a particular webapp I use until I turned off cellular. That is bizarre.
I made the changes and when I tested it in GNOME Podcasts, which always used cellular data before, continues to do so. I have to either use software or hardware switch to disable the cell modem to get it to use WiFi
So I guess the other things that I’ve done is I set the mobile connection to metered connection and I disabled IPV6 on the mobile. I understand IPv4 better and I know IPv6 will take priority over IPv4 since I was having difficulty in my house since I only setup IPv4 and the mobiles IPv6 was taking priority. If you want to see which DNS server is taking precedence run in the terminal cat /etc/resolv.conf and it should show what every you have set for your dns server. I use 9.9.9.9 when I’m on mobile, but at home it would most likely be what your router is and the default ips are normally 192.168.1.1 or 192.168.0.1. An IPv6 address looks something like this: 2620:fe::9 and you will have the “:” in between the hexadecimal numbers.
Yes, this is why I figured this out because I pay as I use data and I got a huge bill and I knew I was on the wifi whenever I was using data so I knew there was an issue.
You should just see what your DNS sever is by running cat /etc/resolv.conf with you mobile off and then with it on and see if they are the same. If they aren’t the same you mobile is still taking priority.
The “metric” gives the priority - lower metric is higher priority.
However one complication is that regardless of the “handover” from cellular to WiFi, and regardless of the metrics, some badly behaved applications may bind to a specific interface (specific local IP address) e.g. while only cellular is available, and then that will be unaffected if the WiFi suddenly comes up.
It may be more complicated than this. For example, on some of my computers, that will always just show 127.0.0.53 regardless of what interfaces are up and what interfaces are down.