[pptp-server] Patching kernel 2.2.19 with PPP+MS-CHAP

Neale Banks neale at lowendale.com.au
Fri May 18 20:17:16 CDT 2001


On Fri, 18 May 2001 ctooley at amoa.org wrote:

> I've got the 2.2.19 kernel downloaded from kernel.org, ppp-2.3.11 with the
> MS-CHAP patches and when I try to compile the kernel I'm getting a bunch of
> errors about PPP_MAGIC not being right.  I remember something about this from
> before, but I can't remember what it was for sure.

Per chance I just stumbled across this one whilst cleaning up:

On Wed, 2 Aug 2000, Brian Denheyer wrote:
> 
> Date: Wed, 2 Aug 2000 15:38:18 +0100 (GMT Daylight Time)
> From: Brian Denheyer <bdenheyer at nextcomminc.com>
> To: Tom Eastep <teastep at evergo.net>
> Cc: Brian Denheyer <bdenheyer at nextcomminc.com>, pptp-server at lists.schulte.org
> Subject: Re: [pptp-server] kernel fails to build
> 
> Tom Eastep writes:
>  > Thus spoke Brian Denheyer:
>  > 
>  > > 
>  > > I tried again to patch and build everything.  ppp seems to build ok.
>  > > The kernel has problems :
>  > > 
>  > > PPP_MAGIC
>  > > PPP_VERSION
>  > > 
>  > > are both undeclared and so cause errors.
>  > >
>  > 
>  > Edit /usr/src/linux/include/linux/if_ppp.h and add the following:
>  > 
>  > #define PPP_MAGIC	0x5002
>  > #define PPP_VERSION	"2.3.11"
>  > 
> 
> Thanks !
> 
> Well this immediately begs the question : why isn't this included in
> the patch ?  Wouldn't this be a problem for _everyone_ who tried to
> build ??
> 
> It turns out that in addition to rc4_skey.c, you also need rc4_locl.h
> to be copied into the kernel source tree.
> 
> Everything seems to build now.  I still get the strange errors about
> "static delcarations following non-static".
> 
> Of course, I don't know if it works yet...
> 
> Brian
> 

HTH,
Neale.




More information about the pptp-server mailing list