10136 questions

12113 answers

18772 comments

20369 members

0 votes
2,212 views 1 comments
by

I'm using RUT955 with Quectel EC25E modem. I need to use network in QMI mode, not PPP, because it makes executing USSD commands easier. But there is kind of problem - despite I chose QMI option in network settings, router still connects via PPP:

# ps | grep -i "quectel"
14699 root      5188 S    /usr/sbin/quectel-CM -s plus -c ppp
19880 root       488 R    grep -i quectel

I tried to force start with qmi, but another problem araised:

# kill 14699 ; /usr/sbin/quectel-CM -s plus -c qmi
[12-19_13:31:30:029] WCDMA&LTE_QConnectManager_Linux&Android_V1.1.38
[12-19_13:31:30:030] /usr/sbin/quectel-CM profile[3] = plus///0, pincode = (null), config = qmi
[12-19_13:31:30:033] Find /sys/bus/usb/devices/1-1.3 idVendor=2c7c idProduct=0125
[12-19_13:31:30:033] Find /sys/bus/usb/devices/1-1.3:1.4/net/wwan0
[12-19_13:31:30:033] Find usbnet_adapter = wwan0
[12-19_13:31:30:034] Find /sys/bus/usb/devices/1-1.3:1.4/usbmisc/cdc-wdm0
[12-19_13:31:30:034] Find qmichannel = /dev/cdc-wdm0
[12-19_13:31:30:035] cdc_wdm_fd = 7
[12-19_13:31:31:035] QmiThreadSendQMITimeout pthread_cond_timeout_np=145, errno: 2 (No such file or directory)
[12-19_13:31:32:108] Get clientWDS = 19
[12-19_13:31:32:139] Get clientDMS = 1
[12-19_13:31:32:172] Get clientNAS = 3
[12-19_13:31:32:204] Get clientUIM = 1
[12-19_13:31:32:235] Get clientWDA = 1
[12-19_13:32:02:254] QmiThreadSendQMITimeout pthread_cond_timeout_np=145, errno: 2 (No such file or directory)
[12-19_13:32:02:254] requestBaseBandVersion err = 145
[12-19_13:32:32:255] QmiThreadSendQMITimeout pthread_cond_timeout_np=145, errno: 2 (No such file or directory)
[12-19_13:33:02:255] QmiThreadSendQMITimeout pthread_cond_timeout_np=145, errno: 2 (No such file or directory)
[12-19_13:33:02:255] requestSetEthMode err = 145
[12-19_13:33:32:255] QmiThreadSendQMITimeout pthread_cond_timeout_np=145, errno: 2 (No such file or directory)
[12-19_13:33:32:256] requestGetSIMStatus err = 145
[12-19_13:33:32:256] requestSetProfile[3] plus///0
[12-19_13:34:02:256] QmiThreadSendQMITimeout pthread_cond_timeout_np=145, errno: 2 (No such file or directory)
[12-19_13:34:02:256] requestSetProfile err = 145
[12-19_13:34:32:257] QmiThreadSendQMITimeout pthread_cond_timeout_np=145, errno: 2 (No such file or directory)
[12-19_13:34:32:257] requestGetProfile err = 145
[12-19_13:35:02:257] QmiThreadSendQMITimeout pthread_cond_timeout_np=145, errno: 2 (No such file or directory)
[12-19_13:35:02:257] requestRegistrationState2 err = 145
[12-19_13:35:32:258] QmiThreadSendQMITimeout pthread_cond_timeout_np=145, errno: 2 (No such file or directory)
[12-19_13:35:32:258] requestQueryDataCall err = 145
[12-19_13:36:02:258] QmiThreadSendQMITimeout pthread_cond_timeout_np=145, errno: 2 (No such file or directory)
[12-19_13:36:02:259] requestQueryDataCall err = 145
[12-19_13:36:32:260] QmiThreadSendQMITimeout pthread_cond_timeout_np=145, errno: 2 (No such file or directory)
[12-19_13:36:32:260] requestRegistrationState2 err = 145
[12-19_13:36:32:260] requestSetOperatingMode(1)
[12-19_13:37:02:261] QmiThreadSendQMITimeout pthread_cond_timeout_np=145, errno: 2 (No such file or directory)
[12-19_13:37:02:261] requestSetOperatingMode err = 145
[12-19_13:37:02:261] requestSetOperatingMode(0)
[12-19_13:37:02:302] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[12-19_13:37:02:366] requestRegistrationState2 MCC: 260, MNC: 1, PS: Attached, DataCap: LTE
[12-19_13:37:02:431] requestSetupDataCall WdsConnectionIPv4Handle: 0x8795db30
[12-19_13:37:02:494] requestRegistrationState2 MCC: 260, MNC: 1, PS: Attached, DataCap: LTE
[12-19_13:37:02:526] requestQueryDataCall IPv4ConnectionStatus: CONNECTED
[12-19_13:37:02:560] requestRegistrationState2 MCC: 260, MNC: 1, PS: Attached, DataCap: LTE
[12-19_13:37:02:590] requestRegistrationState2 MCC: 260, MNC: 1, PS: Attached, DataCap: LTE
[12-19_13:37:02:654] /lib/netifd/mobile.script up wwan0 qmi
Failed to parse message data
[12-19_13:37:02:730] WARNING: Variable 'values' does not exist or is not an array/object
Command failed: Not found
[12-19_13:37:33:214] requestRegistrationState2 MCC: 260, MNC: 1, PS: Attached, DataCap: LTE
[12-19_13:38:03:262] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[12-19_13:38:03:263] /lib/netifd/mobile.script down wwan0 qmi
Command failed: Not found
[12-19_13:38:03:390] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW
[12-19_13:38:03:390] requestSetOperatingMode(1)
[12-19_13:38:03:485] requestSetOperatingMode(0)
[12-19_13:38:03:550] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW
[12-19_13:38:04:062] requestRegistrationState2 MCC: 260, MNC: 1, PS: Detached, DataCap: UNKNOW
[12-19_13:38:04:478] requestRegistrationState2 MCC: 260, MNC: 1, PS: Attached, DataCap: LTE
[12-19_13:38:04:545] requestRegistrationState2 MCC: 260, MNC: 1, PS: Attached, DataCap: LTE
[12-19_13:38:04:607] requestSetupDataCall WdsConnectionIPv4Handle: 0x8795db30
[12-19_13:38:04:671] requestRegistrationState2 MCC: 260, MNC: 1, PS: Attached, DataCap: LTE
[12-19_13:38:04:702] requestQueryDataCall IPv4ConnectionStatus: CONNECTED
[12-19_13:38:04:767] /lib/netifd/mobile.script up wwan0 qmi
Failed to parse message data
[12-19_13:38:04:849] WARNING: Variable 'values' does not exist or is not an array/object
Command failed: Not found
[12-19_13:39:38:206] requestRegistrationState2 MCC: 260, MNC: 1, PS: Attached, DataCap: LTE
[12-19_13:40:08:253] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[12-19_13:40:08:254] /lib/netifd/mobile.script down wwan0 qmi
Command failed: Not found
[12-19_13:40:08:381] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW
[12-19_13:40:08:381] requestSetOperatingMode(1)
[12-19_13:40:08:541] requestSetOperatingMode(0)
[12-19_13:40:08:606] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW
[12-19_13:40:09:246] requestRegistrationState2 MCC: 260, MNC: 1, PS: Detached, DataCap: UNKNOW
[12-19_13:40:09:695] requestRegistrationState2 MCC: 260, MNC: 1, PS: Attached, DataCap: LTE
[12-19_13:40:09:769] requestRegistrationState2 MCC: 260, MNC: 1, PS: Attached, DataCap: LTE
[12-19_13:40:09:822] requestSetupDataCall WdsConnectionIPv4Handle: 0x8795db30
[12-19_13:40:09:886] requestRegistrationState2 MCC: 260, MNC: 1, PS: Attached, DataCap: LTE
[12-19_13:40:09:917] requestQueryDataCall IPv4ConnectionStatus: CONNECTED
[12-19_13:40:09:982] /lib/netifd/mobile.script up wwan0 qmi
Failed to parse message data
[12-19_13:40:10:059] WARNING: Variable 'values' does not exist or is not an array/object
Command failed: Not found
[12-19_13:40:23:774] requestRegistrationState2 MCC: 260, MNC: 1, PS: Attached, DataCap: LTE
[12-19_13:41:43:199] requestRegistrationState2 MCC: 260, MNC: 1, PS: Attached, DataCap: LTE
^C[12-19_13:41:53:966] requestDeactivateDefaultPDP err = 0
[12-19_13:41:53:966] /lib/netifd/mobile.script down wwan0 qmi
Command failed: Not found
[12-19_13:41:54:269] QmiWwanThread exit
[12-19_13:41:54:270] main exit

Can you help me? My firmware is for this moment in the newest version: RUT9XX_R_00.05.03. Desciption of my router model is RUT955 H7V3C0

1 Answer

+2 votes
by
Hi,

PPP in quectel-CM means not ppp mode but ppp section in network config.

If you are trying to run quectel-CM by hand, do not enter -c option.
Best answer
by
Okay, thank you. This question was related to more broad problem of sending USSD codes, but I think it's better to start another topic. This one can be closed now.