lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] PPP, GPRS connection problem: Solved


From: Kieran Mansley
Subject: Re: [lwip-users] PPP, GPRS connection problem: Solved
Date: Thu, 11 Dec 2008 12:04:50 +0000

On Wed, 2008-12-10 at 14:48 -0200, Paulo Silva(OpenSoftware) wrote:
> 
> The changes are:
> 
> In file ../lwip/src/include/lwip/opt.h do changes:
> 
>  PPP_SUPPORT as follow:
> /**
>  * PPP_SUPPORT==1: Enable PPP.
>  */
> #ifndef PPP_SUPPORT
> #define PPP_SUPPORT                     1
> #endif
> 
> PAP_SUPPORT as follow:
> /**
>  * PAP_SUPPORT==1: Support PAP.
>  */
> #ifndef PAP_SUPPORT
> #define PAP_SUPPORT                     1
> #endif

Those two (above) shouldn't be necessary - that code is just supplying
the default values in case your project doesn't define all the options.
As you define those options in your lwipopts.h (below) the defaults
should have no effect.

> In file ../ppp_test/unix/proj/ppp_test/lwipopts.h do changes:
> 
> PPP_SUPPORT as follow:
> #define PPP_SUPPORT      1      /* Set > 0 for PPP */
> 
> PAP and CHAP  suport as follow:
> /* Select modules to enable.  Ideally these would be set in the makefile but
>  * we're limited by the command line length so you need to modify the 
> settings
>  * in this file.
>  */
> #define PAP_SUPPORT      1      /* Set > 0 for PAP. */
> #define CHAP_SUPPORT     1      /* Set > 0 for CHAP. */
> 
> The complete code for ppp_test from Peter Fodor may be get here:
> 
> http://www.freeweb.hu/fodpeter/lwip/ppp_test.tar.gz

Kieran





reply via email to

[Prev in Thread] Current Thread [Next in Thread]