Re: PPP in kernels 2.1.112 - 2.1.115

Tygrys (tygrys@gdynia.sprint.pl)
Sun, 09 Aug 1998 18:18:18 +0200


Donnie Cranford wrote:
>
> Hello,
> I have upgraded both my 2.0.34 kernel and 2.0.35 kernel and it has
> compiled succesfully with no modules loaded but I cannot get PPP to
> work. I have tried to upgrade to 2.3.5 but when I do a "make" in the top
> level of pppd I get lots of errors
> Can anyone share some light on why this is happening.
>
> PS This is all happening within the 2.1.112 and 2.1.115 kernel.
>
> PPP 2.3.3 works fine in 2.0.34 and 2.0.35 but since the "required"
> upgrade to 2.3.5 nothing has worked PPP wise. Any suggestions?

Let me guess... Compilation stops near the sys-linux.c file?
If so, all you have to do is to:

(assuming that you're in the ppp-2.3.5 top level dir.)
1. Type ./configure :-)
2. Cd into linux/
3. Replace files `if.h', `if_arp.h', `if_ppp.h', `ppp-comp.h',
`ppp_defs.h' and `route.h' with relevant ones from your
/usr/include/net directory. Then, it will compile, but partially :-). It
will stop on the `pppstats.c'.
4. Then, enter `-D__GLIBC__=2 into the COMPILE_FLAGS of your Makefile in
the pppstats/ directory. (just in case...)
5. Tweak the file ppp-2.3.5/include/net/ppp-defs.h. Enter

unsigned int bytes_out;
unsigned int in_count;

in the line 159 (under `unsigned int ratio;').

6. Then cd into ppp-2.3.5 top level directory. Type standard `make ;
make install' - it should compile without any problems...

-- 
Greetz,
  Tiger [161-Tango Delta Echo-002] - at 27MHz
                                           if I have a bad day, ;-)
  ("`-''-/").___..--''"`-._         TiGer  *** ExPeCt No MeRcY! *** 
   `6_ 6  )   `-.  (     ).`-._-.       KSS Network Administrator
   (_Y_.)'  ._   )  `._ `. "-..'  http://www.gdynia.sprint.pl/~tygrys/
  _..`--'_..-_/ /--'_.'_,'        ICQ:3297597 LU156-NIC 2:484/53@fidonet 
 ((('   (((-(((''  ((((           Linux Forever!!!        Member of JTZ

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html