Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge system / network error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
thejackal13
n00b
n00b


Joined: 01 Feb 2005
Posts: 59

PostPosted: Wed Feb 02, 2005 12:13 am    Post subject: emerge system / network error Reply with quote

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


Joined: 21 Jan 2005
Posts: 486

PostPosted: Wed Feb 02, 2005 12:17 am    Post subject: Reply with quote

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


Joined: 01 Feb 2005
Posts: 59

PostPosted: Wed Feb 02, 2005 12:27 am    Post subject: Reply with quote

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


Joined: 21 Jan 2005
Posts: 486

PostPosted: Wed Feb 02, 2005 12:39 am    Post subject: Reply with quote

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


Joined: 01 Feb 2005
Posts: 59

PostPosted: Wed Feb 02, 2005 12:50 am    Post subject: Reply with quote

thanks for trying
Back to top
View user's profile Send private message
Turbo
n00b
n00b


Joined: 29 Oct 2004
Posts: 43

PostPosted: Wed Feb 02, 2005 5:14 am    Post subject: Reply with quote

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


Joined: 01 Feb 2005
Posts: 59

PostPosted: Wed Feb 02, 2005 6:26 pm    Post subject: Reply with quote

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


Joined: 01 Feb 2005
Posts: 59

PostPosted: Thu Feb 03, 2005 3:50 am    Post subject: Reply with quote

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


Joined: 16 Apr 2004
Posts: 149
Location: san diego

PostPosted: Sun Feb 06, 2005 4:04 am    Post subject: Reply with quote

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! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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