On an EC25 module connected to an ubuntu-based PC, I have been able to connect through Mobile broadband (PPP) to the LTE network and Internet. Now I am trying to connect through the CM tool, but I have stuck.
Here is the log of Quectel-CM tool
sudo ./quectel-CM -i wwp0s20u4i4 -4
[03-01_15:25:56:661] Quectel_QConnectManager_Linux_V1.5.5
[03-01_15:25:56:662] Find /sys/bus/usb/devices/3-4 idVendor=0x2c7c idProduct=0x125
[03-01_15:25:56:662] Auto find qmichannel = /dev/cdc-wdm0
[03-01_15:25:56:662] Auto find usbnet_adapter = wwp0s20u4i4
[03-01_15:25:56:662] Modem works in QMI mode
[03-01_15:25:56:673] cdc_wdm_fd = 7
[03-01_15:25:56:770] Get clientWDS = 20
[03-01_15:25:56:802] Get clientDMS = 2
[03-01_15:25:56:834] Get clientNAS = 4
[03-01_15:25:56:866] Get clientUIM = 1
[03-01_15:25:56:898] Get clientWDA = 1
[03-01_15:25:56:930] requestBaseBandVersion EC25EFAR06A07M4G
[03-01_15:25:57:058] requestGetSIMStatus SIMStatus: SIM_READY
[03-01_15:25:57:091] requestGetProfile[1] mtnirancell///0
[03-01_15:25:57:122] requestRegistrationState2 MCC: 432, MNC: 35, PS: Attached, DataCap: LTE
[03-01_15:25:57:154] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[03-01_15:25:57:154] ifconfig wwp0s20u4i4 down
[03-01_15:25:57:158] ifconfig wwp0s20u4i4 0.0.0.0
[03-01_15:25:57:218] requestSetupDataCall WdsConnectionIPv4Handle: 0x8726e350
[03-01_15:25:57:346] ifconfig wwp0s20u4i4 up
[03-01_15:25:57:350] udhcpc -f -n -q -t 100 -i wwp0s20u4i4
udhcpc: started, v1.27.2
udhcpc: sending discover
udhcpc: sending select for 10.193.187.227
udhcpc: lease of 10.193.187.227 obtained, lease time 7200
^C[03-01_15:25:59:146] requestDeactivateDefaultPDP WdsConnectionIPv4Handle
[03-01_15:25:59:170] ifconfig wwp0s20u4i4 down
[03-01_15:25:59:174] ifconfig wwp0s20u4i4 0.0.0.0
[03-01_15:25:59:363] QmiWwanThread exit
[03-01_15:25:59:363] qmi_main exit
I have checked that QCFG returns 0, and CGPADDR returns a valid IP Address.
Dear Sir,
Thanks for your inquiry in Quectel forum.
About your issue, could you help to do more test to check the results ?
whether the SIM card is normal now ? Could you use AT command to check whether it can register on network normally ?
2)If you dial up again when it have such issue, whether it can dial up successful ?
3)How about to change another SIM card or module to have a try ?
4)How about just use ./quectel-CM to dial up , do not add the following parameters ?
Thank you for fast reply.
Before I run quectel-CM, I can connect through ppp, but afterwise, I cannot dial up again and it would fail. (Strangely it even disconnects the wired connection too. It should be turned off and on to get connected!, but the ppp never comes back).
The sim card seems to have no problem and is registered (CREG and CEREG both return 0, 1, both when connected through ppp, before running quectel-CM, and after that)
running quectel-CM without parameters does not change anything.
I should mention that my linux driver (ubuntu 18.4; Kernel source 4.15.0) is somewhat different from the document WCDMA<E_Linux_USB_Driver_User_Guide_V1.8 (it has a dyncfg part). I feel the problem might be there in, as I had to do heuristics for the dhcp to pass the discover phase.
Dear Sir,
Thanks for your updating. Now it seems that the root reason is the resolvconf file, right ?
Normally, it should have no such issue. As you know that it is DNS client configuration file, it may software problem. If it have any issue, we just can modify it manually. Thanks!