LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 04-06-2006, 06:07 PM   #1
lonecrow
Member
 
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274

Rep: Reputation: 30
kernel .config edit?


Can we edit this file? I need to change something but the first line of the .config file of the kernel says not to edit. Is that only a warning?
 
Old 04-06-2006, 06:16 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
what do you need to edit? i would be really careful editing that file. if you still want to, backup.

Last edited by bosewicht; 04-06-2006 at 06:36 PM.
 
Old 04-06-2006, 06:16 PM   #3
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Usually you edit it by doing a make xconfig from the command line. The .config file is the file used to compile a kernel. So if you edit it, changes won't take effect until you recompile the kernel.
 
Old 04-06-2006, 06:16 PM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
You can run "make menuconfig", change the settings you want and choose to save at the end.
 
Old 04-06-2006, 06:25 PM   #5
lonecrow
Member
 
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274

Original Poster
Rep: Reputation: 30
ok that's what I thought, that it doesnt have any effect until you recompile (and I dont want to)

I need to change something for my wireless
CONFIG_NET_RADIO=ON

So yeah I know what I'm doing.... well I think. And I dont mind if I blow my system up, I install linux about 3 times a week!!! lolol

Will try make menuconfig and make xconfig

Cheers all!
 
Old 04-06-2006, 06:34 PM   #6
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
I haven't worked much with wireless, but anything you change in this file shouldn't help you out until you recompile. So I'm not sure how changing this file will help you if you're not going to recompile...
 
Old 04-06-2006, 06:45 PM   #7
lonecrow
Member
 
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274

Original Poster
Rep: Reputation: 30
ill try menuconfig as reddazz stated
 
Old 04-06-2006, 06:50 PM   #8
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by lonecrow
ill try menuconfig as reddazz stated
"make menuconfig" is text mode and "make xconfig" is gui mode for those that are running KDE or have qt installed. Use whichever you think is best for you. For any changes to take effect you have to recompile the kernel as suggested above.
 
Old 04-06-2006, 07:47 PM   #9
lonecrow
Member
 
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274

Original Poster
Rep: Reputation: 30
ohhh.... I though you didnt need to recompile. Well I guess I wont do that then!!
 
  


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
Edit the grub config from windows? critical Linux - Software 5 04-13-2006 08:43 AM
How to edit a config file in FC4? heffo_j Fedora 7 12-12-2005 09:20 PM
Edit which config file to allow for dif resolutions Glas Slackware 9 09-24-2004 01:26 AM
lilo config edit problem lestoil Linux - Newbie 2 05-03-2004 03:31 PM
scripts to edit config files twistedpair Linux - General 1 01-16-2004 12:34 PM


All times are GMT -5. The time now is 05:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration