LTE modem configuration - UQMI update?

Hi
I think the best way to configure an LTE modem is to use APN profiles.
An LTE modem must have a valid APN profile to be able to register to the cellular network. A 3G modem can register without an APN.

My proposal is:

  1. Set the modem in flight mode
uqmi -d /dev/cdc-wdm0 --set-device-operating-mode low_power
  1. Configure the default APN profile
root@OpenWrt:/tmp# uqmi -d /dev/cdc-wdm0 --get-default-profile-num 3gpp
{
        "default-profile": 1
}
root@OpenWrt:/tmp# uqmi -d /dev/cdc-wdm0 --get-profile-settings 3gpp,1
{
        "apn": "internet.com",
        "pdp-type": "ipv4",
        "username": "",
        "password": "",
        "auth": "none"
}
root@OpenWrt:/tmp# uqmi -d /dev/cdc-wdm0 --modify-profile 3gpp,1 --apn internet --pdp-type ipv6
root@OpenWrt:/tmp# uqmi -d /dev/cdc-wdm0 --get-profile-settings 3gpp,1
{
        "apn": "internet",
        "pdp-type": "ipv6",
        "username": "",
        "password": "",
        "auth": "none"
}
  1. Turn off flight mode
uqmi -d /dev/cdc-wdm0 --set-device-operating-mode online
  1. Start the "Network"
uqmi -d /dev/cdc-wdm0 --start-network  --set-client-id wds,2

The commands for printing and modifying the APN profile are still in my local UQMI version.
I will try to get them approved in the official UQMI. Is there a mailing-list to sent it to?

I would be happy if you could help me to print the default APN number and profile for you device with:

qmicli -d /dev/cdc-wdm0 --wds-get-default-profile-num=3gpp
qmicli -d /dev/cdc-wdm0 --wds-get-default-settings=3gpp

Any comments or thoughts?

Since it is a OpenWrt-developed application, https://git.openwrt.org/project/uqmi.git send to openwrt-devel mailing list https://lists.openwrt.org/mailman/listinfo

Also this question you posted in the forum is probably can go on the mailing list too

1 Like