Hi,
I using Quectel EG-95 modem, where I’m seeing this issue that, the IP-Address of the active interface (wwan0 or ppp0) with ifconfig it is different than the IP-Address we get with “AT+CGPADDR”. I have seen this same issue with BG-96 modem also.
following are the firmware details:
Quectel EG95
Revision: EG95EXGAR08A05M1G
Quectel BG-96
Revision: BG96MAR04A04M1G
following is the output:
# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:100.86.154.89 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:52 (52.0 B) TX bytes:58 (58.0 B)
#
#
# mmcli -m any --command='AT+CGPADDR'
response: '+CGPADDR: 1,"100.73.52.187"
+CGPADDR: 2,"0.0.0.0"'
#
#
# ping -I ppp0 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=115 time=212.077 ms
64 bytes from 8.8.8.8: seq=1 ttl=115 time=106.216 ms
64 bytes from 8.8.8.8: seq=2 ttl=115 time=145.908 ms
64 bytes from 8.8.8.8: seq=3 ttl=115 time=105.358 ms
^C
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 105.358/142.389/212.077 ms
This situation is not ideal when I want to find the active CID from the available CIDs with “AT+CGDCONT?”, in case multiple CIDs are active. How can I fix this issue ?