LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Basic configuration check (https://www.linuxquestions.org/questions/linux-newbie-8/basic-configuration-check-294560/)

knoxlinuxuser 02-24-2005 08:48 PM

Basic configuration check
 
Hello all,

This may seem like a stupid question to some, but how can I check if my kernel is build with this options:

CONFIG_NET_RADIO=y


Thanks

RomanG 02-25-2005 12:49 AM

there is a file named .config in the top level of your kernel source directory, so do 'cat .config | grep CONFIG_NET_RADIO'

chris318 02-25-2005 02:09 AM

Another way to absolutely make sure because the .config in /boot/ or /usr/src/linux/ could have been reconfigured and not match your current kernel is to:

"cat /proc/config.gz | gzip -d | grep CONFIG_NET_RADIO"

Most kernels are built with the config.gz option, just for this purpose. If not go with what RomanG said.

knoxlinuxuser 02-25-2005 07:07 AM

Thanks, that worked great.


All times are GMT -5. The time now is 08:35 PM.