|
From: | Greg Smith |
Subject: | [lwip-users] Force PPP TermReq (Lwip 2.0.0 RC2) |
Date: | Thu, 4 Aug 2016 13:54:03 +0000 |
Hello. I'm looking for a way to let a PPP peer know that the connection is dropped and needs to reestablish in 2.0.0rc2. In my case, one particular usage of this is if one peer unexpectedly resets (for example, via power loss) and then comes
back up and wants to reconnect. At this point, it's lost its IP address, etc. and needs to reconnect to the peer. But for some reason, the peer (not Lwip) is ignoring all LCP packets. (I'm not sure if that's good protocol or not, but I have to deal with
it.) So I was thinking that if I could explicitly tell the peer to terminate (TermReq), then perhaps we could restart normally. Unfortunately, if I just try a ppp_close() (on the peer that reset), Lwip is smart enough to realize it's in the DEAD state and does not try to send a TermReq. Is there a way to force it to send a TermReq? Or is there some other way to
let the peer know that the connection needs to be reestablished? Thanks for any advice. -- Greg This email has been scanned for email related threats and delivered safely by Mimecast. For more information please visit http://www.mimecast.com |
[Prev in Thread] | Current Thread | [Next in Thread] |