[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Which PPP implementation should be used? PPP-new or PPP
From: |
LMao |
Subject: |
Re: [lwip-users] Which PPP implementation should be used? PPP-new or PPP from the master branch |
Date: |
Mon, 31 Mar 2014 20:17:59 +0000 |
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. Could you quickly sketch a code snippet for PPP
application layer?
Thanks,
Charles
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Sylvain Rochet
Sent: Monday, March 31, 2014 3:46 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 LMao,
On Mon, Mar 31, 2014 at 12:57:56PM +0000, address@hidden wrote:
> Hi there,
>
> I am new to the lwIP community and try to use lwIP v1.4.1 to implement
> a gateway between an Ethernet interface and PPP on ATM91SAM7x. I
> found a port (with lwIP 1.3) in FreeRTOS community contributions and
> migrated to lwIP 1.4.1. It works fine with the Ethernet part, but the
> port doesn't contain PPP part. Therefore I need add PPP application by
> myself.
Are you sure Atmel does not provide a working and well-written lwIP port in
their lovely ASF ?
I guess there is one along with a MAC driver for AT91SAM µC in the same way
they do for AT32 µC.
> I have read the lwIP PPP wiki and some archived messages regarding PPP
> from this mail list. In the wiki, it talks about the PPP
> implementation contained in the master branch, but in the mail list,
> it seems everybody uses ppp-new.
> My question is which one should I use?
Well, cannot answer, because I am the ppp-new maintainer, so my answer
is pretty obvious on this point ;-)
> What are their differences?
ppp-new is a fresh new port of the latest pppd codebase for lwIP,
including 10 missing years of pppd improvement in lwIP and some features
are added.
So, IIRC, at least:
+ MSCHAP support (pppd)
+ EAP support (pppd)
+ multiple PPP sessions support (me)
+ L2TPv2 LAC support (me)
+ IPv6 support (pppd+me)
+ 10 years of bugfixes (pppd)
And, I guess this is worth considering it, but I am willing to help you
if you encounter issues with ppp-new, but I will NOT for master branch,
and no one will.
Sylvain