[Debian] 2.4 en MPPE

Pagina: 1
Acties:

  • siepeltjuh
  • Registratie: Maart 2003
  • Niet online
Ik ben bezig om op mijn debian 3.0 woody met kernel 2.4 een vpn server poptop (pptpd) te installeren.

Inmiddels heb ik het al zo aan de praat dat er users kunnen inloggen en gebruik kunnen maken van het netwerk.
Nu gebeurt de authenticatie/overdracht via CHAP dit is niet zo`n veilig protocol begrijp ik.
om mschap v2 te gebruiken ben ik een kernel module mppe nodig, alleen krijg ik die niet voorelkaar:

Volgens de HOWTO moet ik dit doen:

Now we need to build a kernel module to do MPPE data encryption. A kernel patch is available in Debian unstable (sarge) in the kernel-patch-mppe package. Install that package. It'll create some stuff in /usr/src/kernel-patches. Change directory to the top level of a kernel build tree and you should be able to say /usr/src/kernel-patches/all/apply/mppe to apply the MPPE patch.

Not quite there yet, though. Edit include/linux/ppp-comp.h and search for CCP_MAX_OPTION_LENGTH. Setting it to 128 will avoid problems with data encryption later.

Now make modules and make modules_install to put your new modules in place. If you do kernel autoloading of modules you probably want to define an alias in /etc/modutils/aliases:

alias ppp-compress-18 ppp_mppe

and run /sbin/update-modules. I just modprobe the thing in by hand.


Ik heb de patch gedownload maar snap de : Change directory to the top level of a kernel build niet helemaal.. iemand suggesties?

Can`t live without the mods


  • _Squatt_
  • Registratie: Oktober 2000
  • Niet online
De 'top level' die bedoeld wordt is de directory waaronder alle andere kernel sources zitten.

Als ik bijvoorbeeld linux-2.4.62.tar.bz2 uitpak in /usr/src krijg ik een dir /usr/src/linux-2.4.26 met daaronder een heleboel bestanden en directories. /usr/src/linux-2.4.26 is dan de dir die je zoekt.

Waarschijnlijk heeft debian wel een package dat je kunt installeren om de kernel sources op je systeem te krijgen.

"He took a duck in the face at two hundred and fifty knots."