型号:EC20F
版本:EC20CEHDLGR06A09M1G
环境:树莓派4B(Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-1104-raspi aarch64)+主板+移动4G物联网卡
拨号方法:quectel-CM
现象:
(1)拨号日志显示拨号成功,有ip与netmask,ping -I wwan0 baidu.com时无响应;
(2)发现规律:拨号出现10.100.x.x网段时,网络可以ping通; 拨号出现10.104.x.x时,网络无法ping通;
(3)相关日志
[03-07_17:01:08:657] QConnectManager_Linux_V1.6.2
[03-07_17:01:08:660] Find /sys/bus/usb/devices/3-1 idVendor=0x2c7c idProduct=0x125, bus=0x003, dev=0x003
[03-07_17:01:08:660] Auto find qmichannel = /dev/cdc-wdm0
[03-07_17:01:08:660] Auto find usbnet_adapter = wwan0
[03-07_17:01:08:660] netcard driver = qmi_wwan, driver version = 22-Aug-2005
[03-07_17:01:08:661] Modem works in QMI mode
[03-07_17:01:08:739] cdc_wdm_fd = 7
[03-07_17:01:08:837] Get clientWDS = 7
[03-07_17:01:08:868] Get clientDMS = 1
[03-07_17:01:08:901] Get clientNAS = 2
[03-07_17:01:08:933] Get clientUIM = 1
[03-07_17:01:08:965] Get clientWDA = 1
[03-07_17:01:08:997] requestBaseBandVersion EC20CEHDLGR06A09M1G
[03-07_17:01:09:125] requestGetSIMStatus SIMStatus: SIM_READY
[03-07_17:01:09:157] requestGetProfile[1] ctnet///0/IPV4V6
[03-07_17:01:09:189] requestRegistrationState2 MCC: 460, MNC: 11, PS: Attached, DataCap: LTE
[03-07_17:01:09:221] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[03-07_17:01:09:222] ifconfig wwan0 0.0.0.0
[03-07_17:01:09:241] ifconfig wwan0 down
[03-07_17:01:09:318] requestSetupDataCall WdsConnectionIPv4Handle: 0x86d748f0
[03-07_17:01:09:446] ifconfig wwan0 up
[03-07_17:01:09:462] busybox udhcpc -f -n -q -t 5 -i wwan0
udhcpc: started, v1.30.1
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, failing
[03-07_17:01:24:746] File:ql_raw_ip_mode_check Line:137 udhcpc fail to get ip address, try next:
[03-07_17:01:24:746] ifconfig wwan0 down
[03-07_17:01:24:766] echo Y > /sys/class/net/wwan0/qmi/raw_ip
[03-07_17:01:24:767] ifconfig wwan0 up
[03-07_17:01:24:778] busybox udhcpc -f -n -q -t 5 -i wwan0
udhcpc: started, v1.30.1
udhcpc: sending discover
udhcpc: sending select for 10.104.91.111
udhcpc: lease of 10.104.91.111 obtained, lease time 7200
ip: RTNETLINK answers: File exists
(4)尝试AT+CFUN=1,1,等待重新拔号仍然存在该问题
联系人:18629552696(也可加微信),请帮忙指导下,感激不尽