I’m trying to connect dialup modem to UART2 by making PPP connection. Making PPP connection using PC to the modem is fine but when I try to make PPP connection through Q26, after around 30seconds it gives UART2 PPP EVENT IP_FAILURE.
So when I start the UART2 bearer I get:
[UART2]: PPP start: -> PPP CONNECTING
[UART2]: start: -> CONNECTING
[UART2]: PPP event LINK_UP
[UART2]: PPP event IP_UP: -> PPP CONNECTED
[UART2]: -> CONNECTED
I got IP address as well as DNS address from the ISP. It seems all fine, but after about 30 seconds (always around 30 seconds) I get:
첱Pø2]: PPP event IP_FAILURE
[UART2]: PPP event IP_DOWN
[UART2]: PPP event LINK_DOWN -> PPP DISCONNECTED
[UART2]: IPCP negociation failure
[UART2]: -> PEER DISCONNECTING
+CME ERROR: 815
[UART2]: -> DISCONNECTED
Error 815 is PPP IPCP negotiation failure. But according to the message above, it’s caused by IP FAILURE but I have no idea what IP_FAILURE means at all. I don’t think it’s the modem at all because when the connection is made through PC, it’s totally fine. I think it’s something to do with Q26 settings.
When I am connected, during that 30 seconds I’ve tried making TCP socket as well as ping google etc but I get time outs (Error 842) so I guess it’s safe to assume the connection is not fully established.
I’ve tried altering parameters in the WIPCFG but makes absolutely no difference.
Any help would be very very appreciated.