LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-17-2007, 09:28 AM   #1
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Rep: Reputation: 30
a quick question abt Kernel option


im trying to configure load balance for my linux box i want to check this entry of kernel

CONFIG_IP_ROUTE_MULTIPATH

i want to check whether this entry is "Y" or "N", currently am using 2.6 kernel
 
Old 08-17-2007, 06:41 PM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 146Reputation: 146
I hope that's what you are really asking for: If you have the source of your kernel installed you can do a simple search on your kernels .config file:
Code:
grep CONFIG_IP_ROUTE_MULTIPATH /usr/src/linux/.config
 
Old 08-21-2007, 11:57 AM   #3
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
k dont have any folder with name linux in /usr/src am running centos 4.5 kernel that came with the os i.e 2.6.9-55.EL
 
Old 08-21-2007, 12:26 PM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 146Reputation: 146
If it's not named "linux", but "linux-2.6.9..." it's okay. Else you have to install the kernel source with help of the package manager of your choice (sorry, don't know what choices there are exactly on CentOS, I think "yum" is the one). The package should IMHO be named "kernel-source", so that would mean issuing "yum install kernel-source", but please check that in your CentOS manual.
 
Old 08-21-2007, 03:46 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Well you only need to find the config to do the check. Probably there is a copy in /boot; have a look for something along the lines of conf*
Just grep that - personally I always use "-i"

Else check if /proc/config.gz exists - if yes, use zgrep on that.

Of course if you want to change anything you'll need the full source tree.
 
  


Reply



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
A quick question abt debian jayakrishnan Linux - General 3 07-19-2006 07:54 AM
quick kernel question Mr Marmmalade Slackware 2 02-09-2006 04:29 PM
A quick kernel question jlg6184 Linux - Software 11 12-09-2005 12:23 PM
quick kernel question jdouglas Slackware 2 09-03-2003 04:06 PM
Quick kernel question orange400 Linux - General 2 03-23-2003 04:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:01 PM.

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