View previous topic :: View next topic |
Author |
Message |
The Goose n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 May 2003 Posts: 11
|
Posted: Mon Mar 05, 2007 5:09 pm Post subject: New install - can't access network after chroot |
|
|
I'm in the middle of a new gentoo install (I had hoped that I was done, but I apparently didn't complete the networking properly, and the system complained about not having a dhcp client installed.)
So... I rebooted from the install CD (which get's the networking right). I have network access just fine after booting from the install CD. However when I chroot to my new installation, connectivity is lost (see below). Any suggestions on how I can get this working again, so that I finish installing the necessary packages?[/quote]
Quote: | Welcome to the Gentoo Linux Minimal Installation CD!
The root password on this system has been auto-scrambled for security.
If any ethernet adapters were detected at boot, they should be auto-configured
if DHCP is available on your network. Type "net-setup eth0" to specify eth0 IP
address settings by hand.
Check /etc/kernels/kernel-config-* for kernel configuration(s).
The latest version of the Handbook is always available from the Gentoo web
site by typing "links http://www.gentoo.org/doc/en/handbook/handbook.xml".
To start an ssh server on this system, type "/etc/init.d/sshd start". If you
need to log in remotely as root, type "passwd root" to reset root's password
to a known value.
Please report any bugs you find to https://bugs.gentoo.org. Be sure to include
detailed information about how to reproduce the bug you are reporting.
Thank you for using Gentoo Linux!
small ~ # ping yahoo.com
PING yahoo.com (66.94.234.13) 56(84) bytes of data.
64 bytes from w2.rc.vip.scd.yahoo.com (66.94.234.13): icmp_seq=1 ttl=50 time=91.6 ms
64 bytes from w2.rc.vip.scd.yahoo.com (66.94.234.13): icmp_seq=2 ttl=50 time=92.5 ms
64 bytes from w2.rc.vip.scd.yahoo.com (66.94.234.13): icmp_seq=3 ttl=50 time=92.4 ms
--- yahoo.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2019ms
rtt min/avg/max/mdev = 91.693/92.232/92.536/0.518 ms
small ~ # chroot /mnt/gentoo /bin/bash
small / # ping yahoo.com
ping: unknown host yahoo.com
small / # emerge net-misc/dhcpcd
Calculating dependencies... done!
>>> Emerging (1 of 1) net-misc/dhcpcd-2.0.5-r1 to /
>>> Downloading 'http://mirrors.acm.cs.rpi.edu/gentoo/distfiles/dhcpcd-2.0.5.tar.bz2'
--07:11:58-- http://mirrors.acm.cs.rpi.edu/gentoo/distfiles/dhcpcd-2.0.5.tar.bz2
=> `/usr/portage/distfiles/dhcpcd-2.0.5.tar.bz2'
Resolving mirrors.acm.cs.rpi.edu... failed: Temporary failure in name resolution.
>>> Downloading 'http://mirror.utdlug.org/linux/distributions/gentoo/distfiles/dhcpcd-2.0.5.tar.bz2'
--07:11:58-- http://mirror.utdlug.org/linux/distributions/gentoo/distfiles/dhcpcd-2.0.5.tar.bz2
=> `/usr/portage/distfiles/dhcpcd-2.0.5.tar.bz2'
Resolving mirror.utdlug.org... failed: Temporary failure in name resolution.
>>> Downloading 'http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/dhcpcd-2.0.5.tar.bz2'
--07:11:58-- http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/dhcpcd-2.0.5.tar.bz2
=> `/usr/portage/distfiles/dhcpcd-2.0.5.tar.bz2'
Resolving distro.ibiblio.org... failed: Temporary failure in name resolution.
>>> Downloading 'http://www.gtlib.gatech.edu/pub/gentoo/distfiles/dhcpcd-2.0.5.tar.bz2'
--07:11:58-- http://www.gtlib.gatech.edu/pub/gentoo/distfiles/dhcpcd-2.0.5.tar.bz2
=> `/usr/portage/distfiles/dhcpcd-2.0.5.tar.bz2'
Resolving www.gtlib.gatech.edu... failed: Temporary failure in name resolution.
>>> Downloading 'http://download.berlios.de/dhcpcd/dhcpcd-2.0.5.tar.bz2'
--07:11:58-- http://download.berlios.de/dhcpcd/dhcpcd-2.0.5.tar.bz2
=> `/usr/portage/distfiles/dhcpcd-2.0.5.tar.bz2'
Resolving download.berlios.de... failed: Temporary failure in name resolution.
!!! Couldn't download 'dhcpcd-2.0.5.tar.bz2'. Aborting.
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
neysx Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/17295657453e350b33c0b78.jpg)
Joined: 27 Jan 2003 Posts: 795
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
The Goose n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 May 2003 Posts: 11
|
Posted: Mon Mar 05, 2007 6:03 pm Post subject: |
|
|
Thanks. executing Code: | cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf | before chroot fixed it! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|