Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-30-2004, 07:29 PM   #1
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
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
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?



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
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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration