View previous topic :: View next topic |
Author |
Message |
odocoileus n00b
Joined: 27 Dec 2004 Posts: 45
|
Posted: Thu Mar 03, 2005 9:37 pm Post subject: When chroot into new enviro., no network |
|
|
I can't get internet access after I chroot, I checked to make sure I followed the steps right. Once I get to emerge --sync after chrooting, I get temp failure in name resolution, cant reach anything. Works fine from live cd environment.?? What othe info do you need? Or what should I do? |
|
Back to top |
|
|
markkuk Guru
Joined: 29 Nov 2002 Posts: 446
|
Posted: Thu Mar 03, 2005 9:48 pm Post subject: |
|
|
You forgot to copy /etc/resolv.conf before chrooting, see Step 6a of the install guide, subheading "Copy DNS Info". |
|
Back to top |
|
|
ronvenema Apprentice
Joined: 16 Jan 2005 Posts: 160 Location: Dewey, Az
|
Posted: Thu Mar 03, 2005 9:52 pm Post subject: |
|
|
Just a thought, did you cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf, before you chroot /mnt/gentoo /bin/bash, env-update, source /etc/profile? If it works on the Live cd it should also work in the new environment. _________________ Frustration leads to knowledge. |
|
Back to top |
|
|
odocoileus n00b
Joined: 27 Dec 2004 Posts: 45
|
Posted: Thu Mar 03, 2005 10:11 pm Post subject: |
|
|
Yes I did that, double checked the command for errors when I couldnt get it to work, and now I triple checked it after reading your replies, and also manually checked both files to make sure they are the same, and they are. Then I go chroot /mnt/gentoo /bin/bash then env-update works ok after that, then source /etc/profile, then emerge --sync and : 'Notice: (-3, Temporary failure in name resolution) . What on earth could I be doing wrong?
P.S.- /etc/resolve.conf has addresses for two nameservers and nothing else, is this as it should be?
also, I used mirrorselect to set the mirror and the rsync mirror, I have now tried different mirrors, but to the same effect. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Thu Mar 03, 2005 11:11 pm Post subject: |
|
|
odocoileus wrote: | ... /etc/resolve.conf ... |
There's your problem. Notice the spelling of resolv in the original file. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
odocoileus n00b
Joined: 27 Dec 2004 Posts: 45
|
Posted: Thu Mar 03, 2005 11:15 pm Post subject: |
|
|
Ahh, thankyou. I knew I would say 'duh' when the solution came. |
|
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 |
|
|
|