View previous topic :: View next topic |
Author |
Message |
mikec n00b

Joined: 01 Apr 2005 Posts: 2
|
Posted: Fri Apr 01, 2005 9:18 pm Post subject: DNS Resolution stops working after chroot |
|
|
Hello All,
This is my first venture with Gentoo and I'm having a bit of trouble with the install. I've worked my way up to step 6 in the handbook, but after chrooting, I lose the ability to resolve IP addresses (before chroot, name resolution works fine). I did this step, as mentioned in the handbook:
Code: | # cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf |
...and the /etc/resolve.conf looks fine, my network connection is fine (meaning I can ping internet addresses by numerical IP), but 'ping yahoo.com' doesn't work. In turn, I get all kinds of errors from emerge about name resolution.
Don't know what other info I can provide to help troubleshoot. I'm attempting a stage 3 install on a pentuim4 laptop, dual booting XP.
Any help would be much appreciated! |
|
Back to top |
|
 |
Nard` Apprentice

Joined: 23 Jan 2005 Posts: 250
|
Posted: Fri Apr 01, 2005 9:24 pm Post subject: Re: DNS Resolution stops working after chroot |
|
|
mikec wrote: | Hello All,
This is my first venture with Gentoo and I'm having a bit of trouble with the install. I've worked my way up to step 6 in the handbook, but after chrooting, I lose the ability to resolve IP addresses (before chroot, name resolution works fine). I did this step, as mentioned in the handbook:
Code: | # cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf |
...and the /etc/resolve.conf looks fine, my network connection is fine (meaning I can ping internet addresses by numerical IP), but 'ping yahoo.com' doesn't work. In turn, I get all kinds of errors from emerge about name resolution.
Don't know what other info I can provide to help troubleshoot. I'm attempting a stage 3 install on a pentuim4 laptop, dual booting XP.
Any help would be much appreciated! |
you said resolve.conf, it should be resolv.conf _________________ Programming is the process of putting bugs in.
Debugging is the process of attempting to take bugs out, doing an ugly hack, hitting your computer, then claiming insurance. |
|
Back to top |
|
 |
mlivingstone Tux's lil' helper


Joined: 06 Feb 2005 Posts: 125 Location: Gold Coast, Australia
|
Posted: Sat Apr 02, 2005 12:58 am Post subject: Re: DNS Resolution stops working after chroot |
|
|
mikec wrote: | Hello All,
This is my first venture with Gentoo and I'm having a bit of trouble with the install. I've worked my way up to step 6 in the handbook, but after chrooting, I lose the ability to resolve IP addresses (before chroot, name resolution works fine). I did this step, as mentioned in the handbook:
Code: | # cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf |
...and the /etc/resolve.conf looks fine, my network connection is fine (meaning I can ping internet addresses by numerical IP), but 'ping yahoo.com' doesn't work. In turn, I get all kinds of errors from emerge about name resolution.
Don't know what other info I can provide to help troubleshoot. I'm attempting a stage 3 install on a pentuim4 laptop, dual booting XP.
Any help would be much appreciated! |
As already mentioned, I hope you do not have resolve.conf but resolv.conf.
Also, what does said file look like? Mine looks like this:
-----------cut here---------
search localhost
nameserver 192.168.1.1 #kppp temp entry
nameserver 203.134.12.90 # ppp temp entry
nameserver 203.134.102.90 # ppp temp entry
-----------cut here---------
Now I have a local machine running a DNS and the other two are my ISP's dns servers.
HTH
MarkL |
|
Back to top |
|
 |
mikec n00b

Joined: 01 Apr 2005 Posts: 2
|
Posted: Sat Apr 02, 2005 5:26 am Post subject: |
|
|
I did indeed copy it to resolve.conf. Thanks for the extra set of eyes. |
|
Back to top |
|
 |
amne Bodhisattva


Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Mon May 02, 2005 6:32 pm Post subject: |
|
|
Moved from IG, please follow up to resolve problems if necessary. _________________ Dinosaur week! (Ok, this thread is so last week) |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|