[plug] Kernal compile

Matt Kemner zombie at wasp.net.au
Sat Sep 9 16:10:53 WST 2000


On Sat, 9 Sep 2000, Robert Andrews wrote:

> Hi all my question is how do I find out how my Kernal was compiled

If you got your kernel with your distro, check out the documentation that
came with your kernel package, or the distribution's website.

>        CONFIG_EXPERIMENTAL=y
>        CONFIG_IP_MASQUERADE=y
>        CONFIG_IP_MASQUERADE_MOD=y
>        CONFIG_IP_MASQUERADE_IPAUTOFW=y/m
>        CONFIG_IP_MASQUERADE_IPPORTFW=y/m
>        CONFIG_IP_MASQUERADE_MFW=y/m

You could also try running the appropriate commands and seeing if they
work.
If they come up with error messages such as "could not open
/proc/net/ip_masquerade" then the kernel has not been configured with
ip_masquerade. If it can't open /proc/net/ip_portfw then you haven't got
portfw - but there may be a module for it in /lib/modules/<version>/ipv4

 - Matt




More information about the plug mailing list