LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-31-2005, 05:07 AM   #1
caminoix
Member
 
Registered: Mar 2005
Location: cracow, poland
Distribution: Linnex, Gentoo, KateOS, PLD
Posts: 53

Rep: Reputation: 15
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...
 
Old 05-31-2005, 05:12 AM   #2
naimslim89
Member
 
Registered: Mar 2005
Location: London, United Kingdom
Distribution: Fedora Core 5
Posts: 83

Rep: Reputation: 15
You need to recompile your kernel -- do you have the source code installed for your kernel?
 
Old 05-31-2005, 05:24 AM   #3
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
First you could check whether the feature isn't enabled already.

Try 'zcat /proc/config.gz | grep <the feature>'
 
Old 05-31-2005, 06:13 AM   #4
caminoix
Member
 
Registered: Mar 2005
Location: cracow, poland
Distribution: Linnex, Gentoo, KateOS, PLD
Posts: 53

Original Poster
Rep: Reputation: 15
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?

Last edited by caminoix; 05-31-2005 at 06:20 AM.
 
Old 05-31-2005, 06:25 AM   #5
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
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.
 
Old 05-31-2005, 06:49 AM   #6
caminoix
Member
 
Registered: Mar 2005
Location: cracow, poland
Distribution: Linnex, Gentoo, KateOS, PLD
Posts: 53

Original Poster
Rep: Reputation: 15
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?
 
Old 05-31-2005, 06:54 AM   #7
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Quote:
Originally posted by abisko00
...On my system, I have CONFIG_IP_NF_TARGET_MASQUERADE=m...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Features of KDE vs. Features of Gnome donlinux Linux - Newbie 17 12-04-2005 12:01 PM
[Vim] enable features noir911 Linux - General 2 08-09-2004 01:21 PM
What are the new Kernel 2.6 features? LinuxSeeker Linux - Software 1 02-27-2004 01:31 PM
Highpoint hpt372/4 features and linux kernel patton Linux - Hardware 3 04-09-2003 04:45 AM
Features Of Kernel 2.4.x WindozBytes Linux - General 6 11-11-2001 07:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration