Wrong SIM-Pin not detected by MM?
- From: Thomas Bechtold <thomasbechtold jpberlin de>
- To: networkmanager-list <networkmanager-list gnome org>
- Subject: Wrong SIM-Pin not detected by MM?
- Date: Sun, 13 Nov 2011 18:49:22 +0100
Hi,
i tried NM 0.9 (latest from git) with MM 0.5 (from ubuntu 11.10) and
recognized that MM does not detect a wrong SIM-Pin (with a Nokia N900).
i used a wrong Pin (1234) and got the attached NM logs when i tried to
activate the connection with "nmcli con up id simyo".
NM output this: "GSM PIN unlock failed: (32) Unknown error". I think to
get a correct error mm_serial_parser_v1_parse () should handle the
serial response for 'AT+CPIN="1234"<CR>' correct. But currently i get:
######### MM log ############
[mm-at-serial-port.c:298] debug_log(): (ttyACM0): --> 'AT
+CPIN="1234"<CR>'
[mm-at-serial-port.c:298] debug_log(): (ttyACM0): <--
'<CR><LF>ERROR<CR><LF>'
[mm-serial-parsers.c:412] mm_serial_parser_v1_parse(): Got failure code
100: Unknown error
Are there any reasons why this response is not handled as an known
error? eg as MM_MOBILE_ERROR_WRONG_SIM_PIN.
Cheers,
Tom
######### NM log ############
NetworkManager[32314]: <info> Activation (ttyACM0) starting connection
'simyo'
NetworkManager[32314]: <info> (ttyACM0): device state change:
disconnected -> prepare (reason 'none') [30 40 0]
NetworkManager[32314]: <info> Activation (ttyACM0) Stage 1 of 5 (Device
Prepare) scheduled...
NetworkManager[32314]: <info> Activation (ttyACM0) Stage 1 of 5 (Device
Prepare) started...
NetworkManager[32314]: <info> (ttyACM0): device state change: prepare ->
need-auth (reason 'none') [40 60 0]
NetworkManager[32314]: <info> Activation (ttyACM0) Stage 1 of 5 (Device
Prepare) complete.
NetworkManager[32314]: <info> Activation (ttyACM0) Stage 1 of 5 (Device
Prepare) scheduled...
NetworkManager[32314]: <info> Activation (ttyACM0) Stage 1 of 5 (Device
Prepare) started...
NetworkManager[32314]: <info> (ttyACM0): device state change: need-auth
-> prepare (reason 'none') [60 40 0]
NetworkManager[32314]: <info> Activation (ttyACM0) Stage 1 of 5 (Device
Prepare) complete.
NetworkManager[32314]: <warn> GSM modem enable failed: (32) SIM PIN
required
NetworkManager[32314]: <warn> GSM PIN unlock failed: (32) Unknown error
NetworkManager[32314]: <warn> unmapped dbus error detected:
'org.freedesktop.ModemManager.Modem.Gsm.Unknown'
NetworkManager[32314]: <info> (ttyACM0): device state change: prepare ->
failed (reason 'modem-init-failed') [40 120 28]
NetworkManager[32314]: <warn> Activation (ttyACM0) failed.
NetworkManager[32314]: <info> (ttyACM0): device state change: failed ->
disconnected (reason 'none') [120 30 0]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]