#755236 /usr/sbin/NetworkManager: Huawei 3G initial state is locked in modemmaNager 1.2.0. networkmanager 0.9.10 fails to enable it

Package:
network-manager
Source:
network-manager
Description:
network management framework (daemon and userspace tools)
Submitter:
Pauli
Date:
2014-12-17 15:36:04 UTC
Severity:
normal
#755236#5
Date:
2014-07-19 00:26:36 UTC
From:
To:
Dear Maintainer,

Huawei 3G modem (used in mbim mode) requires a pin before usage. Modemmanager
notices the issue from 'PinRequired' and sets the device state to the
locked state. At this point NetworkManager knows about the 3G modem and
locked state. But for some reason it decides not to send pin to
modemmanager when I request NetworkManager to connect to 3G network.

The modem has been connecting without problems with earlier versions of
modemmanager and NetworkManager but then it was always in the older ncm
mode. But the ncm modem has also became problematic with the latest
iteration because mbim mode is now default and there is also some
unlocking issues in manually set ncm mode.

There exists simple workaround with mbimcli because it allows mannual
control of the modem. It is simple to enter the pin from command line
and then restart modemmamager to make it notice that modem has been
unloked. (without modemmamager restart connection request fails from
NetworkManager exactly same way as with locked modem)

I have no idea so far if this issue has been addressed in a newer
version already.

But when I last tested same modem in Ubuntu 14.04 system it worked
without unlocking issues. But I don't know what version or setting
differences there is.

#755236#10
Date:
2014-12-17 15:32:18 UTC
From:
To:
Hi,

I encounter the same issue. What work as well is to set up a new
connexion. Then somehow the modem is unlocked, and it will work. However
the new connexion won't be usable on next usb modem insertion because of
the pin/lock issue. So now I have a log of unusable connexions each time
I insert the card.

The pin is asked from the user, the device is unlocked (usable with
gsmctl), but network-manager won't connect.

It is possible to work around this by disabling the PIN code on the sim
card, for instance with gsmctl, or a serial console with AT commands.

Cheers,