Modem Troubleshooting
mmcli -L
Found 1 modems:
/org/freedesktop/ModemManager1/Modem/0 [Sierra Wireless, Incorporated] EM7565
mmcli -m 0
/org/freedesktop/ModemManager1/Modem/0 (device id '51fd0aad8fb4f35a5124319dd0b1f3419423cf72')
-------------------------
Hardware | manufacturer: 'Sierra Wireless, Incorporated'
| model: 'EM7565'
| revision: 'SWI9X50C_01.07.02.00 6c91bc jenkins 2018/06/13 23:08:16'
| supported: 'gsm-umts
| lte
| gsm-umts, lte'
| current: ‘gsm-umts, lte'
| equipment id: '359260080243113'
-------------------------
System | device: '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1.2'
| drivers: 'qcserial, qmi_wwan'
| plugin: 'Sierra EM7565'
| primary port: 'cdc-wdm0'
| ports: 'ttyUSB0 (qcdm), cdc-wdm0 (qmi), wwan0 (net)'
-------------------------
Numbers | own : '447432xxxxx'
-------------------------
Status | lock: 'sim-pin2'
| unlock retries: 'sim-pin (3), sim-pin2 (3), sim-puk (10), sim-puk2 (10)'
| state: 'registered’/’locked’/’connected’
| power state: 'on'
| access tech: 'lte'
| signal quality: '62' (recent)
-------------------------
Modes | supported: 'allowed: 2g, 3g, 4g; preferred: none'
| current: 'allowed: 2g, 3g, 4g; preferred: none'
-------------------------
Bands | supported: 'u2100, u1900, u17iv, u800, u850, u900, u17ix, eutran-i, eutran-ii, eutran-iii, eutran-iv, eutran-v, eutran-vii, eutran-viii, eutran-ix, eutran-xii, eutran-xiii, eutran-xviii, eutran-xix, eutran-xx, eutran-xli'
| current: 'u2100, u1900, u17iv, u800, u850, u900, u17ix, eutran-i, eutran-ii, eutran-iii, eutran-iv, eutran-v, eutran-vii, eutran-viii, eutran-ix, eutran-xii, eutran-xiii, eutran-xviii, eutran-xix, eutran-xx, eutran-xli'
-------------------------
IP | supported: 'ipv4, ipv6, ipv4v6'
-------------------------
3GPP | imei: 'xxxxxxxx'
| enabled locks: 'none’
| operator id: '23430'
| operator name: 'EE'
| subscription: 'unknown'
| registration: 'home'
-------------------------
SIM | path: '/org/freedesktop/ModemManager1/SIM/0'
-------------------------
Bearers | paths: '/org/freedesktop/ModemManager1/Bearer/0'
To unlock
mmcli -i 0 --pin=<PIN>
To remove PIN from SIM
mmcli -s 0 --pin=<PIN> --disable-pin
'2G' - 2G technologies, e.g. EDGE, CDMA1x
'3G' - 3G technologies, e.g. HSPA, EV-DO
'4G' - 4G technologies, e.g. LTE
'ANY' - for all supported modes.
mmcli -m 0 --list-bearers
Found 1 bearers:
/org/freedesktop/ModemManager1/Bearer/1
mcli -b 0
Bearer '/org/freedesktop/ModemManager1/Bearer/0'
-------------------------
Status | connected: 'no'
| suspended: 'no'
| interface: 'unknown'
| IP timeout: '20'
-------------------------
Properties | apn: 'broadband'
| roaming: 'allowed'
| IP type: 'ipv4'
| user: 'none'
| password: 'none'
| number: 'none'
| Rm protocol: 'unknown'
-------------------------
IPv4 configuration | method: 'unknown'
-------------------------
IPv6 configuration | method: 'unknown'
-------------------------
Stats | Duration: '1500'
| Bytes received: '17606'
| Bytes transmitted: '17756'
mmcli -m 0 --3gpp-scan --timeout=300
Found 9 networks:
23420 - 3 UK (umts, forbidden)
23415 - voda UK (lte, forbidden)
23432 - 234 32 (lte, forbidden)
23410 - O2 - UK (lte, forbidden)
23415 - voda UK (umts, forbidden)
23410 - O2 - UK (umts, forbidden)
23420 - 3 UK (lte, forbidden)
23430 - EE (umts, available)
23430 - EE (lte, current)
mmcli -m 0 --simple-connect="operator-id=23430, apn=broadband" --verbose
[16 Dec 2019, 13:13:13] [Debug] Forcing request to be run asynchronously
[16 Dec 2019, 13:13:13] [Debug] Assuming '0' is the modem index
[16 Dec 2019, 13:13:13] [Debug] ModemManager process found at ':1.1'
[16 Dec 2019, 13:13:13] [Debug] Modem found at '/org/freedesktop/ModemManager1/Modem/0’
[16 Dec 2019, 13:13:13] [Debug] Asynchronously connecting the modem...
successfully connected the modem
mmcli -m 0 --simple-disconnect
mmcli -m 0 --simple-status
/org/freedesktop/ModemManager1/Modem/0
-------------------------
Status | state: 'connected’/’registered’
| signal quality: '65' (recent)
| bands: 'u2100, u1900, u17iv, u800, u850, u900, u17ix, eutran-i, eutran-ii, eutran-iii, eutran-iv, eutran-v, eutran-vii, eutran-viii, eutran-ix, eutran-xii, eutran-xiii, eutran-xviii, eutran-xix, eutran-xx, eutran-xli'
| access tech: 'lte'
-------------------------
3GPP | registration: 'home'
| operator code: '23430'
| operator name: 'EE'
| subscription: 'unknown’
Details of modem/SIM(s) is/are located in:
/etc/NetworkManager/system-connections/’name of LTE connection’
Signal strength
qmicli -d /dev/cdc-wdm0 --device-open-proxy --nas-get-signal-info