View previous topic :: View next topic |
Author |
Message |
thejackal13 n00b
Joined: 01 Feb 2005 Posts: 59
|
Posted: Wed Feb 02, 2005 12:13 am Post subject: emerge system / network error |
|
|
This is a first time install for me and I am trying to do an emerge system and i am recieving errors when trying to connect to the hosts, the errors are, Host not found, and No route to host.
I am behind an belkin router, but I checked the resolv.conf and it seemed to copy over correctly. My network connection works fine until chroot, then i lose the ability to ping and such.
During bootstrap i used the default USE tags and for mirrors i have the fastest mirrors list in the make file. Everything seemed to install fine until now. |
|
Back to top |
|
|
lookinin Guru
Joined: 21 Jan 2005 Posts: 486
|
Posted: Wed Feb 02, 2005 12:17 am Post subject: |
|
|
Did you miss this step during installation? If it works fine before you chroot, you might want to double check this:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=6#doc_chap1 wrote: | Copy DNS Info
One thing still remains to be done before we enter the new environment and that is copying over the DNS information in /etc/resolv.conf. You need to do this to ensure that networking still works even after entering the new environment. /etc/resolv.conf contains the nameservers for your network.
Code Listing 2: Copy over DNS information
(The "-L" option is needed to make sure we don't copy a symbolic link)
# cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
|
|
|
Back to top |
|
|
thejackal13 n00b
Joined: 01 Feb 2005 Posts: 59
|
Posted: Wed Feb 02, 2005 12:27 am Post subject: |
|
|
no, i did that, and even went and looked at it and it checked out. If there was a problem with that, wouldn't the bootstrap have failed too? |
|
Back to top |
|
|
lookinin Guru
Joined: 21 Jan 2005 Posts: 486
|
Posted: Wed Feb 02, 2005 12:39 am Post subject: |
|
|
That step is after bootstrapping... And sorry, I missed where you said you double checked your resolv.conf, my bad... Well, if /mnt/gentoo/etc/resolv.conf exists, and isn't a symlink, I'm really not sure, it must be a configuration issue if it's working before you chroot. You may not be able to ping (command not found?) while in chroot - I can't recall, but that wouldn't explain your dns failures. |
|
Back to top |
|
|
thejackal13 n00b
Joined: 01 Feb 2005 Posts: 59
|
Posted: Wed Feb 02, 2005 12:50 am Post subject: |
|
|
thanks for trying |
|
Back to top |
|
|
Turbo n00b
Joined: 29 Oct 2004 Posts: 43
|
Posted: Wed Feb 02, 2005 5:14 am Post subject: |
|
|
Check if these lines are similar in your /etc/nsswitch.conf, that dns in particular is important.
Code: | hosts: files dns
networks: files dns |
|
|
Back to top |
|
|
thejackal13 n00b
Joined: 01 Feb 2005 Posts: 59
|
Posted: Wed Feb 02, 2005 6:26 pm Post subject: |
|
|
I will take a look at that. What I did though right now as an attempt, is take out the optimized mirrors in the make.conf, and re-bootstrap the machine, that all went ok, and i started the emerge system, but i had to run to class like 10 secs later so when i get back i will know if that worked, thanks for your help i will look at that too. |
|
Back to top |
|
|
thejackal13 n00b
Joined: 01 Feb 2005 Posts: 59
|
Posted: Thu Feb 03, 2005 3:50 am Post subject: |
|
|
I didn't get a chance to try that but doing what I did worked. By removing the optimized mirrors it worked. Thanks for you help everyone. |
|
Back to top |
|
|
cbock Tux's lil' helper
Joined: 16 Apr 2004 Posts: 149 Location: san diego
|
Posted: Sun Feb 06, 2005 4:04 am Post subject: |
|
|
thejackal13 wrote: | I didn't get a chance to try that but doing what I did worked. By removing the optimized mirrors it worked. Thanks for you help everyone. |
THANK YOU! |
|
Back to top |
|
|
|