qmicli sometimes fails to connect

Aleksander Morgado aleksander at aleksander.es
Sat Jun 13 08:37:49 UTC 2020


>    1. Check an SD card is present (no point in hanging around otherwise):
>    qmicli --device=/dev/cdc-wdm0 --device-open-qmi --uim-get-card-status
>    2. Wait for GSM, WCDMA or LTE status to show available: qmicli -d
>    /dev/cdc-wdm0 --device-open-qmi --nas-get-system-info
>    3. Then connect: qmicli -d /dev/cdc-wdm0 --device-open-qmi --wds-start-network="ip-type=4,apn=internet"
>    --client-no-release-cid
That sounds fine, although instead of passing ip-type=4 in the Start
Network, I'd suggest to use:
qmicli --wds-set-ip-family=4 --client-no-release-cid
//Returns CID
qmicli --wds-start-network="ip-type=4,apn=internet" --client-no-release-cid

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20200613/bb581218/attachment.htm>

More information about the libqmi-devel mailing list