Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DNS Resolution stops working after chroot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
mikec
n00b
n00b


Joined: 01 Apr 2005
Posts: 2

PostPosted: Fri Apr 01, 2005 9:18 pm    Post subject: DNS Resolution stops working after chroot Reply with quote

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
View user's profile Send private message
Nard`
Apprentice
Apprentice


Joined: 23 Jan 2005
Posts: 250

PostPosted: Fri Apr 01, 2005 9:24 pm    Post subject: Re: DNS Resolution stops working after chroot Reply with quote

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
View user's profile Send private message
mlivingstone
Tux's lil' helper
Tux's lil' helper


Joined: 06 Feb 2005
Posts: 125
Location: Gold Coast, Australia

PostPosted: Sat Apr 02, 2005 12:58 am    Post subject: Re: DNS Resolution stops working after chroot Reply with quote

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
View user's profile Send private message
mikec
n00b
n00b


Joined: 01 Apr 2005
Posts: 2

PostPosted: Sat Apr 02, 2005 5:26 am    Post subject: Reply with quote

:oops: I did indeed copy it to resolve.conf. Thanks for the extra set of eyes.
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Mon May 02, 2005 6:32 pm    Post subject: Reply with quote

Moved from IG, please follow up to resolve problems if necessary.
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
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