How configure the modem PIN, when not using NM

Martin debacle at debian.org
Fri Feb 7 10:28:22 UTC 2020


On 2020-02-07 09:30, Aleksander Morgado wrote:
> > I'm using a modem just for SMS, i.e. no mobile internet.
> > Therefore, NM does not control my modem and maybe I will remove NM.
> > I can set the pin using mmcli, but it should be automatic.
> > How would I configure that?
> 
> ModemManager doesn't keep any state or configuration anywhere, so this
> is currently not possible. You would need an external application to
> unlock the PIN for you before any SMS can be sent or received.

OK, I'll just manually disable the PIN for now, and add a DBus
call to MM later. What would be the right DBus API?
org.freedesktop.ModemManager1.Sim.SendPin("1234"), I assume?


More information about the ModemManager-devel mailing list