Hi Sylvain, Thanks for your support.
I didn't know it doesn't support PPP server. Any plans to add PPP server? What needs be done in order to support PPP server? Charles -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sylvain Rochet Sent: Monday, March 31, 2014 6:04 PM To: Mailing list for lwIP users Subject: Re: [lwip-users] Which PPP implementation should be used? PPP-new or PPP from the master branch Hello Charles, On Mon, Mar 31, 2014 at 08:17:59PM +0000, [email protected] wrote: > > Thanks, Sylvain. I think the answer is quite obvious now: ppp-new is > the way to go since it has you and the community's support. > > I couldn't find a complete example code of using ppp-new's PPP > implementation. > > Especially an example at application layer shows how to specify IP > address for a PPP interface, etc. This is kind of unusual, since our PPP stack only supports PPP client the IP address is usually given by the server. If you really need this we can add macro to set the necessary field in the PPP neg-configuration. > Could you quickly sketch a code snippet for PPP application layer? It mostly depends on which lower level protocol you wish to use, PPPoS, PPPoE or PPPoL2TP, I am sure I already provided hints on this list which should be on the list archive. Anyway, this isn't hard, the API is fully documented in headers and should be explanatory enough to give you the way to proceed. If you really need an example, you can checkout the ppp-new branch of the contrib Git repository, it contains my quick'n'dirty source code I use to test the ppp-new branch in "lwip-contrib/ports/unix/proj/minimal". Sylvain _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
