i was not able to initiate a connection. The simcard is working fine in a cell phone. i tried several different and even empty apn settings but it is not working.
BusyBox v1.33.2 (2022-02-16 20:29:10 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 21.02.2, r16495-bf0c965af0
-----------------------------------------------------
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-device-operating-mode
"online"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --set-device-operating-mode low_power
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-device-operating-mode
"low_power"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --network-scan
"Invalid arguments given"
root@openwrt:~# uci show network.LTE
network.LTE=interface
network.LTE.proto='qmi'
network.LTE.device='/dev/cdc-wdm0'
network.LTE.auth='none'
network.LTE.pdptype='ipv4'
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-plmn
{
"mode": "automatic"
}
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-signal-info
"Information unavailable"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-lte-cphy-ca-info
"Invalid QMI command"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-tx-rx-info gsm
"No radio"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-tx-rx-info umts
"No radio"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-tx-rx-info lte
"No radio"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --network-scan
"Invalid arguments given"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --network-register
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --network-scan
"Invalid arguments given"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-serving-system
{
"registration": "not_registered"
}
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --set-network-roaming any
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-capabilities
{
"max_tx_channel_rate": 50000000,
"max_rx_channel_rate": 100000000,
"data_service": "non_simultaneous_cs_ps",
"sim": "supported",
"networks": [
"umts",
"lte"
]
}
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-current-settings
After this, no respond and console is hanging. After 'CTRL-C' "Failed to connect to service", i did a Power reset again.
root@openwrt:~# logread | grep LTE
Sat May 7 13:23:00 2022 daemon.notice netifd: Interface 'LTE' is setting up now
Sat May 7 13:23:00 2022 daemon.notice netifd: LTE (2418): PINcode disabled
Sat May 7 13:23:00 2022 daemon.notice netifd: LTE (2418): Data format set to raw-ip
Sat May 7 13:23:00 2022 daemon.notice netifd: LTE (2418): Default profile number: 1
Sat May 7 13:23:01 2022 daemon.notice netifd: LTE (2418): Airplane mode off
Sat May 7 13:23:02 2022 daemon.notice netifd: LTE (2418): searching on
Sat May 7 13:23:05 2022 daemon.notice netifd: LTE (2418): searching on
Sat May 7 13:23:08 2022 daemon.notice netifd: LTE (2418): searching on
Sat May 7 13:23:11 2022 daemon.notice netifd: LTE (2418): searching on
Sat May 7 13:23:14 2022 daemon.notice netifd: LTE (2418): searching on
Sat May 7 13:23:18 2022 daemon.notice netifd: LTE (2418): searching on
Sat May 7 13:23:21 2022 daemon.notice netifd: LTE (2418): searching on
Sat May 7 13:23:24 2022 daemon.notice netifd: LTE (2418): searching on
Sat May 7 13:23:27 2022 daemon.notice netifd: LTE (2418): searching on
Sat May 7 13:23:30 2022 daemon.notice netifd: LTE (2418): searching on
Sat May 7 13:23:33 2022 daemon.notice netifd: LTE (2418): searching on
Sat May 7 13:23:36 2022 daemon.notice netifd: LTE (2418): searching on
Sat May 7 13:23:39 2022 daemon.notice netifd: LTE (2418): searching on
Sat May 7 13:23:42 2022 daemon.notice netifd: LTE (2418): not_registered on
Sat May 7 13:23:46 2022 daemon.notice netifd: LTE (2418): not_registered on
Sat May 7 13:23:49 2022 daemon.notice netifd: LTE (2418): not_registered on
Sat May 7 13:23:52 2022 daemon.notice netifd: LTE (2418): not_registered on
Sat May 7 13:23:55 2022 daemon.notice netifd: LTE (2418): not_registered on
Sat May 7 13:23:58 2022 daemon.notice netifd: LTE (2418): not_registered on
Sat May 7 13:24:01 2022 daemon.notice netifd: LTE (2418): not_registered on
Hi uqmi -d /dev/cdc-wdm0 --get-device-operating-mode should be in "online". Sorry if I was unclear.
After uqmi -d /dev/cdc-wdm0 --set-device-operating-mode online run uqmi -d /dev/cdc-wdm0 --network-scan
Sorry for the delay, I have been playing this weekend with the router and I have successfully working.
I'm not sure if it's a coincidence but what I did was:
1. Reset the router with factory defaults (I flashed again)
2. opkg update
3. opkg install usb-modeswitch kmod-mii kmod-usb-net kmod-usb-wdm kmod-usb-net-qmi-wwan luci-proto-qmi
4. This is the step that I did different, I've installed 2022-03-15-0.4 instead of the latest one:
wget https://github.com/mrhaav/openwrt/raw/master/21.02.2/uqmi_2022-03-15-0.4_mipsel_24kc.ipk
opkg install uqmi_2022-03-15-0.4_mipsel_24kc.ipk
rm uqmi_2022-03-15-0.4_mipsel_24kc.ipk
reboot
5. Setup the interface through luci