PPP and Linux

PPP and Linux

Post by Stuart Macle » Fri, 26 Jan 1996 04:00:00





>You need a newer version of pppd than you get with Slackware 3.0, ppp-2.2.0a
>or later, the latest was 2.2.0e as of a few days ago - this is due to the
>version of ppp in the newer kernels, certainly 1.3.48 anyway, using
>dynamic channel allocation which v2.1.x of pppd doesn't know about - it
>can't find a channel to use because it needs to ask for one to be allocated
>dynamically and so thinks that ppp isn't compiled in...

I installed ppp-2.2.0e yesterday.  It didn't exactly compile out of the
box, saying there was no definition for u_int_32, which it appears should
have been in sys/types.h. So, after hacking a fix by inserting a typedef,
it compiled OK. But then when I ran it, "Sorry - version 0.0.0 not
supported".

It appears that my kernel 1.2.13 is too old to support this version of
pppd.  A related question concerns whether you actually patch the kernel
sources from the pppd-2.2.0e package.  One HOWTO (NET-2?) says DONT use
the driver from the pppd package, yet the pppd package itself suggests
that a kernel rebuild IS required.

I'm very confused..... Anyone got the definitive solution here?

TIA

Stu

--
Stuart

 
 
 

PPP and Linux

Post by Leslie M. Barstow I » Sat, 27 Jan 1996 04:00:00


: pppd.  A related question concerns whether you actually patch the kernel
: sources from the pppd-2.2.0e package.  One HOWTO (NET-2?) says DONT use
: the driver from the pppd package, yet the pppd package itself suggests
: that a kernel rebuild IS required.

You *must* re-compile the kernel if you previously had a pre-2.2.0 version
of pppd.  The new pppd speaks to a new ppp kernel driver.  Without it, you are
going to get the error message you described.

Enjoy patching the kernel ;-)

--
Leslie M. Barstow III             | "How may I be honest with you today"

Faerealm: the future of PBM *| Do not reply to FastCash or MakeMoneyFast
PGP key available upon request    | schemes on the net.  They are scams!

 
 
 

PPP and Linux

Post by Greg Book » Sat, 27 Jan 1996 04:00:00



Quote:>I installed ppp-2.2.0e yesterday.  It didn't exactly compile out of the
>box, saying there was no definition for u_int_32, which it appears should
>have been in sys/types.h. So, after hacking a fix by inserting a typedef,
>it compiled OK. But then when I ran it, "Sorry - version 0.0.0 not
>supported".
>It appears that my kernel 1.2.13 is too old to support this version of
>pppd.  A related question concerns whether you actually patch the kernel
>sources from the pppd-2.2.0e package.  One HOWTO (NET-2?) says DONT use
>the driver from the pppd package, yet the pppd package itself suggests
>that a kernel rebuild IS required.

The problem here is 1.2.13 has 2.1.? ppp included with it, whereas 1.3.newest
has 2.2.0? included with it and for the simplest compile you need to check
/usr/src/linux/Documentation/networking/ppp.txt (watch the capitals here -
they may be slightly wrong) to see which version is needed.  In theory you
should be able to get 2.2.0? and patch an older kernel from it and build it
all but it won't be as straightforward - so if you really want a bleeding edge
kernel then get it, but get the right version of ppp for it eg 1.3.48 kernel
wants 2.2.0a ppp.

FYI, I passed out from * loss using the bleeding edge kernel so I went
back to the 1.2.13 with ELF patches from the undergrad CD.  I also had a small
problem with 1.3.57 in that anything that used floating point (eg ps -aux)
fell over with a "floating point exception" :)

Just my 2p's worth

Greg
--
Greg Booker, Department of Electronics and Computer Science,
University of Southampton, SO17 1BJ, UK

 
 
 

PPP and Linux

Post by Mark H. Wo » Wed, 31 Jan 1996 04:00:00



Quote:> It appears that my kernel 1.2.13 is too old to support this version of
> pppd.  A related question concerns whether you actually patch the kernel
> sources from the pppd-2.2.0e package.  One HOWTO (NET-2?) says DONT use
> the driver from the pppd package, yet the pppd package itself suggests
> that a kernel rebuild IS required.

Not so:  I'm typing this via telnet through pppd-2.2.0e running on linux
1.2.13.  I followed the instructions in the package completely, including the
kernel patch/rebuild.  I had to add an include of sys/bitypes to ppp_defs.h
to get it to compile, and add a definition of kernel_version[] to get it to
load as a module with CONFIG_MODVERSIONS off, but it does work.  I also needed
to apply the (included) slhc.c patch to get rid of the dreaded freelist-
corruption bug.
--


You are at a complex junction, with hyperlinks running off in *all* directions.
A hollow voice says, "PLUGH".