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 06-21-2010, 04:36 AM   #1
gauravholey
Member
 
Registered: May 2009
Posts: 35

Rep: Reputation: 15
How to retrieve config file


hi all,


This is gaurav. I have lost/override the old configuration (config file) while compiling the new kernel resulting in my internet connection failure. I have tried re-booting the pc, the only escape (somewhat weired) i would thought of, still it does not restore the original.

Please guide me to the solution. Is Reinstalling the Fedora would be the only savior?

Every help would always be greatly appreciated.

Thanks and Regards,
Gaurav Holey
 
Old 06-21-2010, 05:07 AM   #2
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,298

Rep: Reputation: 102Reputation: 102
I think you are talking about /etc/sysctl.conf
 
Old 06-21-2010, 05:37 AM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,520

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
Hi,

If you can still boot with your old kernel, check if there is a /proc/config.gz. Then you can run:
Code:
zcat /proc/config.gz > .config
Regards
 
Old 06-21-2010, 05:43 AM   #4
gauravholey
Member
 
Registered: May 2009
Posts: 35

Original Poster
Rep: Reputation: 15
Dear vikas,I am not sure about the file, it should be the file which will affect internet connection.

Dear bathory, i'll try it,lets hope this will solve my problem.


thanks and regards,

Gaurav Holey
 
Old 06-21-2010, 05:52 AM   #5
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,298

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by gauravholey View Post
Dear vikas,I am not sure about the file, it should be the file which will affect internet connection.

Dear bathory, i'll try it,lets hope this will solve my problem.


thanks and regards,

Gaurav Holey
Dear Gaurav,

How were you compiling the new kernel ?
 
  


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
Retrieve a text file? InfinitePalindrome Linux - Newbie 1 06-23-2008 11:18 PM
Quickly retrieve a file from its file system / inode jef_te Linux - Newbie 1 04-17-2008 08:50 PM
retrieve a line from a file sharapchi Linux - General 9 12-03-2006 05:44 PM
can I retrieve config kernel settings after make mrproper? mac1234mac Linux - Kernel 3 05-13-2006 09:28 AM
Retrieve a file from another server bijuhpd Linux - Newbie 2 09-29-2005 01:04 AM


All times are GMT -5. The time now is 08:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration