Click to See Complete Forum and Search --> : Simple Mandrake kernel question - Please
I want to recompile the kernel on my firewall machine (Drake 7.2) so that I can connect to work with a Win2K (behind the Firewall) client computer using a PPTP VPN.
I have been told that the kernel that came with Mandrake 7.2 (2.2.17-22mdk) has all that is needed and simply needs to be recompiled, I am game but here comes the stupid question: Where, on my 2 CD's, do I get the source in a format other than RPM? I would like a .gz version so that I can follow through the steps in all the docs I have collected.
Thanks a million,
SubPar
02-13-2001, 01:21 AM
There isn't a version in non-RPM format, unfortunately. But if you install the kernel-source and kernel-headers packages, then you should be able to recompile the kernel using the instructions you have, starting right after the part where you unpack the archive.
digitalzero
02-13-2001, 01:42 AM
I heard that the the new 2.4 kernel is awesome at firewalls. I suggest u download the tar.bz2 format of the new kernel.
If not, then just install the kernel source from your Mandrake CD.
U should then have the source in:
/usr/src/linux
that's the sym link to /usr/src/linux-2.2.17
Having the kernel source,
cd to /usr/src/linux
then compile the kernel.
bobtcowboy
02-13-2001, 02:03 AM
to answer your question I have to say I don't think you'll find any such beast...
I checked my hard drive (using find files) and found nothing... on the second CD, there's a file called
" kernel-source-2.2.17-21mdk.i586.rpm " under /Mandrake/RPMS/
but I don't think it is what you're looking for...?
anyways, I checked www.linux-mandrake.com (http://www.linux-mandrake.com) and under the 7.2 and the cooker mirrors there is no gz file...
Why can't you just grab a generic 2.2.18 kernel and compile that? I was under the impression that the only difference between that and a mdk one is that the mdk is optimized for i586 ...?
Bill
debiandude
02-13-2001, 02:29 AM
On the second cd there will be a file "kernel-source-2.2.17-21mdk.i586.rpm" just rpm -Uvh it and goto /usr/src. There you will see either a .tar.gz file or it will already be extracted to a directory. From their you can follow you directions and do the make xcofig blah blah. Have fun ;-)
Btw if that dosn't work just click here to downlaod the source: http://www.kernel.org/pub/linux/kernel/v2.2/linux-2.2.18.tar.gz
You guys rock! :) I will give the suggestions a try tonight and post the results. I was beginning to consider giving up and installing Win NT4 and Winroute on the machine. Now that would have been a step backwards ;)
Thanks again,
dodgetrucs
02-13-2001, 09:12 AM
Best way yet.... just use Mandrake Update in DrakeConf. Go to Experimental section, and look in cooker for new 2.4 kernal. Grab the headers, etc. Then click Insall or whatever, it will do the rest :)
I am very possibly wrong but I believe that updating to kernel 2.4. will disable the ipchains rules that I has setup with PMFirewall. Is this correct? Is there a substitute for PMFirewall for the 2.4 kernel?
Thanks,