:$ sudo ./quectelCM
[09-25_14:47:36:081] Quectel_QConnectManager_Linux_V1.6.0.24
[09-25_14:47:36:082] Find successed, path = /sys/bus/usb/devices/6-1 idVendor=0x2c7c idProduct=0x900, bus=0x006, dev=0x002
[09-25_14:47:36:082] Auto find qmichannel = /dev/ttyUSB2
[09-25_14:47:36:082] Auto find usbnet_adapter = usb0
[09-25_14:47:36:082] netcard driver = cdc_ncm, driver version = 5.10.160
[09-25_14:47:36:082] Modem works in ECM_RNDIS_NCM mode
[09-25_14:47:36:110] /proc/8745/fd/7 → /dev/ttyUSB2
[09-25_14:47:36:110] /proc/8745/exe → /mnt/z_test/quectel/source/exe_demo/quectelCM_revise
[09-25_14:47:36:110] mark:is brother process dir=/proc,file=8745 → filename=/mnt/z_test/quectel/source/exe_demo/quectelCM_revise
[09-25_14:47:51:112] force kill /proc/8745/exe → /mnt/z_test/quectel/source/exe_demo/quectelCM_revise
[09-25_14:47:53:115] fd= 7
[09-25_14:47:53:115] atc_fd = 7
[09-25_14:47:53:115] AT> ATE0Q0V1
[09-25_14:47:53:122] AT< OK
[09-25_14:47:54:122] AT> AT+QCFG=“NAT”,1
[09-25_14:47:54:140] AT< OK
[09-25_14:47:54:140] AT> AT+QCFG=“usbnet”
[09-25_14:47:54:143] AT< +QCFG: “usbnet”,5
[09-25_14:47:54:143] AT< OK
[09-25_14:47:54:143] AT> AT+QNETDEVCTL=?
[09-25_14:47:54:143] AT< +QNETDEVCTL: (1-8),(0-3),(0,1)
[09-25_14:47:54:143] AT< OK
[09-25_14:47:54:144] AT> AT+C5GREG=2
[09-25_14:47:54:145] AT< OK
[09-25_14:47:54:145] mark: AT+C5GREG=2
[09-25_14:47:54:145] AT> AT+QNETDEVSTATUS=?
[09-25_14:47:54:146] AT< +QNETDEVSTATUS: (1-8)
[09-25_14:47:54:146] AT< OK
[09-25_14:47:54:146] AT> AT+CGMR
[09-25_14:47:54:147] AT< RM500UCNAAR03A03M2G_01.001.01.001
[09-25_14:47:54:147] AT< OK
[09-25_14:47:54:147] AT> AT+CPIN?
[09-25_14:47:54:149] AT< +CPIN: READY
[09-25_14:47:54:149] AT< OK
[09-25_14:47:54:149] AT> AT+QCCID
[09-25_14:47:54:151] AT< +QCCID: 89860323245540897594
[09-25_14:47:54:152] AT< OK
[09-25_14:47:54:152] requestGetICCID 89860323245540897594
[09-25_14:47:54:152] AT> AT+CIMI
[09-25_14:47:54:153] AT< 460115484072342
[09-25_14:47:54:153] AT< OK
[09-25_14:47:54:153] requestGetIMSI 460115484072342
[09-25_14:47:54:153] AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
[09-25_14:47:54:158] AT< +COPS: 0,0,“CHN-TELECOM”,7
[09-25_14:47:54:163] AT< +COPS: 0,1,“CTCC”,7
[09-25_14:47:54:169] AT< +COPS: 0,2,“46011”,7
[09-25_14:47:54:169] AT< OK
[09-25_14:47:54:170] at_netdevstatus marked
[09-25_14:47:54:170] AT> AT+QNETDEVSTATUS=1
[09-25_14:47:54:251] AT< +QNETDEVSTATUS: 10.37.207.246,255.255.255.0,10.37.207.1,202.101.172.37,202.101.173.157,
[09-25_14:47:54:251] AT< OK
[09-25_14:47:54:251] requestQueryDataCall err=0, call_state=2
[09-25_14:47:54:251] at_netdevstatus marked
[09-25_14:47:54:251] AT> AT+QNETDEVSTATUS=1
[09-25_14:47:54:342] AT< +QNETDEVSTATUS: 10.37.207.246,255.255.255.0,10.37.207.1,202.101.172.37,202.101.173.157,
[09-25_14:47:54:342] AT< OK
[09-25_14:47:54:342] requestGetIPAddress 10.37.207.246
[09-25_14:47:54:342] requestGetIPAddress err=0
[09-25_14:47:54:342] ifconfig usb0 up
[09-25_14:47:54:345] No default.script found, it should be in ‘/usr/share/udhcpc/’ or ‘/etc//udhcpc’ depend on your udhcpc version!
[09-25_14:47:54:345] busybox udhcpc -f -n -q -t 5 -i usb0
[09-25_14:47:54:346] 11111 busybox udhcpc -f -n -q -t 5 -i usb0
udhcpc: started, v1.30.1
udhcpc: sending discover
udhcpc: sending select for 192.168.42.2
udhcpc: lease of 192.168.42.2 obtained, lease time 86400
[09-25_14:48:09:508] at_netdevstatus marked
[09-25_14:48:09:508] AT> AT+QNETDEVSTATUS=1
[09-25_14:48:09:602] AT< +QNETDEVSTATUS: 10.37.207.246,255.255.255.0,10.37.207.1,202.101.172.37,202.101.173.157,
[09-25_14:48:09:602] AT< OK
[09-25_14:48:09:602] requestQueryDataCall err=0, call_state=2
[09-25_14:48:24:617] at_netdevstatus marked
[09-25_14:48:24:617] AT> AT+QNETDEVSTATUS=1
[09-25_14:48:24:713] AT< +QNETDEVSTATUS: 10.37.207.246,255.255.255.0,10.37.207.1,202.101.172.37,202.101.173.157,
[09-25_14:48:24:713] AT< OK
[09-25_14:48:24:714] requestQueryDataCall err=0, call_state=2
[09-25_14:48:39:729] at_netdevstatus marked
[09-25_14:48:39:729] AT> AT+QNETDEVSTATUS=1
[09-25_14:48:39:824] AT< +QNETDEVSTATUS: 10.37.207.246,255.255.255.0,10.37.207.1,202.101.172.37,202.101.173.157,
[09-25_14:48:39:824] AT< OK
[09-25_14:48:39:824] requestQueryDataCall err=0, call_state=2
[09-25_14:48:54:836] at_netdevstatus marked
[09-25_14:48:54:836] AT> AT+QNETDEVSTATUS=1
[09-25_14:48:54:929] AT< +QNETDEVSTATUS: 10.37.207.246,255.255.255.0,10.37.207.1,202.101.172.37,202.101.173.157,
[09-25_14:48:54:929] AT< OK
[09-25_14:48:54:929] requestQueryDataCall err=0, call_state=2