Quite often when I leave my home wifi, the phone suggests that it is connected to 4G with good signal quality, but it has no mobile network connection. A related problem that occurs quite often in this scenario is that not even calls and sms work. A cure that sometimes works, is to toggle the mobile kill switch off/on and wait for the connection to reestablish. (and yes, mobile data and roaming are enabled in settings)
Anyone else experiencing this? Which logs should I collect to troubleshoot the issue?
Mostly yes, but difficult to know if someone tried to call or text me and it doesnāt go through. I donāt get many sms and calls, but as I recall it calls mostly go through when I am in the house with wifi on. Seems unlikely though, that wifi should make a difference in this case. It would be easier to understand the issue if only mobile data failed, but calls and sms makes this more of a mystery. It seems, somehow, that the transition from wlan to mobile causes things to fail.
Just as a test, I turned the wifi killl switch off, and had my partner call me and it worked. Also mobile data. But she can confirm that I have been unreachable out on the town at several times.
Just to add to the issue, I just turned the wifi kill switch back on, and the phone doesnāt recognize that there is a wlan adapter. At the same time, the data connection icon showing two arrows and an āxā occured, showing there is no mobile connection either. Toggling the switch off/on a second time brought it back, though.
Overall, I just experience that modems donāt work reliably at all times.
Been out again. This time cellular connection worked when I checked, but coming back home about 3 hours later, cellular modem software has crashed and wonāt wake up by toggling kill switch.
Cellular back after a reboot. This happened frequently on my Pinephone, but could usually be fixed by restarting eg25-manager, but this service doesnāt exist on the L5. Any other trick availble?
Presumably āeg25-managerā is specific to the Quectel EG25-G cellular modem chip that is in the PinePhone - so not surprising that the process / service does not exist on the Librem 5.
Iām not sure that roaming works yet. If you donāt need roaming then I would disable it. (Iām talking here about roaming between carriers within one country, not global roaming.)
As to the basic problem you are discussing, amber or byzantium?
BlockquoteI just turned the wifi kill switch back on, and the phone doesnāt recognize that there is a wlan adapter
Ive noticed that it just takes time for the Wifi adapter to kick in when my phone is in that similar state.
Also I have noticed that when you have both cellular data on and wifi on at the same time, that the cellular data seems to take priority for the internet connection vs the wifi connection. I have concluded that by the temp service SIM card that I have with Mint Mobile. The other day i got a text message from mint stating that I was out of my prepaid data plan. I still have text and phone capability with Mint. Anyhow, when I run from the terminal sudo apt updateā¦nothing happends for communication with the reposā¦but once i turn off the mobile data connection and wifi kicks inā¦my sudo apt update runs just fine. This leads me to believe that when both are on at the same timeā¦the cellular data is taking a connection priority over the wifi connection.
I donāt buy it. All of the time that I am at home I have both connections āupā and, in that circumstance, doing the equivalent of āwhat is my ipā has always given the public IP address of my home internet connection, not some CG NAT IP address of my mobile provider i.e. itās using WiFi.
[Adding: By virtue of network security, it wouldnāt even be possible for me to connect in to work from home via the mobile connection. So if the Librem 5 chose the mobile connection, instead of the WiFi, then it would fail to connect - and I would notice. For example, I would be getting errors, not email, on the Librem 5.]
Furthermore, output of route -n shows both connections providing a default gateway but the metric of the WiFi is ā600ā while the metric of the mobile connection is ā1050ā (where lower is better). (For fun, if I plug a USB to GbE adapter in to the Librem 5 then the metric on the ethernet is ā100ā - so that would take priority over both.)
Of course, if your metrics have the opposite ordering then what you suggest may well be true. So you need to check your metrics.
I do buy it. Iām having the same behavior with Mint Mobile, but on the Mobian Pinephone. For a while I would use speedtest-cli to quickly check my carrier and speed when I got home and WiFi connected. Even when confirmed on WiFi, my mobile data will deplete to exhaustion. Now I just shut off cell data when I get home. I donāt think itās Mint, since the same thing was happening when I had a Tracfone SIM.
No big deal Purism will lick this problem and the fix will make it to Mobian before my L5 arrives. My Pinephone would not be what it is (daily driver) without Purism!
My bad. Iāve installed net-tools or at least I think thatās the package that gives the route command.
If you are dual stack (as I am) then you would also need to rule out that an application is using IPv6 instead and picking up different routing. So route -6 -n
Then you would want to install the traceroute package for the traceroute command and see, for a given domain name, which gateway is used. In the case of @Whe3zy he says that itās downloading updates from the Purism repo that goes awry, so that tells him which domain name to try.
Or use traceroute6 if it is using IPv6. However, as it happens, I donāt think Purism supports IPv6 for its repository. Which is probably just as well because Iām only dual stack on the LAN and internet thereto. My mobile provider is IPv4 only.