EC25-J QMI: quectel-CM unable get IP address on Raspberry Pi

I trying use EC25 module with Raspberry Pi 4.
First, I used pppd for LTE connection.
It wokrs. but I want use wwan0 interface.

#My network informations
#APN: iijmobile.biz
#USER: mobile@iij
#PASS: iij
#AUTH: CHAP or PAP

I build quectel-CM on Raspberry Pi.
Then I type this command.
sudo ./quectel-CM -s iijmobile.biz mobile@iij iij 2
but udhcpc cannot got IP address from mobile network.

response logs:
[01-18_17:58:33:158] WCDMA&LTE_QConnectManager_Linux&Android_V1.1.45
[01-18_17:58:33:159] ./quectel-CM profile[1] = iijmobile.biz/mobile@iij/iij/2, pincode = (null)
[01-18_17:58:33:160] Find /sys/bus/usb/devices/1-1.1 idVendor=2c7c idProduct=0125
[01-18_17:58:33:160] Find /sys/bus/usb/devices/1-1.1:1.4/net/wwan0
[01-18_17:58:33:160] Find usbnet_adapter = wwan0
[01-18_17:58:33:161] Find /sys/bus/usb/devices/1-1.1:1.4/usbmisc/cdc-wdm0
[01-18_17:58:33:161] Find qmichannel = /dev/cdc-wdm0
[01-18_17:58:33:176] cdc_wdm_fd = 7
[01-18_17:58:33:274] Get clientWDS = 20
[01-18_17:58:33:306] Get clientDMS = 1
[01-18_17:58:33:338] Get clientNAS = 4
[01-18_17:58:33:370] Get clientUIM = 1
[01-18_17:58:33:403] Get clientWDA = 1
[01-18_17:58:33:434] requestBaseBandVersion EC25JFAR06A05M4G
[01-18_17:58:33:563] requestGetSIMStatus SIMStatus: SIM_READY
[01-18_17:58:33:563] requestSetProfile[1] iijmobile.biz/mobile@iij/iij/2
[01-18_17:58:33:627] requestGetProfile[1] iijmobile.biz/mobile@iij/iij/2
[01-18_17:58:33:659] requestRegistrationState2 MCC: 440, MNC: 10, PS: Attached, DataCap: LTE
[01-18_17:58:33:690] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[01-18_17:58:33:755] requestRegistrationState2 MCC: 440, MNC: 10, PS: Attached, DataCap: LTE
[01-18_17:58:33:786] requestSetupDataCall WdsConnectionIPv4Handle: 0x871a6580
[01-18_17:58:33:850] requestQueryDataCall IPv4ConnectionStatus: CONNECTED
[01-18_17:58:33:882] ifconfig wwan0 up
[01-18_17:58:33:901] Fail to access /usr/share/udhcpc/default.script, errno: 13 (Permission denied)
[01-18_17:58:33:902] busybox udhcpc -f -n -q -t 5 -i wwan0
udhcpc: started, v1.30.1
No resolv.conf for interface wwan0.udhcpc
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, failing
^C[01-18_17:58:59:729] requestDeactivateDefaultPDP err = 0
[01-18_17:58:59:729] ifconfig wwan0 down
[01-18_17:58:59:747] ifconfig wwan0 0.0.0.0
[01-18_17:58:59:935] QmiWwanThread exit
[01-18_17:58:59:936] main exit

How can i works it?
(Sorry for using Google Translated English)

Dear Jitenshap,
Please update the CM tool to have a try. Thanks!
https://cnquectel-my.sharepoint.com/:u:/g/personal/asean-fae_quectel_com/ESH3BAW-MFZNjr4wQ2364Q4Btmo7ZGyyRGSQ2bkWbmEbJQ?e=VmjUY7

Thank you response.
I trying your solution.

unzip the zip. Then build GobiNet driver.
make ARCH=ARM
sudo insmod GobiNet.ko
sudo reboot

Initialized over AT command because the Zip I got only driver was included.

sudo screen /dev/ttyUSB3 115200

AT+COPS?
+COPS: 1,0,“IIJ IIJ”,7

OK
AT$QCRMCALL=1,1
$QCRMCALL: 1,V4

OK
AT+QNETDEVSTATUS?
+QNETDEVSTATUS: 0,1,4,1

OK

sudo ifconfig wwan0 up
sudo busybox udhcpc -fnq -i wwan0

udhcpc: started, v1.30.1
No resolv.conf for interface wwan0.udhcpc
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, failing

What else should I do?

Dear Jitenshap,
Please make sure you have change the kernel code according to the guide document, and compile success.
Quectel_WCDMA&LTE_Linux_USB_Driver_User_Guide_V1.8.pdf (1.1 MB)
Please try to use the latest CM tool to have a try.The following is the latest CM tool, please update it to have a try.
https://cnquectel-my.sharepoint.com/:u:/g/personal/asean-fae_quectel_com/ESBiQhVQnWFDssTJuG8_MxoB371IVo0D1JJsUBSx6Qts1A?e=hJw0FR

By the way, you can use the default.script file inside the CM package to replace the same file in your system and try it again. Thanks!

Thanks for all the advice.

I did try
cp /home/pi/quectel-CM/default.script /usr/share/udhcpc/default.script
chown pi /usr/share/udhcpc/default.script
But still error message shows
“Fail to access /usr/share/udhcpc/default.script, errno: 13 (Permission denied)”

And I did try all method for section 3.
But still does not get the IP Address.
Probably, my SIM(Network) is wrong.
I will do testing other ISP’s SIM card too.
I will report here if successful.

Thank you!

Any luck with fixing this. i’m facing the same issue.

Please upload the quectel-CM log

Thank you @Bean.Wang-Q for the quick reply.

below are the logs. let me know if you need anything else.

pi@tx01:~/files/quectel-CM $ sudo ./quectel-CM -s iot.t-mobile.com
[07-12_12:33:30:484] Quectel_QConnectManager_Linux_V1.5.9
[07-12_12:33:30:486] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x028
[07-12_12:33:30:486] Auto find qmichannel = /dev/cdc-wdm0
[07-12_12:33:30:486] Auto find usbnet_adapter = wwan0
[07-12_12:33:30:486] netcard driver = qmi_wwan, driver version = 22-Aug-2005
[07-12_12:33:30:487] Modem works in QMI mode
[07-12_12:33:30:505] cdc_wdm_fd = 7
[07-12_12:33:30:583] Get clientWDS = 19
[07-12_12:33:30:615] Get clientDMS = 1
[07-12_12:33:30:647] Get clientNAS = 3
[07-12_12:33:30:679] Get clientUIM = 1
[07-12_12:33:30:711] Get clientWDA = 1
[07-12_12:33:30:744] requestBaseBandVersion EC25AFAR05A04M4G
[07-12_12:33:30:872] requestGetSIMStatus SIMStatus: SIM_READY
[07-12_12:33:30:872] requestSetProfile[1] iot.t-mobile.com///0
[07-12_12:33:30:936] requestGetProfile[1] iot.t-mobile.com///0
[07-12_12:33:30:968] requestRegistrationState2 MCC: 310, MNC: 260, PS: Attached, DataCap: LTE
[07-12_12:33:31:000] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[07-12_12:33:31:000] ifconfig wwan0 down
[07-12_12:33:31:025] ifconfig wwan0 0.0.0.0
[07-12_12:33:31:095] requestSetupDataCall WdsConnectionIPv4Handle: 0x872014e0
[07-12_12:33:31:224] ifconfig wwan0 up
[07-12_12:33:31:245] busybox udhcpc -f -n -q -t 5 -i wwan0
udhcpc: started, v1.30.1
No resolv.conf for interface wwan0.udhcpc
udhcpc: sending discover
udhcpc: sending select for 29.243.179.21
udhcpc: lease of 29.243.179.21 obtained, lease time 7200
Too few arguments.
Too few arguments.
[07-12_12:33:32:011] QmiWwanThread poll err/hup/inval
[07-12_12:33:32:011] poll fd = 7, events = 0x0018
[07-12_12:33:32:011] QmiWwanThread exit
[07-12_12:33:32:012] ifconfig wwan0 down
wwan0: ERROR while getting interface flags: No such device
[07-12_12:33:32:040] ifconfig wwan0 0.0.0.0
SIOCSIFADDR: No such device
wwan0: ERROR while getting interface flags: No such device
[07-12_12:33:32:075] qmi_main exit
pi@tx01:~/files/quectel-CM $

AT Log

pi@tx01:~ $ sudo minicom -b 115200 -D /dev/ttyUSB3

Welcome to minicom 2.7.1

OPTIONS: I18n
Compiled on Aug 13 2017, 15:25:34.
Port /dev/ttyUSB3, 12:33:32

Press CTRL-A Z for help on special keys

AT
OK
AT+CGDCONT?
+CGDCONT: 1,"IP","iot.t-mobile.com","0.0.0.0",0,0,0,0
+CGDCONT: 2,"IPV4V6","ims","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 3,"IPV4V6","sos","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1
+CGDCONT: 4,"IPV4V6","tmus","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0

OK
AT+CGPADDR
+CGPADDR: 1,"29.243.179.21"
+CGPADDR: 2,"38.7.252.32.130.2.229.55.0.0.0.68.221.106.228.1"
+CGPADDR: 3,"0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0"
+CGPADDR: 4,"0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0"

OK

@Bean.Wang-Q below more log from /var/log/message

Jul 12 12:44:38 tx01 kernel: [  783.241478] usb 1-1.1.2: USB disconnect, device number 43
Jul 12 12:44:38 tx01 kernel: [  783.242286] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Jul 12 12:44:38 tx01 kernel: [  783.242385] option 1-1.1.2:1.0: device disconnected
Jul 12 12:44:38 tx01 kernel: [  783.243170] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Jul 12 12:44:38 tx01 kernel: [  783.243262] option 1-1.1.2:1.1: device disconnected
Jul 12 12:44:38 tx01 kernel: [  783.244099] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Jul 12 12:44:38 tx01 kernel: [  783.244242] option 1-1.1.2:1.2: device disconnected
Jul 12 12:44:38 tx01 kernel: [  783.254721] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
Jul 12 12:44:38 tx01 kernel: [  783.254845] option 1-1.1.2:1.3: device disconnected
Jul 12 12:44:38 tx01 kernel: [  783.255315] qmi_wwan 1-1.1.2:1.4 wwan0: unregister 'qmi_wwan' usb-3f980000.usb-1.1.2, WWAN/QMI device
Jul 12 12:44:38 tx01 kernel: [  783.624525] usb 1-1.1.2: new high-speed USB device number 44 using dwc_otg
Jul 12 12:44:38 tx01 kernel: [  783.764512] usb 1-1.1.2: New USB device found, idVendor=2c7c, idProduct=0125, bcdDevice= 3.18
Jul 12 12:44:38 tx01 kernel: [  783.764528] usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jul 12 12:44:38 tx01 kernel: [  783.764540] usb 1-1.1.2: Product: Android
Jul 12 12:44:38 tx01 kernel: [  783.764549] usb 1-1.1.2: Manufacturer: Android
Jul 12 12:44:38 tx01 kernel: [  783.766250] option 1-1.1.2:1.0: GSM modem (1-port) converter detected
Jul 12 12:44:38 tx01 kernel: [  783.766598] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB0
Jul 12 12:44:38 tx01 kernel: [  783.767045] option 1-1.1.2:1.1: GSM modem (1-port) converter detected
Jul 12 12:44:38 tx01 kernel: [  783.767369] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB1
Jul 12 12:44:38 tx01 kernel: [  783.767854] option 1-1.1.2:1.2: GSM modem (1-port) converter detected
Jul 12 12:44:38 tx01 kernel: [  783.768139] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB2
Jul 12 12:44:38 tx01 kernel: [  783.768628] option 1-1.1.2:1.3: GSM modem (1-port) converter detected
Jul 12 12:44:38 tx01 kernel: [  783.768917] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB3
Jul 12 12:44:38 tx01 kernel: [  783.769935] qmi_wwan 1-1.1.2:1.4: cdc-wdm0: USB WDM device
Jul 12 12:44:38 tx01 kernel: [  783.769949] qmi_wwan 1-1.1.2:1.4: Quectel EC25&EC21&EG91&EG95&EG06&EP06&EM06&BG96&AG35 work on RawIP mode
Jul 12 12:44:38 tx01 kernel: [  783.776482] qmi_wwan 1-1.1.2:1.4 wwan0: register 'qmi_wwan' at usb-3f980000.usb-1.1.2, WWAN/QMI device, c2:70:59:f0:94:4f
Jul 12 12:44:38 tx01 mtp-probe: checking bus 1, device 44: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2"
Jul 12 12:44:38 tx01 mtp-probe: bus: 1, device: 44 was not an MTP device
Jul 12 12:44:39 tx01 mtp-probe: checking bus 1, device 44: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2"
Jul 12 12:44:39 tx01 mtp-probe: bus: 1, device: 44 was not an MTP device
Jul 12 12:44:43 tx01 kernel: [  788.617388] usb 1-1.1.2: USB disconnect, device number 44
Jul 12 12:44:43 tx01 kernel: [  788.618102] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Jul 12 12:44:43 tx01 kernel: [  788.618206] option 1-1.1.2:1.0: device disconnected
Jul 12 12:44:43 tx01 kernel: [  788.618944] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Jul 12 12:44:43 tx01 kernel: [  788.619030] option 1-1.1.2:1.1: device disconnected
Jul 12 12:44:43 tx01 kernel: [  788.619727] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Jul 12 12:44:43 tx01 kernel: [  788.619817] option 1-1.1.2:1.2: device disconnected
Jul 12 12:44:43 tx01 kernel: [  788.620954] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
Jul 12 12:44:43 tx01 kernel: [  788.621072] option 1-1.1.2:1.3: device disconnected
Jul 12 12:44:43 tx01 kernel: [  788.621542] qmi_wwan 1-1.1.2:1.4 wwan0: unregister 'qmi_wwan' usb-3f980000.usb-1.1.2, WWAN/QMI device
Jul 12 12:44:44 tx01 kernel: [  788.984829] usb 1-1.1.2: new high-speed USB device number 45 using dwc_otg
Jul 12 12:44:44 tx01 kernel: [  789.124856] usb 1-1.1.2: New USB device found, idVendor=2c7c, idProduct=0125, bcdDevice= 3.18
Jul 12 12:44:44 tx01 kernel: [  789.124865] usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jul 12 12:44:44 tx01 kernel: [  789.124869] usb 1-1.1.2: Product: Android
Jul 12 12:44:44 tx01 kernel: [  789.124873] usb 1-1.1.2: Manufacturer: Android
Jul 12 12:44:44 tx01 kernel: [  789.128086] option 1-1.1.2:1.0: GSM modem (1-port) converter detected
Jul 12 12:44:44 tx01 kernel: [  789.128270] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB0
Jul 12 12:44:44 tx01 kernel: [  789.128478] option 1-1.1.2:1.1: GSM modem (1-port) converter detected
Jul 12 12:44:44 tx01 kernel: [  789.128629] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB1
Jul 12 12:44:44 tx01 kernel: [  789.128842] option 1-1.1.2:1.2: GSM modem (1-port) converter detected
Jul 12 12:44:44 tx01 kernel: [  789.128980] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB2
Jul 12 12:44:44 tx01 kernel: [  789.129227] option 1-1.1.2:1.3: GSM modem (1-port) converter detected
Jul 12 12:44:44 tx01 kernel: [  789.129362] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB3
Jul 12 12:44:44 tx01 kernel: [  789.129885] qmi_wwan 1-1.1.2:1.4: cdc-wdm0: USB WDM device
Jul 12 12:44:44 tx01 kernel: [  789.129892] qmi_wwan 1-1.1.2:1.4: Quectel EC25&EC21&EG91&EG95&EG06&EP06&EM06&BG96&AG35 work on RawIP mode
Jul 12 12:44:44 tx01 kernel: [  789.131075] qmi_wwan 1-1.1.2:1.4 wwan0: register 'qmi_wwan' at usb-3f980000.usb-1.1.2, WWAN/QMI device, c2:70:59:f0:94:4f
Jul 12 12:44:44 tx01 mtp-probe: checking bus 1, device 45: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2"
Jul 12 12:44:44 tx01 mtp-probe: bus: 1, device: 45 was not an MTP device
Jul 12 12:44:44 tx01 mtp-probe: checking bus 1, device 45: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2"
Jul 12 12:44:44 tx01 mtp-probe: bus: 1, device: 45 was not an MTP device

[07-12_12:33:30:486] netcard driver = qmi_wwan, driver version = 22-Aug-2005
— Try a new version qmi driver . 22-Aug-2005 seems too old.
https://cnquectel-my.sharepoint.com/:f:/g/personal/ae-fae_quectel_com/EtNUx-RWjXVPrIjH_1PEkw8B48JSwaLIwbWPnMKjWtLpFw?e=D9Uv6v
— What’s the kernel version?

udhcpc: lease of 29.243.179.21 obtained, lease time 7200
Too few arguments.
Too few arguments.
—> udhcpc use default.script as rules to set IP and DNS.
chmod 777 default.script
copy default.script to /usr/share/udhcpc/ and /etc/udhcpc/ .
dos2unix default.script

wwan0: ERROR while getting interface flags: No such device
Jul 12 12:44:43 tx01 kernel: [ 788.617388] usb 1-1.1.2: USB disconnect, device number 44
—> Pull up from the host?

This version number is hard coded in the usbnet framework and does not say anything about the age of the qmi_wwan driver. See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/usb/usbnet.c#n37

All usbnet minidrivers will always report their version as “22-Aug-2005” to ethtool, unless they explicitly override the .get_drvinfo ethtool method. Only a few of them do that. Most do not, because any hard coded version number is pointless anyway. The driver version is the same as the kernel version for any driver in mainline Linux.

FWIW I wrote the initial version of the qmi_wwan driver in December 2011, so 2005 is quite impossible :slight_smile:

@bmork
Thanks for your answer.
Upstreaming kernel may not upgrade the code for years so the version number of qmi_wwan still be 22-Aug-2005.
But Qualcomm and Quectel upgrade the code persistently, but it haven’t uploaded to the kernel branch. The customers can ask Quectel for the latest version of qmi_wwan.

@antoine.egho

Too few arguments.
Too few arguments.
—> Try to add parameters to the cmd.
—> sudo ./quectel-CM -s iot.t-mobile.com Do there passwords exists ?
----> ./quectel-CM --help shows more details.
What’s more. I think you’ve never handle the default.script

Any resolution I’m also having the same, here is the log

sudo ./quectel-CM -s TM
[08-19_01:14:16:551] Quectel_QConnectManager_Linux_V1.5.9
[08-19_01:14:16:553] Find /sys/bus/usb/devices/1-1.1.2 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x006
[08-19_01:14:16:554] Auto find qmichannel = /dev/cdc-wdm0
[08-19_01:14:16:554] Auto find usbnet_adapter = wwan0
[08-19_01:14:16:555] netcard driver = qmi_wwan, driver version = 22-Aug-2005
[08-19_01:14:16:556] Modem works in QMI mode
[08-19_01:14:16:580] /proc/4188/fd/7 -> /dev/cdc-wdm0
[08-19_01:14:16:580] /proc/4188/exe -> /home/pi/files/quectel-CM/quectel-CM
[08-19_01:14:18:584] cdc_wdm_fd = 7
[08-19_01:14:18:867] Get clientWDS = 19
[08-19_01:14:18:898] Get clientDMS = 1
[08-19_01:14:18:930] Get clientNAS = 3
[08-19_01:14:18:962] Get clientUIM = 1
[08-19_01:14:18:994] Get clientWDA = 1
[08-19_01:14:19:025] requestBaseBandVersion EC25AFAR05A04M4G
[08-19_01:14:19:154] requestGetSIMStatus SIMStatus: SIM_READY
[08-19_01:14:19:154] requestSetProfile[1] TM///0
[08-19_01:14:19:218] requestGetProfile[1] TM///0
[08-19_01:14:19:250] requestRegistrationState2 MCC: 310, MNC: 260, PS: Attached, DataCap: UMTS
[08-19_01:14:19:282] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[08-19_01:14:19:282] ifconfig wwan0 down
[08-19_01:14:19:295] ifconfig wwan0 0.0.0.0
[08-19_01:14:22:675] requestSetupDataCall WdsConnectionIPv4Handle: 0x871e6540
[08-19_01:14:22:771] requestRegistrationState2 MCC: 310, MNC: 260, PS: Attached, DataCap: UMTS
[08-19_01:14:22:835] ifconfig wwan0 up
[08-19_01:14:22:845] busybox udhcpc -f -n -q -t 5 -i wwan0
udhcpc: started, v1.30.1
No resolv.conf for interface wwan0.udhcpc
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, failing
[08-19_01:14:38:411] requestDeactivateDefaultPDP WdsConnectionIPv4Handle
[08-19_01:14:40:049] ifconfig wwan0 down
[08-19_01:14:40:061] ifconfig wwan0 0.0.0.0
[08-19_01:14:40:242] QmiWwanThread exit
[08-19_01:14:40:243] qmi_main exit

Please check whether the path of resolv.conf is right, the default is /usr/share/udhcpc/default.script. Thanks!
image

Yes, the script here /usr/share/udhcpc/ and /etc/udhcpc/ here, also both have full rights. Also “sudo busybox udhcpc -f -n -q -t 5 -i wwan0 -s /usr/share/udhcpc/default.script” error goes away, even with wrong file name error goes away like “sudo busybox udhcpc -f -n -q -t 5 -i wwan0 -s XXX”

Please double check which path is correct ? Normally, it should just use the default path /usr/share/udhcpc/, not /etc/udhcpc/.You can try to use default.script inside CM package to replace the file in the default path. Thanks!

Files in /usr/share/udhcpc/ and /quectel-CM/default.script are same no difference. How do I know which path is getting used?

(ONLY 3 replied allowed )
permission are currently 777, hope that is fine. “…confirm the driver code modification have no any problem”, sorry, I did not fully understand this statement Kyson.

If the two files are the same, you do not need to change it, just need to confirm whether the permission is right, and confirm the driver code modification have no any problem. The udhcpc know how to call the right script. Thanks!