AnsweredAssumed Answered

MQX ppp and LTE modem question

Question asked by tomzuojin on Sep 19, 2017
Latest reply on Oct 23, 2017 by 胜 戴

I used MQX 4.2 and modify PPP code can used M26 gprs modem OK.

when i used Fibocom L710 LTE 4G modem ,I have modify AT command, it can PPP OK,but

can not ping any IP address;

when i used M26 2G modem ,get local address and remote adress not same,but at 4G modem it is same.

see: (4G )

Attempting to establish connection. Please wait(45)....Link_up
DNS server added successfuly.
Connection established
Local address: 10.173.252.171
Remote address: 10.173.252.171

PPP connection ok
GPRS modem connected successfuly
Trying to resolve hostname
Hostname resolution failed
Start GPRS OK

 

howroute
IPv4 Routing Table:
INDIRECT Route: 10.173.252.171
DIRECT Route: 10.173.252.171, NetIF=2000a5a0,DestIF=0
DIRECT Route: 192.168.1.202, NetIF=1fff807c,DestIF=1fff807c
DIRECT Route: 192.168.1.202, NetIF=1fff807c,DestIF=0

 

Image is 2G modem infomation.

 

who can tell me why?? i can't ping any IP .

thank u.

 

 

=======================================================================

modify  IPCP_up  function ,on ipcpfsm.c file.  

#if 1 
if(ipcp_ptr->LOPT.ADDR == ipcp_ptr->POPT.ADDR)
{
ipcp_ptr->POPT.ADDR = 0;
ipcp_ptr->BIND_PARMS.network = 0;
}
#endif

RTCSCMD_smartissue(ipcp_ptr->BIND_PARMS, IPIF_bind_ppp);

 

add route 0.0.0.0  to route table.

Attachments

Outcomes