|
发表于 2021-9-26 17:31:23
- 需要将文件夹的/ec20-armhf/usr/share/udhcpc/default.script替换掉系统的/usr/share/udhcpc/default.script
- 结果如下:
- [root@RV1126_RV1109:/userdata/ec20-armhf]# quectel-CM &
- [root@RV1126_RV1109:/userdata/ec20-armhf]# [04-20_14:27:04:405] Quectel_Linux_ConnectManager_SR01A01V21
- [04-20_14:27:04:406] quectel-CM profile[1] = (null)/(null)/(null)/0, pincode = (null)
- [04-20_14:27:04:407] Find qmichannel = /dev/cdc-wdm0
- [04-20_14:27:04:407] Find usbnet_adapter = wwan0
- [04-20_14:27:04:422] cdc_wdm_fd = 7
- [04-20_14:27:05:422] QmiThreadSendQMITimeout pthread_cond_timeout_np=110, errno: 2 (No such file or directory)
- [04-20_14:27:06:520] Get clientWDS = 19
- [04-20_14:27:06:552] Get clientDMS = 1
- [04-20_14:27:06:584] Get clientNAS = 3
- [04-20_14:27:06:617] Get clientUIM = 1
- [04-20_14:27:06:648] Get clientWDA = 1
- [04-20_14:27:06:681] requestBaseBandVersion EC20CFDR02A07M4G 1 [Nov 10 2016 17:00:00]
- [04-20_14:27:06:743] requestGetSIMStatus SIMStatus: SIM_READY
- [04-20_14:27:06:777] requestGetProfile[1] cmnet///0
- [04-20_14:27:06:808] requestRegistrationState2 MCC: 460, MNC: 0, PS: Attached, DataCap: LTE
- [04-20_14:27:06:839] requestQueryDataCall ConnectionStatus: DISCONNECTED
- [04-20_14:27:06:904] requestRegistrationState2 MCC: 460, MNC: 0, PS: Attached, DataCap: LTE
- [04-20_14:27:07:447] requestSetupDataCall WdsConnectionIPv4Handle: 0x87205120
- [04-20_14:27:07:513] requestQueryDataCall ConnectionStatus: CONNECTED
- udhcpc: started, v1.27.2
- Failed to kill daemon: No such file or directory
- udhcpc: sending discover
- udhcpc: sending select for 10.154.101.71
- udhcpc: lease of 10.154.101.71 obtained, lease time 7200
- Failed to kill daemon: No such file or directory
- [04-20_14:27:07:729] deleting routers
- [04-20_14:27:07:772] adding dns 221.179.38.7
- [04-20_14:27:07:772] adding dns 120.196.165.7
- [root@RV1126_RV1109:/userdata/ec20-armhf]#ifconfig wwan0
- wwan0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
- inet addr:10.154.101.71 P-t-P:10.154.101.71 Mask:255.255.255.240
- UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
- RX packets:2 errors:0 dropped:0 overruns:0 frame:0
- TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:612 (612.0 B) TX bytes:656 (656.0 B)
复制代码
|
|