LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-18-2005, 01:53 PM   #1
RAMMS+EIN
Member
 
Registered: Apr 2005
Location: London, UK
Distribution: Sabayon, Gentoo, Fedora
Posts: 32

Rep: Reputation: 15
/etc/resolv.conf resets after every reboot in FC3


As I've said in previous posts, I am a total newbie to Linux and I know nothing of it's ways so please excuse this stupid question:
I am runninf FC3 and am trying to change my DNS servers, so I change the /etc/resolv.conf file. By default it is set to 192.168.0.1 which is not what I want it to point to. So I then change it to 194.73.73.94 and it works fine... until I reboot. When I reboot it resets to 192.168.0.1. I tried changing the CHMOD but that didnt work. I also tried Network Device Control. That didnt work either. Any help would be greaty appreciated.

Last edited by RAMMS+EIN; 05-18-2005 at 02:02 PM.
 
Old 05-18-2005, 02:01 PM   #2
RAMMS+EIN
Member
 
Registered: Apr 2005
Location: London, UK
Distribution: Sabayon, Gentoo, Fedora
Posts: 32

Original Poster
Rep: Reputation: 15
Sorry, I posted this in the wrong forum and accidently put a link at the end. :S
 
Old 05-19-2005, 11:00 PM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

There's two files to look at. I'm not sure which one it is, or why they aren't just linked, but anyway...
/etc/sysconfig/networking/devices/ifcfg-eth0
and
/etc/sysconfig/network-scripts/ifcfg-eth0

I'd just change both of them, as they contain the same data on my machine.

Dave
 
  


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
resolv.conf removed on reboot Greek Acrobat Slackware 12 07-27-2005 09:37 AM
Resolution resets after reboot mouldy_punk SUSE / openSUSE 0 01-26-2005 10:49 AM
sysctl.conf resets itself? JohnLocke Linux - Newbie 1 07-14-2004 10:24 PM
resolv.conf ricemark20 Linux - Networking 12 11-11-2003 04:08 PM
Sound resets to LOUD after reboot! Unknown_User Linux - Hardware 2 04-21-2003 10:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:43 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
Open Source Consulting | Domain Registration