|
From: | Patrick Klos |
Subject: | Re: [lwip-users] Force PPP TermReq (Lwip 2.0.0 RC2) |
Date: | Thu, 4 Aug 2016 10:15:56 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 8/4/2016 9:54 AM, Greg Smith wrote:
If the peer just came up, why isn't it simply starting PPP on it's side? Or is the LwIP host the peer that got reset in this case? Does the serial link have any means to tell that the link went down? (i.e. modem control signal? carrier detect?) Or is this a simple 3-wire serial connection between 2 devices (GND, RX, TX)? Can you get a trace of the serial line to show the exact bytes that are going back and forth? That usually has all the clues you need to find and fix a problem (unless the non-LwIP peer has a broken PPP).
Based on what you said, your non-LwIP peer would ignore that packet as well since it is an LCP packet.
Again, the TermReq packet is an LCP packet. If your peer is ignoring all LCP packets (as you stated earlier), it's just ignore that packet as well. I'm sure you could find a way to get LwIP to send the packet - just not sure if it'll help given your symptoms. Describe the exact link setup between the peers and get a packet trace. :o) Patrick Klos Laufer Wind |
[Prev in Thread] | Current Thread | [Next in Thread] |