Hi, I would expect that it works, when either there is no PIN on the SIM card or when the PIN is in the system configuration. If nm-applet is running it should also ask for the PIN, but nm-applet has unfortunately two PIN dialogs, the one that will be used here is not able to ask for a PUK in case the PIN is locked, neither will it save the PIN with the SIM card identifier, but it will save the PIN in system connection information.
So it is a good workaround for many cases, but from my point of view also not the real solution. Gerald From: Marius Kotsbak [mailto:[email protected]] Sent: Wednesday, August 29, 2012 9:28 AM To: Gerald Richter - ECOS Cc: [email protected] Subject: RE: PATCH: Auto-Enable WWAN after PIN entry On Jul 31, 2012 10:03 AM, <[email protected] <mailto:[email protected]> > wrote: > > Hi, > > > > > Looking at the patched code, the most likely cause I think is that I have > > disabled PIN check at the SIM card and then the patch code that hooks into > > the PIN dialog is never executed. > > [[GR]] That's right. As far as I see nm-applet will not get noticed when > there is no PIN required, so I don't see a chance to handle this case here. > This could of cause be solved, if we moved the code to network and modem > manger, as you and Dan already suggested. There is a script here that solves both the enabling and reconnection of the modem: http://www.thefanclub.co.za/how-to/how-auto-connect-ubuntu-1204-gsm-mobile-broadband-connection-on-boot-startup-service#version2 <http://www.thefanclub.co.za/how-to/how-auto-connect-ubuntu-1204-gsm-mobile-broadband-connection-on-boot-startup-service#version2> And since it only uses nmcli it seems like this is possible to solve without any modification of the applet or the api? Or does it not work if the modem requires a PIN? -- Marius
_______________________________________________ networkmanager-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/networkmanager-list
