EC25 unstable connection to the LTE network

cat quectel.log

[02-03_21:37:48:523] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x005

[02-03_21:37:48:523] Auto find qmichannel = /dev/cdc-wdm0

[02-03_21:37:48:523] Auto find usbnet_adapter = wwan0

[02-03_21:37:49:174] netcard driver = qmi_wwan, driver version = 5.10.103-v7l+

[02-03_21:37:49:174] Modem works in QMI mode

[02-03_21:37:49:198] cdc_wdm_fd = 8

[02-03_21:37:49:296] Get clientWDS = 5

[02-03_21:37:49:328] Get clientDMS = 1

[02-03_21:37:49:361] Get clientNAS = 2

[02-03_21:37:49:392] Get clientUIM = 1

[02-03_21:37:49:430] Get clientWDA = 1

[02-03_21:37:49:456] requestBaseBandVersion EC25EUXGAR08A14M1G

[02-03_21:37:49:584] requestGetSIMStatus SIMStatus: SIM_READY

[02-03_21:37:49:585] requestSetProfile[1] internet///0

[02-03_21:37:49:648] requestGetProfile[1] internet///0

[02-03_21:37:49:680] requestRegistrationState2 MCC: 286, MNC: 1, PS: Attached, DataCap: LTE

[02-03_21:37:49:712] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED

[02-03_21:37:49:713] ifconfig wwan0 down

[02-03_21:37:49:719] ifconfig wwan0 0.0.0.0

[02-03_21:37:49:776] requestSetupDataCall WdsConnectionIPv4Handle: 0x86e69e10

[02-03_21:37:49:904] ifconfig wwan0 up

[02-03_21:37:49:910] busybox udhcpc -f -n -q -t 5 -i wwan0

[02-03_21:38:05:575] File:ql_raw_ip_mode_check Line:105 udhcpc fail to get ip address, try next:

[02-03_21:38:05:575] ifconfig wwan0 down

[02-03_21:38:05:589] echo Y > /sys/class/net/wwan0/qmi/raw_ip

[02-03_21:38:05:589] ifconfig wwan0 up

[02-03_21:38:05:601] busybox udhcpc -f -n -q -t 5 -i wwan0

[02-03_21:38:12:984] requestDeactivateDefaultPDP WdsConnectionIPv4Handle

[02-03_21:38:13:017] ifconfig wwan0 down

[02-03_21:38:13:027] ifconfig wwan0 0.0.0.0

[02-03_21:38:13:209] QmiWwanThread exit

[02-03_21:38:13:209] qmi_main exit

[02-03_21:40:54:278] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x005

[02-03_21:40:54:278] Auto find qmichannel = /dev/cdc-wdm0

[02-03_21:40:54:278] Auto find usbnet_adapter = wwan0

[02-03_21:40:54:278] netcard driver = qmi_wwan, driver version = 5.10.103-v7l+

[02-03_21:40:54:279] Modem works in QMI mode

[02-03_21:40:54:295] cdc_wdm_fd = 8

[02-03_21:40:54:295] QmiWwanThread read=0 errno: 0 (Success)

[02-03_21:40:55:295] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:40:57:295] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:40:59:296] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:01:296] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:03:296] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:05:297] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:07:297] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:09:297] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:11:297] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:13:298] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:14:298] qmi_main Failed to qmi init: 22 (Invalid argument)

I am rebooting device, out of 10 reboot quectel cannot get internet and writes thoose.

More log to check

[02-03_21:37:48:523] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x005

[02-03_21:37:48:523] Auto find qmichannel = /dev/cdc-wdm0

[02-03_21:37:48:523] Auto find usbnet_adapter = wwan0

[02-03_21:37:49:174] netcard driver = qmi_wwan, driver version = 5.10.103-v7l+

[02-03_21:37:49:174] Modem works in QMI mode

[02-03_21:37:49:198] cdc_wdm_fd = 8

[02-03_21:37:49:296] Get clientWDS = 5

[02-03_21:37:49:328] Get clientDMS = 1

[02-03_21:37:49:361] Get clientNAS = 2

[02-03_21:37:49:392] Get clientUIM = 1

[02-03_21:37:49:430] Get clientWDA = 1

[02-03_21:37:49:456] requestBaseBandVersion EC25EUXGAR08A14M1G

[02-03_21:37:49:584] requestGetSIMStatus SIMStatus: SIM_READY

[02-03_21:37:49:585] requestSetProfile[1] internet///0

[02-03_21:37:49:648] requestGetProfile[1] internet///0

[02-03_21:37:49:680] requestRegistrationState2 MCC: 286, MNC: 1, PS: Attached, DataCap: LTE

[02-03_21:37:49:712] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED

[02-03_21:37:49:713] ifconfig wwan0 down

[02-03_21:37:49:719] ifconfig wwan0 0.0.0.0

[02-03_21:37:49:776] requestSetupDataCall WdsConnectionIPv4Handle: 0x86e69e10

[02-03_21:37:49:904] ifconfig wwan0 up

[02-03_21:37:49:910] busybox udhcpc -f -n -q -t 5 -i wwan0

[02-03_21:38:05:575] File:ql_raw_ip_mode_check Line:105 udhcpc fail to get ip address, try next:

[02-03_21:38:05:575] ifconfig wwan0 down

[02-03_21:38:05:589] echo Y > /sys/class/net/wwan0/qmi/raw_ip

[02-03_21:38:05:589] ifconfig wwan0 up

[02-03_21:38:05:601] busybox udhcpc -f -n -q -t 5 -i wwan0

[02-03_21:38:12:984] requestDeactivateDefaultPDP WdsConnectionIPv4Handle

[02-03_21:38:13:017] ifconfig wwan0 down

[02-03_21:38:13:027] ifconfig wwan0 0.0.0.0

[02-03_21:38:13:209] QmiWwanThread exit

[02-03_21:38:13:209] qmi_main exit

[02-03_21:40:54:278] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x005

[02-03_21:40:54:278] Auto find qmichannel = /dev/cdc-wdm0

[02-03_21:40:54:278] Auto find usbnet_adapter = wwan0

[02-03_21:40:54:278] netcard driver = qmi_wwan, driver version = 5.10.103-v7l+

[02-03_21:40:54:279] Modem works in QMI mode

[02-03_21:40:54:295] cdc_wdm_fd = 8

[02-03_21:40:54:295] QmiWwanThread read=0 errno: 0 (Success)

[02-03_21:40:55:295] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:40:57:295] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:40:59:296] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:01:296] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:03:296] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:05:297] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:07:297] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:09:297] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:11:297] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:13:298] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:14:298] qmi_main Failed to qmi init: 22 (Invalid argument)

[02-03_21:41:25:354] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x005

[02-03_21:41:25:354] Auto find qmichannel = /dev/cdc-wdm0

[02-03_21:41:25:354] Auto find usbnet_adapter = wwan0

[02-03_21:41:25:354] netcard driver = qmi_wwan, driver version = 5.10.103-v7l+

[02-03_21:41:25:355] Modem works in QMI mode

[02-03_21:41:25:376] cdc_wdm_fd = 8

[02-03_21:41:26:376] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:28:377] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:30:377] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:32:377] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:34:378] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:36:378] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:38:378] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:40:378] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:42:379] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:44:379] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:45:379] qmi_main Failed to qmi init: 22 (Invalid argument)

[02-03_21:41:56:412] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x005

[02-03_21:41:56:412] Auto find qmichannel = /dev/cdc-wdm0

[02-03_21:41:56:412] Auto find usbnet_adapter = wwan0

[02-03_21:41:56:412] netcard driver = qmi_wwan, driver version = 5.10.103-v7l+

[02-03_21:41:56:412] Modem works in QMI mode

[02-03_21:41:56:425] cdc_wdm_fd = 8

[02-03_21:41:57:425] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:41:59:425] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:42:01:425] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:42:03:426] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:42:05:426] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:42:07:427] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:42:14:611] QMIType 2 has no clientID

[02-03_21:42:14:611] requestBaseBandVersion err = -22

[02-03_21:42:14:611] QMIType 26 has no clientID

[02-03_21:42:14:611] requestSetEthMode err = -22

[02-03_21:42:14:611] QMIType 2 has no clientID

[02-03_21:42:14:611] requestGetSIMStatus err = -22

[02-03_21:42:14:612] requestSetProfile[1] internet///0

[02-03_21:42:14:612] QMIType 1 has no clientID

[02-03_21:42:14:612] requestSetProfile err = -22

[02-03_21:42:14:612] QMIType 1 has no clientID

[02-03_21:42:14:612] requestGetProfile err = -22

[02-03_21:42:14:612] QMIType 3 has no clientID

[02-03_21:42:14:612] requestRegistrationState2 err = -22

[02-03_21:42:14:612] ifconfig wwan0 down

[02-03_21:42:14:622] ifconfig wwan0 0.0.0.0

[02-03_21:42:14:631] QmiWwanThread exit

[02-03_21:42:14:632] qmi_main exit

[02-03_21:42:24:727] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x005

[02-03_21:42:24:728] Auto find qmichannel = /dev/cdc-wdm0

[02-03_21:42:24:728] Auto find usbnet_adapter = wwan0

[02-03_21:42:24:728] netcard driver = qmi_wwan, driver version = 5.10.103-v7l+

[02-03_21:42:24:728] Modem works in QMI mode

[02-03_21:42:24:740] cdc_wdm_fd = 8

[02-03_21:42:25:741] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:42:27:741] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:42:29:741] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:42:31:742] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:42:33:742] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:42:35:742] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:42:37:742] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:42:39:743] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:42:41:743] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:42:43:743] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:42:44:744] qmi_main Failed to qmi init: 22 (Invalid argument)

[02-03_21:42:55:799] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x005

[02-03_21:42:55:800] Auto find qmichannel = /dev/cdc-wdm0

[02-03_21:42:55:800] Auto find usbnet_adapter = wwan0

[02-03_21:42:55:800] netcard driver = qmi_wwan, driver version = 5.10.103-v7l+

[02-03_21:42:55:800] Modem works in QMI mode

[02-03_21:42:55:818] cdc_wdm_fd = 8

[02-03_21:42:56:819] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:42:58:819] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:43:00:819] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:43:02:819] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:43:04:820] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:43:06:820] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:43:08:821] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:43:10:822] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:43:12:822] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:43:14:822] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:43:15:822] qmi_main Failed to qmi init: 22 (Invalid argument)

[02-03_21:43:26:860] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x005

[02-03_21:43:26:860] Auto find qmichannel = /dev/cdc-wdm0

[02-03_21:43:26:861] Auto find usbnet_adapter = wwan0

[02-03_21:43:26:861] netcard driver = qmi_wwan, driver version = 5.10.103-v7l+

[02-03_21:43:26:861] Modem works in QMI mode

[02-03_21:43:26:872] cdc_wdm_fd = 8

[02-03_21:43:27:872] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:43:29:873] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:43:31:873] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:43:33:873] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:43:35:874] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:43:37:874] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:43:45:923] QMIType 2 has no clientID

[02-03_21:43:45:923] requestBaseBandVersion err = -22

[02-03_21:43:45:923] QMIType 26 has no clientID

[02-03_21:43:45:923] requestSetEthMode err = -22

[02-03_21:43:45:923] QMIType 2 has no clientID

[02-03_21:43:45:923] requestGetSIMStatus err = -22

[02-03_21:43:45:923] requestSetProfile[1] internet///0

[02-03_21:43:45:923] QMIType 1 has no clientID

[02-03_21:43:45:923] requestSetProfile err = -22

[02-03_21:43:45:923] QMIType 1 has no clientID

[02-03_21:43:45:923] requestGetProfile err = -22

[02-03_21:43:45:923] QMIType 3 has no clientID

[02-03_21:43:45:923] requestRegistrationState2 err = -22

[02-03_21:43:45:924] ifconfig wwan0 down

[02-03_21:43:45:937] ifconfig wwan0 0.0.0.0

[02-03_21:43:45:952] QmiWwanThread exit

[02-03_21:43:45:953] qmi_main exit

[02-03_21:43:56:057] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x005

[02-03_21:43:56:057] Auto find qmichannel = /dev/cdc-wdm0

[02-03_21:43:56:057] Auto find usbnet_adapter = wwan0

[02-03_21:43:56:057] netcard driver = qmi_wwan, driver version = 5.10.103-v7l+

[02-03_21:43:56:058] Modem works in QMI mode

[02-03_21:43:56:076] cdc_wdm_fd = 8

[02-03_21:43:57:076] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:43:59:076] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:01:077] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:03:077] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:05:077] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:07:077] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:09:078] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:11:078] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:13:078] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:15:079] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:16:079] qmi_main Failed to qmi init: 22 (Invalid argument)

[02-03_21:44:27:138] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x005

[02-03_21:44:27:138] Auto find qmichannel = /dev/cdc-wdm0

[02-03_21:44:27:138] Auto find usbnet_adapter = wwan0

[02-03_21:44:27:138] netcard driver = qmi_wwan, driver version = 5.10.103-v7l+

[02-03_21:44:27:139] Modem works in QMI mode

[02-03_21:44:27:159] cdc_wdm_fd = 8

[02-03_21:44:28:159] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:30:159] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:32:159] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:34:160] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:36:160] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:38:160] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:40:161] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:42:161] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:44:161] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:46:162] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:44:47:162] qmi_main Failed to qmi init: 22 (Invalid argument)

[02-03_21:44:58:222] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x005

[02-03_21:44:58:222] Auto find qmichannel = /dev/cdc-wdm0

[02-03_21:44:58:222] Auto find usbnet_adapter = wwan0

[02-03_21:44:58:223] netcard driver = qmi_wwan, driver version = 5.10.103-v7l+

[02-03_21:44:58:223] Modem works in QMI mode

[02-03_21:44:58:242] cdc_wdm_fd = 8

[02-03_21:44:59:242] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:45:01:242] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:45:03:243] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:45:05:243] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:45:07:243] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:45:09:244] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout

[02-03_21:45:16:430] QMIType 2 has no clientID

[02-03_21:45:16:430] requestBaseBandVersion err = -22

[02-03_21:45:16:431] QMIType 26 has no clientID

[02-03_21:45:16:431] requestSetEthMode err = -22

[02-03_21:45:16:431] QMIType 2 has no clientID

[02-03_21:45:16:431] requestGetSIMStatus err = -22

[02-03_21:45:16:431] requestSetProfile[1] internet///0

[02-03_21:45:16:431] QMIType 1 has no clientID

[02-03_21:45:16:431] requestSetProfile err = -22

[02-03_21:45:16:431] QMIType 1 has no clientID

[02-03_21:45:16:431] requestGetProfile err = -22

[02-03_21:45:16:431] QMIType 3 has no clientID

[02-03_21:45:16:431] requestRegistrationState2 err = -22

[02-03_21:45:16:431] ifconfig wwan0 down

[02-03_21:45:16:445] ifconfig wwan0 0.0.0.0

[02-03_21:45:16:459] QmiWwanThread exit

[02-03_21:45:16:461] qmi_main exit

We found a solution I think problem is about your software because if I delay quectel-CM start it always work. If our linux start before the Quectel Module ready than it can connect 15 minutes later to network.

If I delay quectel-CM start it connects network always.

So, say your tester test better. Or please help us to find exact problem.