RE: PATCH / no gsm unlock
- From: richter ecos de
- To: Dan Williams <dcbw redhat com>
- Cc: "networkmanager-list gnome org" <networkmanager-list gnome org>
- Subject: RE: PATCH / no gsm unlock
- Date: Thu, 22 Sep 2011 19:47:40 +0200
Hi,
you are totally right that using the SIM identifier is the right solution. I am aware of this fact, but I have the same problem as you: missing time.
Even the problem is a little bit more complicated for us, because, at least sometimes, the PIN is brought into the configuration from a different configuration system via DBUS. This system does not know the SIM ID and there is nobody to type in the initial PIN. Maybe the PIN could be automatically attached to the SIM Identifier after the first successful login (which might be because of a PIN saved in the connection).
My patch solved my problem for now, without costing too much time, to get a proper solution, but I keep this in mind if there is some free time.
Gerald
> -----Original Message-----
> From: Dan Williams [mailto:dcbw redhat com]
> Sent: Thursday, September 15, 2011 5:30 PM
> To: Gerald Richter - ECOS
> Cc: networkmanager-list gnome org
> Subject: Re: PATCH / no gsm unlock
>
> On Thu, 2011-09-15 at 17:24 +0200, richter ecos de wrote:
> > Hi,
> >
> > sometime ago I ask for some way to disable the initial PIN dialog for
> situations where an automatic UMTS connection should be initiated and the
> PIN is already saved in the connection.
> >
> > Attached is a patch that adds this functionality to nm-applet. It only brings
> up the initial dialog if a PUK is required, but not if only the PIN is required.
>
> The best solution here is to use the ModemManager "SIM Identifier" (or if
> not available the "Device Identifier") properties to recognize the SIM. The
> first time, the applet would pop up the dialog and ask you for the PIN. It
> would save this PIN into the keyring along with the SIM identifier and device
> identifier. Next time you plug the modem in, it would look in the keyring for
> the SIM ID and send that PIN to modem-manager, without showing the
> dialog. That's the preferred way of doing it I think. Shouldn't be too hard to
> do, but I've had no time to do it.
>
> THe problem with the PIN in the connection is that connections can apply to
> more than one device, and the connection is independent of the SIM.
> The PIN is specific to the SIM. So if you swap SIM cards and the new SIM has
> a different PIN, then NM would try to send the wrong PIN. Hence the
> modifications I did for MM 0.5 that provide a SIM ID and Device ID.
>
> Dan
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]