[Top][All Lists]

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

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

From: Paulo Silva(OpenSoftware)
Subject: Re: [lwip-users] PPP, GPRS connection problem: Solved
Date: Thu, 11 Dec 2008 11:01:32 -0200
User-agent: Thunderbird (X11/20080925)

Kieran Mansley escreveu:
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.
#define PPP_SUPPORT                     1

PAP_SUPPORT as follow:
 * PAP_SUPPORT==1: Support PAP.
#define PAP_SUPPORT                     1

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:



lwip-users mailing list

Hi Kieran

Correctly..., but I only understood that after send the email, I am new to lwip. Now I know that opt.h define the default, I forgot to say that NO_SYS should be asserted to 0(zero) when you use PPP_SUPORT.



reply via email to

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