Set the default SIM slot

Aleksander Morgado aleksandermj at chromium.org
Wed Jul 31 15:36:32 UTC 2024


Hey,

>
> Is there a way to set a default SIM slot?
>
> I have a OpenWrt device with an eUICC (slot 1) and UICC-slot (slot 2). The eUICC is always selected as the active slot on boot (but does not work). Switching the slot generally works, but no connection can be established: "device not ready". The same device without the eUICC works just fine with the same settings.
>
> My guess is that all slots are tried starting at 1 and the first one responding is selected as the primary. And because the eUICC is in slot 1 it always wins. Is that true and can i change this behavior?
>

MM does not actively select one slot or the other. When the modem
boots there is one slot selected as default, and that is the one that
MM will end up using.
Unfortunately there is no way to predefine which slot should be used
on boot, that kind of logic is not usually managed by MM itself - MM
will show what you can do, and let you do it. I assume that the
openwrt netifd protocol handler could be updated to support this
automatic slot selection on boot, I suggest you open a new issue in
their github and ask for that there, I'm sure you're not the only one
with this issue.

-- 
Aleksander


More information about the ModemManager-devel mailing list