wb_editors
902
правки
Brainroot (обсуждение | вклад) (Добавил раздел про диагностику) |
Brainroot (обсуждение | вклад) (→Диагностика: по отказ регистрации.) |
||
Строка 126: | Строка 126: | ||
==Диагностика== | ==Диагностика== | ||
Процесс установки соединения в общем случае проходит в нсколько этапов. | Процесс установки соединения в общем случае проходит в нсколько этапов. | ||
Для наблюдения можно использовать [[journalctl]] | |||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||
# journalctl -u ModemManager -f | # journalctl -u ModemManager -f | ||
</syntaxhighlight> | |||
Нормальный (Успешный) процесс установки соединения выглядит так: | |||
<syntaxhighlight lang="console"> | |||
Oct 03 07:02:01 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] state changed (disconnecting -> registered) | |||
Oct 03 07:02:08 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] mobile equipment request to activate context (cid 9) | |||
Oct 03 07:02:18 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] simple connect started... | |||
Oct 03 07:02:18 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] simple connect state (6/10): register | |||
Oct 03 07:02:18 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] simple connect state (7/10): wait to get packet service state attached | |||
Oct 03 07:02:18 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] simple connect state (8/10): bearer | |||
Oct 03 07:02:18 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] simple connect state (9/10): connect | |||
Oct 03 07:02:18 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] state changed (registered -> connecting) | |||
Oct 03 07:02:19 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] state changed (connecting -> connected) | |||
Oct 03 07:02:19 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] simple connect state (10/10): all done | |||
Oct 03 07:02:22 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] simple connect started... | |||
Oct 03 07:02:22 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] simple connect state (6/10): register | |||
Oct 03 07:02:22 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] simple connect state (7/10): wait to get packet service state attached | |||
Oct 03 07:02:22 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] simple connect state (8/10): bearer | |||
Oct 03 07:02:22 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] simple connect state (9/10): connect | |||
Oct 03 07:02:22 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] simple connect state (10/10): all done | |||
Oct 03 07:02:22 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] mobile equipment request to activate context (cid 9) | |||
Oct 03 07:02:33 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] state changed (connected -> disconnecting) | |||
Oct 03 07:02:34 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] mobile equipment request to deactivate context (cid 9) | |||
Oct 03 07:02:34 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0/bearer0] explicitly disconnected | |||
Oct 03 07:02:34 wirenboard-AWI3MCGC ModemManager[388]: <info> [modem0] state changed (disconnecting -> registered) | |||
</syntaxhighlight> | |||
Тут этап регистрации в сети оператора отображается | |||
<syntaxhighlight lang="console"> | |||
simple connect state (6/10): register | |||
</syntaxhighlight> | |||
Если выглядит так: | |||
<syntaxhighlight lang="console"> | |||
Nov 07 10:01:16 wirenboard-AWI3MCGC ModemManager[371]: <info> [modem1] simple connect state (6/10): register | |||
Nov 07 10:01:17 wirenboard-AWI3MCGC ModemManager[371]: <info> [modem1] 3GPP registration state changed (idle -> denied) | |||
Nov 07 10:01:17 wirenboard-AWI3MCGC ModemManager[371]: <info> [modem1] 3GPP registration state changed (denied -> idle) | |||
Nov 07 10:01:17 wirenboard-AWI3MCGC ModemManager[371]: <info> [modem1] 3GPP registration state changed (idle -> denied) | |||
Nov 07 10:01:17 wirenboard-AWI3MCGC ModemManager[371]: <info> [modem1] 3GPP registration state changed (denied -> idle) | |||
</syntaxhighlight> | |||
то оператор явно отказывает SIM в регистрации в домашней сети. | |||
<syntaxhighlight lang="console"> | |||
</syntaxhighlight> | </syntaxhighlight> | ||