LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to enable features in kernel? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-enable-features-in-kernel-328809/)

caminoix 05-31-2005 05:07 AM

how to enable features in kernel?
 
hello :)

in the official documentation of pearpc (mac emulator; <a href="http://pearpc.sourceforge.net/netsetup.html#linux_host_setup">here</a>) it says: "For Linux 2.6.x: You must enable (as a module "M" or compiled-in "Y") the following features in your kernel:".

how can i do it? help me, please... :)

naimslim89 05-31-2005 05:12 AM

You need to recompile your kernel -- do you have the source code installed for your kernel?

abisko00 05-31-2005 05:24 AM

First you could check whether the feature isn't enabled already.

Try 'zcat /proc/config.gz | grep <the feature>'

caminoix 05-31-2005 06:13 AM

naimslim89:
oh, dear, it sounds very scary for the newbie i am... i don't know if i have the source code. how can i check it?
in case it means anything, i'm using kanotix64 (based on knoppix).

abisko00:
i'm afraid i can't understand the answers :(
do you think you could please be so kind as to tell me whether it's ok or not?

For Linux 2.6.x: You must enable (as a module "M" or compiled-in "Y") the following features in your kernel:

"Device Drivers / Networking support / Universal TUN/TAP device driver support" (CONFIG_TUN)
CONFIG_TUN=m
CONFIG_TUNER_3036=m

"Device Drivers / Networking support / Networking Options / Network Packet Filtering (replaces ipchains) / IP: Netfilter Configuration / Connection tracking (required for masq/NAT)" (CONFIG_IP_NF_CONNTRACK)
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_CONNTRACK_MARK=y

"Device Drivers / Networking support / Networking Options / Network Packet Filtering (replaces ipchains) / IP: Netfilter Configuration / IP tables support (required for filtering/masq/NAT)" (CONFIG_IP_NF_IPTABLES)
CONFIG_IP_NF_IPTABLES=m

"Device Drivers / Networking support / Networking Options / Network Packet Filtering (replaces ipchains) / IP: Netfilter Configuration / MASQUERADE target support" (CONFIG_IP_NF_MASQUERADE)
for this one, it doesn't say anything. just shows the prompt in a new line.

is it so that all the features except for the last one are enabled?

abisko00 05-31-2005 06:25 AM

Is seems you understood very well ;)

Indeed, all features seem to be enabled in your kernel, which means you don't need to re-compile the kernel. The last feature may be called differently. On my system, I have CONFIG_IP_NF_TARGET_MASQUERADE=m. If a feature is not set, the configuration usually says so: e.g. # CONFIG_REISERFS_CHECK is not set. The complete missing of this feature indicates that the name has changed.

caminoix 05-31-2005 06:49 AM

the name of the feature? do you know the new one?
but is it ok if it doesn't say anything? may i move on with my pearpc?

abisko00 05-31-2005 06:54 AM

Quote:

Originally posted by abisko00
...On my system, I have CONFIG_IP_NF_TARGET_MASQUERADE=m...


All times are GMT -5. The time now is 06:09 AM.