Unable to get IPv4 over LTE

Bjørn Mork bjorn at mork.no
Sun Jan 24 13:19:15 PST 2016


Vincent Bernat <bernat at luffy.cx> writes:
>  ❦ 20 janvier 2016 09:58 +0100, Bjørn Mork <bjorn at mork.no> :
>
>> A firmware update will probably help on stability, but I don't think
>> they've ever fixed the "wrong APN" bug I refer to above.  Not that I've
>> bothered reporting it either.  Sierra doesn't want to support this modem
>> directly (which I can understand) and refer to Lenovo for support. And I
>> don't know where to start there.. Besides, I suspect this is really an
>> Intel bug.  Maybe someone here with an XMM7160 modem from another vendor
>> can confirm?
>
> After many difficulties, I was able to update the firmware to the most
> available version (from 1.1 something to 1.2 WW 01.1529.05). The situation
> is better on some aspects (the modem doesn't crash on resume anymore),
> however, I am not able to register on the home network and I don't know
> why:
>
> ModemManager[4496]: <info>  [1453638944.349427] [mm-iface-modem-3gpp.c:1164] update_registration_state(): Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (denied -> registering)
> ModemManager[4496]: <debug> [1453638944.349492] [mm-iface-modem.c:894] mm_iface_modem_update_access_technologies(): Modem /org/freedesktop/ModemManager1/Modem/0: access technology changed (unknown -> hsdpa, hsupa)
> ModemManager[4496]: <debug> [1453638944.349557] [mm-iface-modem-location.c:295] notify_3gpp_location_update(): Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP location updated (MCC: '228', MNC: '2', Location area code: '0', Cell ID: '0')
> ModemManager[4496]: <info>  [1453638944.349870] [mm-iface-modem-3gpp.c:1089] update_registration_reload_current_registration_info_ready(): Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (registering -> home)
> ModemManager[4496]: <info>  [1453638944.349922] [mm-iface-modem.c:1392] __iface_modem_update_state_internal(): Modem /org/freedesktop/ModemManager1/Modem/0: state changed (enabled -> registered)
> ModemManager[4496]: <debug> [1453638944.350094] [mm-iface-modem.c:1036] periodic_access_technologies_check_enable(): Periodic access technology checks enabled
> ModemManager[4496]: [/dev/cdc-wdm0] Received message...
>>>>>>> RAW:
>>>>>>>   length = 64
>>>>>>>   data   = 07:00:00:80:40:00:00:00:00:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0B:00:00:00:14:00:00:00:05:00:00:00:04:00:00:00:3C:00:00:00:02:00:00:00:FF:FF:00:00
> ModemManager[4496]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>>> Header:
>>>>>>>   length      = 64
>>>>>>>   type        = indicate-status (0x80000007)
>>>>>>>   transaction = 0
>>>>>>> Fragment header:
>>>>>>>   total   = 1
>>>>>>>   current = 0
>>>>>>> Contents:
>>>>>>>   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>>   cid     = 'signal-state' (0x0000000b)
> ModemManager[4496]: <debug> [1453638948.324185] [mm-broadband-modem-mbim.c:1934] device_notification_cb(): Received notification (service 'basic-connect', command 'signal-state')
> ModemManager[4496]: <debug> [1453638948.324209] [mm-broadband-modem-mbim.c:1547] basic_connect_notification_signal_state(): Signal state indication: 5 --> 16%
> ModemManager[4496]: <debug> [1453638948.324321] [mm-iface-modem.c:1165] update_signal_quality(): Modem /org/freedesktop/ModemManager1/Modem/0: signal quality updated (16)
> ModemManager[4496]: [/dev/cdc-wdm0] Received message...
>>>>>>> RAW:
>>>>>>>   length = 72
>>>>>>>   data   = 07:00:00:80:48:00:00:00:00:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0A:00:00:00:1C:00:00:00:00:00:00:00:02:00:00:00:04:00:00:00:00:DC:05:00:00:00:00:00:00:DC:05:00:00:00:00:00
> ModemManager[4496]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>>> Header:
>>>>>>>   length      = 72
>>>>>>>   type        = indicate-status (0x80000007)
>>>>>>>   transaction = 0
>>>>>>> Fragment header:
>>>>>>>   total   = 1
>>>>>>>   current = 0
>>>>>>> Contents:
>>>>>>>   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>>   cid     = 'packet-service' (0x0000000a)
> ModemManager[4496]: <debug> [1453638948.425132] [mm-broadband-modem-mbim.c:1934] device_notification_cb(): Received notification (service 'basic-connect', command 'packet-service')
> ModemManager[4496]: <debug> [1453638948.425157] [mm-broadband-modem-mbim.c:1749] basic_connect_notification_packet_service(): Packet service state: 'attached', data class: 'umts'
> ModemManager[4496]: <debug> [1453638948.425247] [mm-iface-modem.c:894] mm_iface_modem_update_access_technologies(): Modem /org/freedesktop/ModemManager1/Modem/0: access technology changed (hsdpa, hsupa -> umts)
> ModemManager[4496]: [/dev/cdc-wdm0] Received message...
>>>>>>> RAW:
>>>>>>>   length = 72
>>>>>>>   data   = 07:00:00:80:48:00:00:00:00:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0A:00:00:00:1C:00:00:00:00:00:00:00:01:00:00:00:00:00:00:00:80:F0:FA:02:00:00:00:00:00:E1:F5:05:00:00:00:00
> ModemManager[4496]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>>> Header:
>>>>>>>   length      = 72
>>>>>>>   type        = indicate-status (0x80000007)
>>>>>>>   transaction = 0
>>>>>>> Fragment header:
>>>>>>>   total   = 1
>>>>>>>   current = 0
>>>>>>> Contents:
>>>>>>>   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>>   cid     = 'packet-service' (0x0000000a)
> ModemManager[4496]: <debug> [1453638948.933104] [mm-broadband-modem-mbim.c:1934] device_notification_cb(): Received notification (service 'basic-connect', command 'packet-service')
> ModemManager[4496]: <debug> [1453638948.933116] [mm-broadband-modem-mbim.c:1749] basic_connect_notification_packet_service(): Packet service state: 'attaching', data class: '(null)'
> ModemManager[4496]: [/dev/cdc-wdm0] Received message...
>>>>>>> RAW:
>>>>>>>   length = 92
>>>>>>>   data   = 07:00:00:80:5C:00:00:00:00:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:09:00:00:00:30:00:00:00:13:00:00:00:06:00:00:00:01:00:00:00:20:00:00:00:01:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:02:00:00:00
> ModemManager[4496]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>>> Header:
>>>>>>>   length      = 92
>>>>>>>   type        = indicate-status (0x80000007)
>>>>>>>   transaction = 0
>>>>>>> Fragment header:
>>>>>>>   total   = 1
>>>>>>>   current = 0
>>>>>>> Contents:
>>>>>>>   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>>   cid     = 'register-state' (0x00000009)
> ModemManager[4496]: <debug> [1453638949.034146] [mm-broadband-modem-mbim.c:1934] device_notification_cb(): Received notification (service 'basic-connect', command 'register-state')
> ModemManager[4496]: <info>  [1453638949.034167] [mm-iface-modem-3gpp.c:1179] update_registration_state(): Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (home -> denied)
> ModemManager[4496]: <debug> [1453638949.034213] [mm-iface-modem-location.c:295] notify_3gpp_location_update(): Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP location updated (MCC: '0', MNC: '0', Location area code: '0', Cell ID: '0')
> ModemManager[4496]: <debug> [1453638949.034265] [mm-iface-modem.c:894] mm_iface_modem_update_access_technologies(): Modem /org/freedesktop/ModemManager1/Modem/0: access technology changed (umts -> unknown)
>
> I am being "denied" by 3GPP. What could be the cause? MCC and MNC are
> correct.

Sorry, I'm totallt lost here.  AFAICS, you get the NwError code '19' here:

07:00:00:80:5C:00:00:00:00:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:09:00:00:00:30:00:00:00:13:00:00:00:06:00:00:00:01:00:00:00:20:00:00:00:01:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:02:00:00:00

which is decoded to (without the header):


MBIM_CID_REGISTER_STATE (9)
InformationBuffer [48]:
    NwError:    19 ()
    RegisterState:      6 (MBIMRegisterStateDenied)
    RegisterMode:       1 (MBIMRegisterModeAutomatic)
    AvailableDataClasses:       0x00000020 LTE
    CurrentCellularClass:       0x00000001 GPRS
    ProviderId: [0] <none>
    ProviderName:       [0] <none>
    RoamingtText:       [0] <none>
    RegistrationFlag:   0x00000002



But I cannot find that code defined anywhere.  It is not listed in the
MBIM spec, and it is not listed in 3GPP TS 24.008, AFAICS.  Very weird.

Did you force the modem to a non-LTE network here?  If so, then maybe it
helps to let it register in the LTE network?


Bjørn


More information about the ModemManager-devel mailing list