| View previous topic :: View next topic |
| Author |
Message |
dark_glaive Apprentice


Joined: 09 May 2004 Posts: 176 Location: Raleigh, NC
|
Posted: Tue Aug 15, 2006 1:28 pm Post subject: [SOLVED] /etc/resolv.conf keeps getting overwritten |
|
|
My /etc/resolv.conf gets overwritten every time dhcpcd runs.
My /etc/conf.d/net
| Code: | config_eth0=("dhcp")
dhcp_eth0="-R -t 5 -N" |
The "-R' should do the trick, right? _________________ RipOff, a CD Ripper for Linux
Last edited by dark_glaive on Tue Aug 15, 2006 6:30 pm; edited 1 time in total |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6291 Location: Blighty
|
Posted: Tue Aug 15, 2006 1:30 pm Post subject: |
|
|
Yes it should. Have you checked the header of resolv.conf to see what is overwriting it? All dhcp clients in portage put a header there to say who made it _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
dark_glaive Apprentice


Joined: 09 May 2004 Posts: 176 Location: Raleigh, NC
|
Posted: Tue Aug 15, 2006 5:15 pm Post subject: |
|
|
| Code: | # Generated by dhcpcd for interface eth0
nameserver 192.168.1.1 |
is what is in my /etc/resolv.conf after it gets overwritten _________________ RipOff, a CD Ripper for Linux |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6291 Location: Blighty
|
Posted: Tue Aug 15, 2006 5:38 pm Post subject: Re: /etc/resolv.conf keeps getting overwritten |
|
|
| Code: | config_eth0=( "dhcp" )
dhcpcd_eth0="-R -t 5 -N" |
There we go - dhcpcd and not dhcp _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
dark_glaive Apprentice


Joined: 09 May 2004 Posts: 176 Location: Raleigh, NC
|
|
| Back to top |
|
 |
|