public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Don't get a /etc/resolv.conf on dhcpcd ethx - Get /etc/resolv.conf-eth2.sv instead which doesn't work unless copy to /etc/resolv.conf
@ 2007-03-10  4:01 Richard Watson
  2007-03-10 23:05 ` Dan Farrell
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Watson @ 2007-03-10  4:01 UTC (permalink / raw
  To: gentoo-user

Hi - I've been having problems with DNS. When I start my wireless
interface (or any other for that matter) I don't get a /etc/resolv.conf
file generated. Instead I get one called /etc/resolv.conf-eth2.sv (or
whatever for the appropriate interface).  I can ping IP addresses but
not DNS (i.e. ping www.gentoo.org).

To get it running I copy the contents of resolv.conf-eth2.sv
to /etc/resolv.conf.

Anybody tell me how to fix this?

Thanks, Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Don't get a /etc/resolv.conf on dhcpcd ethx - Get /etc/resolv.conf-eth2.sv instead which doesn't work unless copy to /etc/resolv.conf
  2007-03-10  4:01 [gentoo-user] Don't get a /etc/resolv.conf on dhcpcd ethx - Get /etc/resolv.conf-eth2.sv instead which doesn't work unless copy to /etc/resolv.conf Richard Watson
@ 2007-03-10 23:05 ` Dan Farrell
  2007-03-11  0:35   ` Richard Watson
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Dan Farrell @ 2007-03-10 23:05 UTC (permalink / raw
  To: gentoo-user

On Sat, 10 Mar 2007 14:01:42 +1000
Richard Watson <waty@bigpond.net.au> wrote:

> Hi - I've been having problems with DNS. When I start my wireless
> interface (or any other for that matter) I don't get
> a /etc/resolv.conf file generated. Instead I get one
> called /etc/resolv.conf-eth2.sv (or whatever for the appropriate
> interface).  I can ping IP addresses but not DNS (i.e. ping
> www.gentoo.org).
> 
> To get it running I copy the contents of resolv.conf-eth2.sv
> to /etc/resolv.conf.
> 
> Anybody tell me how to fix this?
> 
> Thanks, Richard
> 
`man dhcpcd`
       -R     Prevents dhcpcd  from  replacing  existing
		<etcDir>/resolv.conf file.

I'm not sure whether that will help at all.  It may preserve the data
in resolv.conf.  Why this data isn't being correctly updated, I can't
say.  

you _are_ using dhcpcd, right?

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Don't get a /etc/resolv.conf on dhcpcd ethx - Get /etc/resolv.conf-eth2.sv instead which doesn't work unless copy to /etc/resolv.conf
  2007-03-10 23:05 ` Dan Farrell
@ 2007-03-11  0:35   ` Richard Watson
  2007-03-12  8:28   ` Richard Watson
  2007-05-05 19:36   ` Richard Watson
  2 siblings, 0 replies; 6+ messages in thread
From: Richard Watson @ 2007-03-11  0:35 UTC (permalink / raw
  To: gentoo-user


> `man dhcpcd`
>        -R     Prevents dhcpcd  from  replacing  existing
> 		<etcDir>/resolv.conf file.
> 
> I'm not sure whether that will help at all.  It may preserve the data
> in resolv.conf.  Why this data isn't being correctly updated, I can't
> say.  
> 
> you _are_ using dhcpcd, right?
> 

Yes I'm using dhcpcd. Thanks

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Don't get a /etc/resolv.conf on dhcpcd ethx - Get /etc/resolv.conf-eth2.sv instead which doesn't work unless copy to /etc/resolv.conf
  2007-03-10 23:05 ` Dan Farrell
  2007-03-11  0:35   ` Richard Watson
@ 2007-03-12  8:28   ` Richard Watson
  2007-05-05 19:36   ` Richard Watson
  2 siblings, 0 replies; 6+ messages in thread
From: Richard Watson @ 2007-03-12  8:28 UTC (permalink / raw
  To: gentoo-user

> you _are_ using dhcpcd, right?

I decided to emerge dhcpcd again to see what I get. It reports an error
at the end of the compilation.

* QA Notice: USE Flag 'kernel_linux' not in IUSE for
net-misc/dhcpcd-2.0.5-r1
* 
* dhcpcd requires kernel support for Packet Socket (CONFIG_PACKET).

However it completes OK and seems to work OK other than having to
manually create the correct DNS in /etc/resolv.conf.

Anyone any ideas. Thanks, Richar

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Don't get a /etc/resolv.conf on dhcpcd ethx - Get /etc/resolv.conf-eth2.sv instead which doesn't work unless copy to /etc/resolv.conf
  2007-03-10 23:05 ` Dan Farrell
  2007-03-11  0:35   ` Richard Watson
  2007-03-12  8:28   ` Richard Watson
@ 2007-05-05 19:36   ` Richard Watson
  2007-05-06  2:47     ` waltdnes
  2 siblings, 1 reply; 6+ messages in thread
From: Richard Watson @ 2007-05-05 19:36 UTC (permalink / raw
  To: gentoo-user

> you _are_ using dhcpcd, right?

I decided to emerge dhcpcd again to see what I get. It reports an error
at the end of the compilation.

* QA Notice: USE Flag 'kernel_linux' not in IUSE for
net-misc/dhcpcd-2.0.5-r1
* 
* dhcpcd requires kernel support for Packet Socket (CONFIG_PACKET).

However it completes OK and seems to work OK other than having to
manually create the correct DNS in /etc/resolv.conf.

Anyone any ideas. Thanks, Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Don't get a /etc/resolv.conf on dhcpcd ethx - Get /etc/resolv.conf-eth2.sv instead which doesn't work unless copy to /etc/resolv.conf
  2007-05-05 19:36   ` Richard Watson
@ 2007-05-06  2:47     ` waltdnes
  0 siblings, 0 replies; 6+ messages in thread
From: waltdnes @ 2007-05-06  2:47 UTC (permalink / raw
  To: gentoo-user

On Sun, May 06, 2007 at 05:36:13AM +1000, Richard Watson wrote

> However it completes OK and seems to work OK other than having to
> manually create the correct DNS in /etc/resolv.conf.
> 
> Anyone any ideas. Thanks, Richard

  A bit heavy-handed...
ln -f /etc/resolv.conf /etc/resolv.conf-eth2.sv

  Next time the system tries overwriting /etc/resolv.conf-eth2.sv, it
will also overwrite /etc/resolv.conf

-- 
Walter Dnes <waltdnes@waltdnes.org> In linux /sbin/init is Job #1
Q. Mr. Ghandi, what do you think of Microsoft security?
A. I think it would be a good idea.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-06  2:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-10  4:01 [gentoo-user] Don't get a /etc/resolv.conf on dhcpcd ethx - Get /etc/resolv.conf-eth2.sv instead which doesn't work unless copy to /etc/resolv.conf Richard Watson
2007-03-10 23:05 ` Dan Farrell
2007-03-11  0:35   ` Richard Watson
2007-03-12  8:28   ` Richard Watson
2007-05-05 19:36   ` Richard Watson
2007-05-06  2:47     ` waltdnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox