After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 687908 - NM should request PIN when trying to enable a locked modem
NM should request PIN when trying to enable a locked modem
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: Mobile broadband
0.9.x
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks: 685331 687855
 
 
Reported: 2012-11-08 10:12 UTC by Aleksander Morgado
Modified: 2020-11-12 14:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Aleksander Morgado 2012-11-08 10:12:39 UTC
If a given NMDeviceModem is requested to get enabled (e.g. when WWAN gets enabled), and the corresponding modem is waiting for SIM PIN, NetworkManager should ask for PIN secrets to the agent, unlock the modem and finally enable it. I cannot see an easy way of doing this right now, as asking for secrets is very tied to connection settings and in this case we don't have any connection (we're just enabling the modem, not connecting it).

Not being able to unlock the modem when enabling it breaks the functionality of the Mobile Broadband switch in gnome-shell; see bug 687855. For distros using nm-applet the issue is smaller as nm-applet automatically detects locked modems and tries to unlock them (see bug 687897).
Comment 1 Aleksander Morgado 2012-12-14 10:31:35 UTC
If the modem is PIN-locked, NM should ask for the PIN to the secrets agent.

If the modem is PUK-locked, NM should ask for the PUK *and* new PIN to the secrets agent.

Also need to consider that on successful unlocking of the modem, we need to tell the secrets provider to store the PIN for later accesses (based on SIM ID).
Comment 2 André Klapper 2020-11-12 14:29:22 UTC
bugzilla.gnome.org is being shut down in favor of a GitLab instance. 
We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time.

If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/

Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).