[Bug 668838] New: SIM PIN unlock impossible
https://bugzilla.novell.com/show_bug.cgi?id=668838 https://bugzilla.novell.com/show_bug.cgi?id=668838#c0 Summary: SIM PIN unlock impossible Classification: openSUSE Product: openSUSE 11.4 Version: Milestone 6 of 6 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: holgi@novell.com QAContact: qa@suse.de Found By: Component Test Blocker: --- I do have a UMTS modem (sierra driver). When (Gnome) NetworkManager starts (using window manager LXDE) I get a window: "SIM PIN unlock required" where I do have to enter the PIN code. After doing this I get anther window: "Authenticate" content "System policy prevents unlocking or controlling the mobile broadband device. [...] Password for root:" But after entering, the window "SIM PIN unlock required" is still available. When I click "Unlock" again I get another "Authenticate" window ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c1
Holger Sickenberg
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c2
jop kol
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c3
Stefan Lijewski
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c
Uwe Drechsel
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c5
--- Comment #5 from Oliver Neukum
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c6
--- Comment #6 from Oliver Neukum
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c7
Oliver Neukum
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c8
Stefan Lijewski
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c
Oliver Neukum
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c9
--- Comment #9 from Oliver Neukum
Yes - after providing the PIN code the modem were unlock, but this not the way it should works, because:
OK, I needed to make sure the modem is unlocked if all goes well.
1. The pin code was entered in the NetworkManager settings for this connection.
That should not happen.
2. After typing pin user also have to provide root password in a short time (before modem pin request timeout).
That also happens if you don't store the PIN. So this is a problem of PolicyKit. You can argue that this is a stupid default. Please make a separate bug report for that.
So it's looks like ModemManager is not trying to get the PIN code from NetworkManager settings.
Yes. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c10
Oliver Neukum
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c11
--- Comment #11 from Oliver Neukum
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c12
Oliver Neukum
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c13
--- Comment #13 from Jan Ritzerfeld
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c14
--- Comment #14 from Holger Sickenberg
There has been no answer for almost three months. However, does anyone still having problems with an updated 11.4?
Yes, still same behavior with updated 11.4. SIM PIN window appears with every start or resume. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c15
--- Comment #15 from Stefan Lijewski
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c16
Hans Petter Jansson
HPJ, it seems like the newer MM simply tries to do more upon device detection. Can you explain why that is happening?
I'm not sure what exactly this bug is about at this point - complete inability to unlock (as in the bug title), or just the annoying dialogs? The password dialogs seem to imply that we're missing some PolicyKit piece. The difference in the logs indicate that the old MM was not passing the PIN to the modem at all, while the new one is. It's an upstream change. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
From the end-user point of view: I plug the modem, dialog appears asking about PIN. After that another dialog asking for root password - but you must hurry, NetworkManager will not wait too long for your entry. In case where gsm range is poor after few minutes the modem disconnects and when it tries to connect again I will be asked about PIN and root pass once again. Yes, I can change my policykit to not be asked about passwd - but the PIN
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c17
Stefan Lijewski
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c
Oliver Neukum
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c18
--- Comment #18 from Hans Petter Jansson
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c19
--- Comment #19 from Stefan Lijewski
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c20
--- Comment #20 from Holger Sickenberg
Actually, it looks like the old ModemManager doesn't store the PIN anywhere. The difference may just be that the new version is more aggressive about inputting the PIN code when it's getting errors from the modem. Most likely this is because there are modems where it's hard to tell if you need to input the PIN or not, so the safest option is to just provide it.
The PIN is not stored anywhere, apparently because specs require it to be entered manually. Additionally, it's impossible to identify the SIM card prior to entering it, so an automatic storage mechanism has no reliable way to associate PIN numbers with SIM cards. However, according to the upstream mailing list, it's often possible to identify the *modem* and associate the PIN with that, which is good enough for most users.
For me the PIN is stored with the connection Data of Network Manager. Starting an connection is possible if I just click cancel at the PIN & root-password request windows. For versions of openSUSE I never had this behavior before (was using 11.3 & 11.1).
There's code to do just this in the upstream git repository. It might be possible to adapt it as a patch.
Could please you provide me the output from the following commands:
rpm -q ModemManager rpm -q --changelog ModemManager | head -20
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c21
Till Dörges
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c22
Rainer Sabelka
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c23
--- Comment #23 from Jan Ritzerfeld
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c
Jan Ritzerfeld
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c24
Holger Sickenberg
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c25
Jan Ritzerfeld
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c26
Holger Sickenberg
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c27
--- Comment #27 from Stefan Lijewski
https://bugzilla.novell.com/show_bug.cgi?id=668838
https://bugzilla.novell.com/show_bug.cgi?id=668838#c28
Jan Ritzerfeld
participants (1)
-
bugzilla_noreply@novell.com