Fix mobile data
When using a virtual provider which rents network infrastructure from other operators, the modem tries to register to the virtual network when enabling mobile data. This network is virtual and doesn't exist, the modem will report a signal strength of 0% and won't accept any calls or texts.
I traced this issue on the PinePhone to gsm.network-id
which is set by the Purism patches in GNOME Control Center.
After a discussion with the ModemManager maintainer, it became clear that setting this property is not needed to control roaming. Roaming is already taken care of by ModemManager by setting gsm.allow-roaming
to true
or false
which is done by the Data Roaming switch in the UI. Furthermore, determining the home network by reading the MCC and MNC from the SIM card issuer is incorrect since these values may differ from the SPN (Service Provider Network = physical operator).
This MR removes the ability to set gsm.network-id
from the Purism patches to GNOME Control Center.
Full discussion, see https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/278