View previous topic :: View next topic |
Author |
Message |
levicc00123 n00b
Joined: 16 Dec 2004 Posts: 59
|
Posted: Wed Jan 19, 2005 10:13 pm Post subject: [SOLVED] cannot connect to internet after I chroot. |
|
|
I'm trying to install gentoo on my laptop and I can access the internet up until I chroot, then It cuts out on me, and I can't finish installation, I'm doing a stage 1 install. any help?
Last edited by levicc00123 on Fri Jan 21, 2005 5:06 pm; edited 1 time in total |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Wed Jan 19, 2005 10:29 pm Post subject: |
|
|
Did you remember to copy over your /etc/resolv.conf to your chroot? Code: | # cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf |
_________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
dreamszz n00b
Joined: 20 Jan 2005 Posts: 4 Location: Den Haag, Netherlands
|
Posted: Thu Jan 20, 2005 2:49 pm Post subject: same here |
|
|
I have exactly the same error, and I *know* I copied the resolve.conf file.
I've even added some extra DNS from my provider, just in case.
But my path also seems screwed up. It can't find common tools such as 'ping', 'which' and 'where'. I get the error:
"bash: ping: command not found"
I followed the web manual to the letter and am using 2004.3 and stage3. At the point where you should run 'emerge --sync', I get stuck due to this error. Something must be broken but I have no clue where or what to look (for).
Chris.
Last edited by dreamszz on Thu Jan 20, 2005 3:08 pm; edited 1 time in total |
|
Back to top |
|
|
dreamszz n00b
Joined: 20 Jan 2005 Posts: 4 Location: Den Haag, Netherlands
|
Posted: Thu Jan 20, 2005 3:07 pm Post subject: |
|
|
rsync reports the following error:
Code: |
>>> checking server timestamp...
rsync: getaddrinfo: rsync.gentoo.org 873: Temporary failure in name resolution
rsync error: error in socket IO (code 10) at clientserver.c (88)
|
|
|
Back to top |
|
|
z4Rilla Apprentice
Joined: 22 Dec 2003 Posts: 291 Location: EU
|
Posted: Thu Jan 20, 2005 3:23 pm Post subject: Re: same here |
|
|
dreamszz wrote: | I have exactly the same error, and I *know* I copied the resolve.conf file.
I've even added some extra DNS from my provider, just in case.
|
It's not resolve.conf but resolv.conf
just in case....
and it should look like this:
Code: | nameserver <ip>
nameserver <ip> |
and so on |
|
Back to top |
|
|
dreamszz n00b
Joined: 20 Jan 2005 Posts: 4 Location: Den Haag, Netherlands
|
Posted: Thu Jan 20, 2005 3:55 pm Post subject: SOLVED |
|
|
OMG
That's it... I used resolve.conf instead... d'oh!
It's perfectly grabbing packages now... Major thanks! |
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Thu Jan 20, 2005 4:00 pm Post subject: |
|
|
Does OMG means Oh my God???
lol about resolvE.conf, i did the same mistake and it tooks me a time before I saw it!
Could you please edit the title and add (solved)? |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Thu Jan 20, 2005 4:16 pm Post subject: Re: SOLVED |
|
|
dreamszz wrote: | OMG
That's it... I used resolve.conf instead... d'oh!
It's perfectly grabbing packages now... Major thanks! |
The devs should really, really re-write the copy command in the handbook to Code: | cp -L /etc/resolv.conf /mnt/gentoo/etc/ |
As this would have prevented the entire problem discussed in this topic from ever occurring. If the n00b makes a typo in the resolv.conf part of the filename, the copy will abort with "file not found", rather than copying the file, but under a different file name.
@Sven Vermuelen: are you listening? |
|
Back to top |
|
|
taurus l33t
Joined: 21 Sep 2004 Posts: 657 Location: I need to be somewhere...
|
Posted: Thu Jan 20, 2005 5:30 pm Post subject: |
|
|
I am sorry but it's not the authors of the Handbook's fault!!! If you can't type, then blame it on yourself instead of the book... I always double check what I type in case something so minor will screw up the whole thing!
taurus |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Thu Jan 20, 2005 5:42 pm Post subject: |
|
|
taurus wrote: | I am sorry but it's not the authors of the Handbook's fault!!! |
The point is that when the Handbook describes the copy command thus: Code: | cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf | The "resolv.conf" at the end of /mnt/gentoo/etc/ is totally unnecessary. Chopping these 11 characters off from the last word of that code listing would ensure that once the newbie gets the "/etc/resolv.conf" part right, the file will always be copied with the correct name to /mnt/gentoo/etc/. Every time! The worst thing that could go wrong with my suggested re-write of that code listing: Code: | cp /etc/resolv.conf /mnt/gentoo/etc/ | is that the newbie mistypes the resolv.conf part of the filename, and leads to a "file not found". But if not, the file is guaranteed to be copied over correctly! Don't we all want a more n00b-proof Installation Handbook, to cut down on the number of support requests in this forum?! |
|
Back to top |
|
|
Bob P Advocate
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Thu Jan 20, 2005 11:40 pm Post subject: |
|
|
kimchi_sg wrote: | Don't we all want a more n00b-proof Installation Handbook, to cut down on the number of support requests in this forum?! |
sure, but i doubt that the people who would benefit from it most would read it. _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
|
|