-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PPPOS Protocol Reject (IPV6) (IDFGH-88) #1065
Comments
It is not the reason for connection close. It only means that the other side does not accept IPv6 protocol.
|
Ok great @loboris, thank you for your answer. I will check flow control on serial port between ESP32 and GSM, because I cannot think about any other reason if error is caused by GSM. Do you know if there's any other software or configuration that can bring to "LCP terminated by peer", please? |
You can try to use different authentication protocol with |
Hi @loboris, Now it looks like PPP is working and we got IP address successfully, but there's no way to redirect traffic to PPP interface. I think it's due to the fact we have wifi on (in AP mode but not connected). How can we choose what is the right interface for the network traffic? |
Maybe I already got the answer, |
I'm also interested in routing wifi to ppp, but I've had no success so far. I'm using gsm to connect to the Internet and wifi (AP) only for local configuration, so it is not a big problem, but I'd like to find a solution. |
@loboris actually I'm trying to do the same. Actually, all sockets are created at boot when PPP is down, and I'd like to route all those sockets to PPP interface, but netif_set_default seems not to do this job. Do I have to close and reopen all sockets again? |
I've added the example of using WiFi in AP mode and GSM/PPPoS for Internet connection to my ESP32-PPPOS-EXAMPLE repository. |
@HardwireIO , can @loboris 's suggestion help to solve your issue? |
Hi! |
Hi @crismansantos, currently we don't provide support for PPP in short term. |
Make the link local negotiation for IPV6 in PPP optional and configurable. This is because some modems do not support the IPV6 negotiation and sending IPV6CP frames would in some cases break the network configuration phase, resulting in a timeout during the Phase Network. Please note that this does not disable the IPV6 support for the outgoing communication (IPV6 is still enabled even if this option is not selected) but just for the local link between lwIP and modem. Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com> Merges #4782 Closes #1065
Hi!
I'm trying to test PPPOS using a GSM modem connected to a serial port.
Below ppp logs:
I got a "Protocol Reject for 0x8057" that should be related to IPV6.
Is this the reason for a connection closed?
I know that IPV6 is enabled by default on LWiP, so the message "Protocol-Reject received" let me think problem is on the other side.
From pppos debug logs I cannot figure out the reason.
The text was updated successfully, but these errors were encountered: