11-21-2023, 06:52 PM
(This post was last modified: 11-21-2023, 06:54 PM by Kevin Kofler.)
Use nmcli radio wwan on instead of mmcli -m any -e. You need to enable the modem in NetworkManager, not just in ModemManager, because otherwise NetworkManager will disable (or not enable) it at the next occasion (such as a reboot). If you enable it in NetworkManager, it will remember your setting. NetworkManager will do the equivalent of mmcli -m any -e, but it needs to know about the setting, which it does not if you call mmcli directly.
Chances are that NetworkManager will also let you configure the APN and connect to it if it knows that you want WWAN enabled. (But you need to set that NetworkManager "WWAN" flag to enabled even if you do not actually want to use mobile data, because NetworkManager uses it as a toggle for the entire modem.)
Chances are that NetworkManager will also let you configure the APN and connect to it if it knows that you want WWAN enabled. (But you need to set that NetworkManager "WWAN" flag to enabled even if you do not actually want to use mobile data, because NetworkManager uses it as a toggle for the entire modem.)