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 11-30-2006, 11:23 PM   #1
emersony
LQ Newbie
 
Registered: Nov 2006
Posts: 15

Rep: Reputation: 0
Question How to view current kernel configuration


Can someone tell me what the fastest/best way to see the list of what/all options that are currently compiled into your kernel are?

For example if you want to see if CONFIG_IP_NF_TARGET_MASQUERADE is compiled in.

Preferably from CLI, not X.

TIA,

Emerson.
 
Old 11-30-2006, 11:32 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
if you have the source installed check 'cat /usr/src/linux-`uname -r`/.config'. if its not there check in /boot/ for the .config file for your currently running kernel
 
Old 05-25-2013, 10:29 PM   #3
asifmdalam1987
LQ Newbie
 
Registered: May 2013
Posts: 4

Rep: Reputation: Disabled
.config file is not found

no such file or directory
.config file is not found
I am using ubuntu 12.10 and kernel version 3.5.0-17
I want to see the current kernel configuration but where it is I don't know
please help me
 
Old 05-27-2013, 07:36 AM   #4
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142
I think you should need to read this.
http://www.dedoimedo.com/computers/l...mpilation.html

If you want to Check What Kernel Build Options Enabled In The Linux Kernel?
Read this.
http://www.walkernews.net/2008/11/21...-linux-kernel/
 
  


Reply

Tags
kernel, options



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
View current kernel config hodges Linux - Kernel 3 07-28-2006 03:37 AM
How to view recent and current logins? QAR Linux - Software 3 02-28-2005 05:21 AM
Loading current kernel configuration in menuconfig gauntalus Linux - General 2 02-10-2005 03:47 PM
how to View Current Logged In Users scialom Linux - Software 1 10-20-2004 10:13 AM
Any way to view the current processes? alyks SUSE / openSUSE 7 10-18-2004 10:04 AM

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

All times are GMT -5. The time now is 09:46 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