LinuxQuestions.org
Visit Jeremy's Blog.
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 02-05-2004, 08:27 AM   #1
kubicon
Member
 
Registered: Aug 2003
Location: Limbo
Posts: 54

Rep: Reputation: 15
/etc/resolv.conf keeps resetting


I set up my /etc/resolv.conf file with some custom info but whenever I restart the computer, it resets to other information. How can I stop this from happening.
 
Old 02-05-2004, 12:21 PM   #2
aclaunch
Member
 
Registered: Sep 2003
Posts: 91

Rep: Reputation: 15
You need to add the -R switch to the dhcpcd startup. Usually this is a file in /etc/rc.d/- in Slackware it is /etc/rc.d/rc.inet1- check your distro's documentation. The -R switch tells dhcpcd to save the current /etc/resolv.conf and not overwrite it.

Good Luck
Alan
 
Old 02-05-2004, 02:37 PM   #3
kubicon
Member
 
Registered: Aug 2003
Location: Limbo
Posts: 54

Original Poster
Rep: Reputation: 15
thanks, I'll try that

ps: my distro is fedora core 1
 
  


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
Who changes /etc/resolv.conf? lmp Debian 4 11-29-2005 08:08 AM
resolv.conf stanleytiew Linux - Newbie 2 05-13-2005 04:25 PM
/etc/resolv.conf keeps resetting itself Avatar Linux - Networking 6 07-30-2004 06:28 PM
resolv.conf Culbert Linux - Networking 8 03-20-2003 04:11 PM
Resolv.conf tristan_vdv Linux - Networking 2 11-20-2001 06:49 PM

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

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