[pptp-server] PPP 2.3.10
Toktar, Emir
EMIR.TOKTAR at bra.xerox.com
Wed Nov 3 14:59:04 CST 1999
When I installed the PoPToP, I follow the procedures HowTo/Faq and had any
problems.
I modifyed any procedures below and work fine.
Procedures that I used for comments.
(+) lines that I add ....
(-) lines that I cut .... # not necessary
# comment
******************************
PoPToP HOWTO/FAQ
----------------
Last Updated: 19990813
Maintained by: Matthew Ramsay <matthewr at moreton.com.au>
HOWTO/FAQ mostly compiled from PoPToP help pages and the PoPToP Mailing List
(hosted by Christopher Schulte) by Matthew Ramsay. Large contributions from
Steve Rhodes and Michael Walter.
+++++++++++++++++++++
3.0 PPP (and MSCHAP/MPPE) Installation
--------------------------------------
It is only necessary to use PPP 2.3.8 if you want Microsoft compatible
MSCHAPv2/MPPE authentication and encryption. The reason for this is that
the MSCHAPv2/MPPE patch currently supplied (19990813) is against PPP 2.3.8.
If you don't need Microsoft compatible authentication/encryption any 2.3.x
PPP source will be fine.
Assuming you want Microsoft compatible authentication/encryption follow
these steps:
Note: [] are example commands to run
1. Grab yourself a clean copy of the PPP deamon v2.3.8 (ppp-2.3.8.tar.gz).
I usually go here for my PPP files:
ftp://cs.anu.edu.au/pub/software/ppp/
Note: You must get the tarball (tar.gz) and *not* the RPM.
2. Grab youself the MSCHAP/MPPE diff file from:
http://www.moretonbay.com/vpn/releases/ppp-2.3.8-mppe-others-norc4_TH7.diff.
gz
3. Grab yourself the SSLeay-0.6.6b file from:
ftp://ftp.psy.uq.oz.au/pub/Crypto/SSL/SSLeay-0.6.6b.tar.gz
4. You should now have 3 files:
ppp-2.3.8.tar.gz
ppp-2.3.8-mppe-others-norc4_TH7.diff.gz
SSLeay-0.6.6b.tar.gz
(+) ppp-2.3.8-patch1 ==>correction for IPX/SPX
Copy these files to your preferred location (I prefer /usr/local/src/)
#e.g. I uninstall previus ppp
(+) rpm -e ppp-2.3.7-2
5. Assuming your files are in /usr/local/src/ and your current working
directory is also /usr/local/src/ do the following:
[tar zxvf ppp-2.3.8.tar.gz]
[gunzip ppp-2.3.8-mppe-others-norc4_TH7.diff.gz]
# e.g.. it's not gunzip... [gunzip
ppp-2.3.8-mppe-others-norc4_TH7.diff.gz]
[tar zxvf SSLeay-0.6.6b.tar.gz]
[cp SSLeay-0.6.6b/crypto/rc4/rc4.h ppp-2.3.8/linux/]
[cp SSLeay-0.6.6b/crypto/rc4/rc4_enc.c ppp-2.3.8/linux/]
(+) [cp SSLeay-0.6.6b/crypto/rc4/rc4.h /usr/src/linux/drivers/net/]
(+) [cp SSLeay-0.6.6b/crypto/rc4/rc4_enc.c /usr/src/linux/drivers/net/]
(+) [cp ppp-2.3.8-patch1 ppp-2.3.8/pppd]
(+) [cd ppp-2.3.8/pppd]
(+) [patch -p0 < ppp-2.3.8-patch1]
(+) [cd /usr/local/src/]
[patch -p0 < ppp-2.3.8-mppe-others-norc4_TH7.diff]
[cd ppp-2.3.8]
6. The files should now all be in place and we are ready to compile PPP.
Follow these steps to compile it:
[./configure]
(+) [make kernel] --> reference ppp-2.3.8
#e.g. It isen't necessary following lines below described in
HOWTOFAQ...
(-) [cd linux] # not necessary
(-) [./kinstall.sh] # not necessary
(-) [cd ..] # not necessary
##
## Read documentation in ppp-2.3.8 ###
## README.linux
##-----(if kernel < 2.2.8)---------###
# e.g. Build the kernel when < Kernel 2.2.8
# kernel
[cd /usr/src/linux/]
[make menuconfig .....if necessary ...]
[make dep]
[make clean]
[make bzImage]
[make modules]
[make modules_install]
###-----(endif kernel < 2.2.8)---------###
[pwd]
[usr/local/src/ppp-2.3.8] # be sure into ppp-2.3.8 dir
[make]
[cp pppd/pppd /usr/sbin/]
(+) [make install] --> reference ppp-2.3.8
[cd /usr/src/linux]
[make modules SUBDIRS=drivers/net]
[make modules_install]
[rmmod ppp]
(+) [insmod slhc]
(+) [insmod ppp]
(+) [insmod bsd_comp]
(+) [insmod ppp_deflate]
(+) [insmod ppp_mppe]
Emir Toktar
+55 ** 41 340-7157
emir.toktar at bra.xerox.com
toktar at per.com.br
toktar at ppgia.pucpr.br
-----Original Message-----
From: Matthew C. Grab [mailto:mis at cindyrowe.com]
Sent: Wednesday, November 03, 1999 1:08 PM
To: pptp-server at lists.schulte.org
Subject: [pptp-server] PPP 2.3.10
Hi, I have been following the PopTop Howto. In the PPP compile /install
part, I am supposed to type "make modules SUBDIRS=drivers/net" while in the
/usr/src/linux directory. I am getting this error message. Can anybody
help point me in the right direction? I'm running RedHat 6.0, and I don't
know much about compiling kernels or modules or where in linux source for
anything is kept/installed. I would greatly appreciate any help you could
offer. I started with PPP 2.3.8 and the mppe patch, but I couldn't get
anywhere, so I moved to PPP 2.3.10 with the mppe patch.
Thanks in advance,
Matt Grab
mis at cindyrowe.com
[root at shop7 linux]# make modules SUBDIRS=drivers/net
make -C drivers/net CFLAGS="-Wall -Wstrict-prototypes -O2
-fomit-frame-pointer
-pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functio
ns=2 -DCPU=586 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.2.5/include/linu
x/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.2.5/drivers/net'
make[1]: *** No rule to make target
`/usr/src/linux-2.2.5/include/linux/module.h
', needed by `ppp.o'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.2.5/drivers/net'
make: *** [_mod_drivers/net] Error 2
[root at shop7 linux]#
More information about the pptp-server
mailing list