Never reconnected after SIM desactivate/activate
Herve Patriarche
herve.patriarche at wattsense.com
Tue Jun 29 15:38:23 UTC 2021
Hello,
Desactivate SIM from operator lead to Status state enabled after a while.
But when activate SIM again, it loops between those states:
Jun 29 15:23:11 ws-box-v1.3 ModemManager[630]: <info> [modem1] simple
connect started...
Jun 29 15:23:11 ws-box-v1.3 ModemManager[630]: <info> [modem1] simple
connect state (4/8): wait to get fully enabled
Jun 29 15:23:11 ws-box-v1.3 ModemManager[630]: <info> [modem1] simple
connect state (5/8): register
Jun 29 15:23:11 ws-box-v1.3 ModemManager[630]: <info> [modem1] simple
connect state (6/8): bearer
Jun 29 15:23:11 ws-box-v1.3 ModemManager[630]: <info> [modem1] simple
connect state (7/8): connect
Jun 29 15:23:11 ws-box-v1.3 ModemManager[630]: <info> [modem1] state
changed (enabled -> connecting)
Jun 29 15:23:11 ws-box-v1.3 ModemManager[630]: <info> [modem1/bearer52]
couldn't start network: QMI protocol error (14): 'CallFailed'
Jun 29 15:23:11 ws-box-v1.3 ModemManager[630]: <info> [modem1/bearer52]
call end reason (3): generic-no-service
Jun 29 15:23:11 ws-box-v1.3 ModemManager[630]: <info> [modem1/bearer52]
verbose call end reason (2,231): [internal] ip-version-mismatch
Jun 29 15:23:11 ws-box-v1.3 ModemManager[630]: <warn> [modem1/bearer52]
connection attempt #1 failed: QMI protocol error (14): 'CallFailed'
Jun 29 15:23:11 ws-box-v1.3 ModemManager[630]: <info> [modem1] state
changed (connecting -> enabled)
Jun 29 15:23:11 ws-box-v1.3 ModemManager[630]: <info> [modem1/bearer52]
connection #1 finished: duration 0s, tx: 0 bytes, rx :0 bytes
3GPP bearer is connected
Status | lock: sim-pin2
| unlock retries: sim-pin (3), sim-puk (10),
sim-pin2 (3), sim-puk2 (10)
| state: enabled
| power state: on
| access tech: umts
| signal quality: 65% (recent)
-----------------------------------
3GPP EPS | ue mode of operation: csps-2
| initial bearer path:
/org/freedesktop/ModemManager1/Bearer/21
| initial bearer ip type: ipv4
-----------------------------------
SIM | primary sim path: /org/freedesktop/ModemManager1/SIM/1
| sim slot paths: slot 1:
/org/freedesktop/ModemManager1/SIM/1 (active)
| slot 2: none
-----------------------------------
Bearer | paths:
/org/freedesktop/ModemManager1/Bearer/52
| /org/freedesktop/ModemManager1/Bearer/22
------------------------
General | path: /org/freedesktop/ModemManager1/Bearer/21
| type: default-attach
------------------------
Status | connected: yes
| suspended: no
| ip timeout: 20
------------------------
Properties | apn: iot.1nce.net
| ip type: ipv4
Only a modem reset allow to get connectivity back:
mmcli -m X -r
Jun 29 15:26:14 ws-box-v1.3 ModemManager[630]: <warn> [modem2/sim2]
couldn't load list of emergency numbers: uninitialized emergency numbers
list
Jun 29 15:26:14 ws-box-v1.3 ModemManager[630]: <warn> [modem2/sim2]
couldn't load list of emergency numbers: uninitialized emergency numbers
list
Jun 29 15:26:14 ws-box-v1.3 ModemManager[630]: <warn> [modem2] couldn't
load list of own numbers: Couldn't get MSISDN: QMI protocol error (16):
'NotProvisioned'
Jun 29 15:26:15 ws-box-v1.3 ModemManager[630]: <warn> [modem2] couldn't
load supported assistance data types: LOC service: general failure
Jun 29 15:26:15 ws-box-v1.3 ModemManager[630]: <info> [modem2] state
changed (unknown -> disabled)
Jun 29 15:26:15 ws-box-v1.3 ModemManager[630]: <info> [modem2] state
changed (disabled -> enabling)
Jun 29 15:26:15 ws-box-v1.3 ModemManager[630]: <info> [modem2] power
state updated: on
Jun 29 15:26:16 ws-box-v1.3 ModemManager[630]: <info> [modem2] state
changed (enabling -> enabled)
Jun 29 15:26:16 ws-box-v1.3 ModemManager[630]: <info> [modem2] 3GPP
registration state changed (unknown -> registering)
Jun 29 15:26:16 ws-box-v1.3 ModemManager[630]: <info> [modem2] 3GPP
registration state changed (registering -> roaming)
Jun 29 15:26:16 ws-box-v1.3 ModemManager[630]: <info> [modem2] state
changed (enabled -> registered)
Jun 29 15:26:27 ws-box-v1.3 ModemManager[630]: <info> [modem2] 3GPP
registration state changed (roaming -> registering)
Jun 29 15:26:27 ws-box-v1.3 ModemManager[630]: <info> [modem2] 3GPP
registration state changed (registering -> home)
Jun 29 15:28:11 ws-box-v1.3 ModemManager[630]: <info> [modem2] simple
connect state (4/8): wait to get fully enabled
Jun 29 15:28:11 ws-box-v1.3 ModemManager[630]: <info> [modem2] simple
connect state (5/8): register
Jun 29 15:28:11 ws-box-v1.3 ModemManager[630]: <info> [modem2] simple
connect state (6/8): bearer
Jun 29 15:28:11 ws-box-v1.3 ModemManager[630]: <info> [modem2] simple
connect state (7/8): connect
Jun 29 15:28:11 ws-box-v1.3 ModemManager[630]: <info> [modem2] state
changed (registered -> connecting)
Jun 29 15:28:11 ws-box-v1.3 ModemManager[630]: [/dev/cdc-wdm0]
Allocating new client ID...
Jun 29 15:28:11 ws-box-v1.3 ModemManager[630]: [/dev/cdc-wdm0]
Registered 'wds' (version 1.67) client with ID '18'
Jun 29 15:28:11 ws-box-v1.3 ModemManager[630]: <info> [modem2/bearer54]
QMI IPv4 Settings:
Jun 29 15:28:11 ws-box-v1.3 ModemManager[630]: <info>
[modem2/bearer54] address: X.X.X.X
Jun 29 15:28:11 ws-box-v1.3 ModemManager[630]: <info>
[modem2/bearer54] gateway: X.X.X.X
Jun 29 15:28:11 ws-box-v1.3 ModemManager[630]: <info>
[modem2/bearer54] DNS #1: X.X.X.X
Jun 29 15:28:11 ws-box-v1.3 ModemManager[630]: <info>
[modem2/bearer54] DNS #2: X.X.X.X
Jun 29 15:28:11 ws-box-v1.3 ModemManager[630]: <info>
[modem2/bearer54] MTU: 1430
Can you explain why a modem reset is required ?
Thanks,
Herve P.
More information about the ModemManager-devel
mailing list