* [gentoo-user] resolv.conf question
@ 2006-10-27 13:51 Matthew R. Lee
2006-10-27 14:20 ` Novensiles divi Flamen
2006-10-27 15:48 ` Vikas Kumar
0 siblings, 2 replies; 4+ messages in thread
From: Matthew R. Lee @ 2006-10-27 13:51 UTC (permalink / raw
To: gentoo-user
Every time I boot my resolv.conf reverts to the original file with no name
servers in it. Because I use my laptop in various places I have a series of
resolv.conf files (resolv.conf.xx1, resolv.conf.xx2, etc) When I use a
different network I just cp /etc/resolv.conf.xx1 /etc/resolv.conf Now I'm
having to do this every morning after boot even though I'm on the same
network. Why does it keep reverting to this old file? How do I stop it?
I've looked in the directory /etc/ but I cant see any file like
resolv.conf.old or resolv.conf.tmp Where is it getting this empty file from?
--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Dr. Matthew R. Lee
CASEB & ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE
matt@matthewlee.org
mlee@bio.puc.cl
URL: meiochile.matthewlee.org
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] resolv.conf question
2006-10-27 13:51 [gentoo-user] resolv.conf question Matthew R. Lee
@ 2006-10-27 14:20 ` Novensiles divi Flamen
2006-10-27 14:38 ` Matthew R. Lee
2006-10-27 15:48 ` Vikas Kumar
1 sibling, 1 reply; 4+ messages in thread
From: Novensiles divi Flamen @ 2006-10-27 14:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]
On Friday 27 October 2006 20:51, Matthew R. Lee wrote:
> Every time I boot my resolv.conf reverts to the original file with no name
> servers in it. Because I use my laptop in various places I have a series
> of resolv.conf files (resolv.conf.xx1, resolv.conf.xx2, etc) When I use a
> different network I just cp /etc/resolv.conf.xx1 /etc/resolv.conf Now I'm
> having to do this every morning after boot even though I'm on the same
> network. Why does it keep reverting to this old file? How do I stop it?
> I've looked in the directory /etc/ but I cant see any file like
> resolv.conf.old or resolv.conf.tmp Where is it getting this empty file
> from? --
Do you have 'dhcp_eth0="nodns" ' in your /etc/conf.d/net file? This problem
came up recently with someone else, can't confirm whether it was the nodns
option or a different one (possibly "notcp", which I can't find documented)
but after removing that line his problem went away.
- Noven
--
>-- Novensiles divi Flamen --<
>---- Miles Militis Fons ----<
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] resolv.conf question
2006-10-27 14:20 ` Novensiles divi Flamen
@ 2006-10-27 14:38 ` Matthew R. Lee
0 siblings, 0 replies; 4+ messages in thread
From: Matthew R. Lee @ 2006-10-27 14:38 UTC (permalink / raw
To: gentoo-user
On Friday 27 October 2006 11:20, Novensiles divi Flamen wrote:
> Do you have 'dhcp_eth0="nodns" ' in your /etc/conf.d/net file? This problem
> came up recently with someone else, can't confirm whether it was the nodns
> option or a different one (possibly "notcp", which I can't find documented)
> but after removing that line his problem went away.
>
> - Noven
No that's not the problem. I've written my own net file as I have to have the
ip's etc for the diffrent networks I use. The line you mention is not
included.
Matt
--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Dr. Matthew R. Lee
CASEB & ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE
matt@matthewlee.org
mlee@bio.puc.cl
URL: meiochile.matthewlee.org
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] resolv.conf question
2006-10-27 13:51 [gentoo-user] resolv.conf question Matthew R. Lee
2006-10-27 14:20 ` Novensiles divi Flamen
@ 2006-10-27 15:48 ` Vikas Kumar
1 sibling, 0 replies; 4+ messages in thread
From: Vikas Kumar @ 2006-10-27 15:48 UTC (permalink / raw
To: gentoo-user
On 10:51 Fri 27 Oct , Matthew R. Lee wrote:
> Every time I boot my resolv.conf reverts to the original file with no name
> servers in it. Because I use my laptop in various places I have a series of
> resolv.conf files (resolv.conf.xx1, resolv.conf.xx2, etc) When I use a
> different network I just cp /etc/resolv.conf.xx1 /etc/resolv.conf Now I'm
> having to do this every morning after boot even though I'm on the same
> network. Why does it keep reverting to this old file? How do I stop it?
> I've looked in the directory /etc/ but I cant see any file like
> resolv.conf.old or resolv.conf.tmp Where is it getting this empty file from?
i had the similar problem. actually every time the system is booted
'dhcp' overwrites dnsinfo in /etc/resolv.conf.
i added,
dns_servers_eth0=( "144.16.192.55" "10.128.2.2" )
to my /etc/conf.d/net, where the ips are dns for my network, and it
worked for me. now everytime i reboot resolv.conf is written with these
values.
--
The disks are getting full; purge a file today.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-10-27 15:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-27 13:51 [gentoo-user] resolv.conf question Matthew R. Lee
2006-10-27 14:20 ` Novensiles divi Flamen
2006-10-27 14:38 ` Matthew R. Lee
2006-10-27 15:48 ` Vikas Kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox