On Sat, Dec 27, 2003 at 11:10:50AM +0100, Lorenzo Rossi wrote: > > I would like to setup a pptp client to connect to a win2k pptp server > in my office. > > I use Debian Testing, i have installed the following packages: > > kernel-patch-mppe > pptp-linux > > APT installed also other packages, but I suppose it has installed all > necessary packeages. > > I have seen in "/usr/src/ kernel-patches/all/mppe/", 2 files: > > linux-2.2.19-openssl-0.9.5-mppe.patch.gz > linux-2.4.20-openssl-0.9.6b-mppe.patch.gz > > But I do not know how to patch the kernel and obviously how to use > this files...
Easiest (debian) way I've found is using make-kpkg from the kernel-package package. Then I normally copy an existing config from a Debian kernel-image package for the same version of the kernel source I'm compiling into the the extracted kernel source as ".config". Then do the following: export PATCH_THE_KERNEL="YES" # case is important make-kpkg --initrd --append-to-version $VER --revision $REV \ --us --uc kernel_image kernel_headers modules_image Replace $VER with whatever you'd like to see after the kernel version and $REV with a number to indicate a packaging revision. This command will use the existing kernel configuration (.config) and prompt for any new entries. The targets "kernel_image kernel_headers modules_image" will result in a kernel image and headers package along with a package for any module source you have installed and extracted. You'll probably need the following packages beyond what you already have: kernel-package kernel-source-2.4.xx And to get an existing Debian kernel config: kernel-image-2.4.xx-1-yy xx above is the minor revision of the kernel (eg. 21, 22, or 23) and yy is the specific architecture (eg. 686, k7) As far as using PPTP once you have everything patched, I recommend following the instructions at this site: http://pptpclient.sourceforge.net/howto-debian.phtml And looking at the documentation there, it would appear that they have a repository with pre-patched packages. -- Jamin W. Collins Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]