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 06-30-2004, 07:29 PM   #1
jawaking00
Member
 
Registered: Mar 2004
Posts: 54

Rep: Reputation: 15
/etc/resolv.conf being rewritten at startup


Ok, I was having problems with my internet connection being slow, but I was able to fix it by adding my router's IP address to my /etc/resolv.conf file as the domain. I then ran service -R to reset the connect and it was working perfectly.

The problem is, that now when I restart my computer, the resolv.conf get set back to what it originally was and caused my connection to be slow again.

Is there any way I can prevent this from happening at startup?

Thank you.
 
Old 06-30-2004, 07:57 PM   #2
mhiggins
Member
 
Registered: Feb 2004
Posts: 140

Rep: Reputation: 15
I assume you are getting your address via dhcp .. If you are using dhcpcd then you can edit your network start up script to include the -R flag this will prevent dhcpcd from over writting your resolve.conf
 
Old 07-01-2004, 08:17 AM   #3
jawaking00
Member
 
Registered: Mar 2004
Posts: 54

Original Poster
Rep: Reputation: 15
Ok, but as you may have noticed I'm a bit of a n00b, so how exactly to I configure my network startup script?

Oh and if I were to do this, would there be any adverse side effects?

Thanks.
 
  


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 getting deleted at startup Caysho Mandriva 1 08-24-2005 09:44 AM
Sound muted at boot, ntpd.conf rewritten spaceballs Slackware 1 02-22-2005 01:14 AM
resolv.conf is rewritten on startup smurf Linux - Networking 1 03-23-2004 03:19 AM
resolv.conf dnsbum Linux - Networking 1 10-21-2003 12:00 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 09:16 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