Applies to · OpenWrt 23.05 / 24.10 · QMI · pin1_status
What to check
Distinguish three states: not_initialized, requires PIN, and PIN locked.
Connect over Ethernet and run the following commands in an SSH session on the router.
logread -e uqmi
ls /dev/cdc-wdm*
for device in /dev/cdc-wdm*; do
[ -c "$device" ] || continue
echo "$device"
uqmi -d "$device" -t 3000 --get-pin-status
uqmi -d "$device" -t 3000 --get-serving-system
uqmi -d "$device" -t 3000 --get-data-status
done
How to interpret the result
If the status is not_initialized, wait for the modem to start and read it again. This preserves the remaining attempts. Enter the known SIM PIN only if the modem explicitly requests it. Then check network registration and the data session.
Verify and recover
Verify registration and a working data session without consuming PIN attempts. Preserve the original APN and SIM settings.
Related guide · Compare QMI, MBIM and ECM latency on the same cell and modem
Comments