TimO wrote: > > Yep. The pppd in ppp-2.3.9 does this itself if necessary. Also, if > > you are using PPP as a module and module autoloading, see the comments > > in README.linux. > > > > Paul. Attached is the make failure from 2.3.9 on a system I successfully compiled 2.3.8 on. The 2.3.9 is the one Paul put on his ftp site on friday. The README.linux file seems to indicate I am supposed to be using kernel 2.3.13 or later, with the experimental new ppp modules, instead of the 2.0 ppp modules (unchanged since 1.3.something?) I already have in my 2.2.10 kernel (up 45 days as of this writing) Would it be possible to run two release trees, one with simple patches to 2.3.8 to provide the new features, and a different one for the new, less hacky 2.4-style modules? .... After adding the patch found in the 2.3.9.patch1 file, I get compilation (this means adding #include <sys/sysmacros.h> to the top of ./ppp-2.3.9/pppd/sys-linux.c ) But, the thing about extended pap-secrets files being required only for daemons which will be accepting connections seems untrue, as now running pppd gives me the following: # pppd pppd: The remote system is required to authenticate itself but I pppd: couldn't find any secret (password) which would let it use an IP address. I've printed out lcp.c and lcp.h from the 2.3.8 version and I'm going to see if I can't figure out how to disable sending of the local IP address w/o changing anything else in 2.3.8 which otherwise works pretty much allright (except for the demand option causing creation of a second ppp interface "ppp1" when pppd gets re-invoked, instead of the second invocation simply crapping out like without the demand option.) Any other bugs?
cd chat; make all make[1]: Entering directory `/usr/src/ppp/ppp-2.3.9/chat' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/ppp/ppp-2.3.9/chat' cd pppd; make all make[1]: Entering directory `/usr/src/ppp/ppp-2.3.9/pppd' cc -O2 -pipe -Wall -g -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE -I../include -DCHAPMS=1 -DUSE_CRYPT=1 -DHAVE_CRYPT_H=1 -DHAS_SHADOW -o pppd main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o auth.o options.o demand.o utils.o sys-linux.o ipxcp.o md4.o chap_ms.o -lcrypt sys-linux.o: In function `ppp_available': /usr/include/sys/stat.h:232: undefined reference to `makedev' make[1]: *** [pppd] Error 1 make[1]: Leaving directory `/usr/src/ppp/ppp-2.3.9/pppd' make: *** [all] Error 2
