Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
`` network is unreachable '' error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
KFM
n00b
n00b


Joined: 18 Aug 2004
Posts: 58

PostPosted: Fri Sep 17, 2004 2:32 am    Post subject: `` network is unreachable '' error Reply with quote

First time I've ran across this error so far.

It will let me use the internet during the LiveCD installation, but in my environment, I get this error.
Back to top
View user's profile Send private message
magnesium
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 280
Location: Toronto, Canada

PostPosted: Fri Sep 17, 2004 3:10 am    Post subject: Reply with quote

If this is durring the installation process:
Did you copy your /etc/resolv.conf file to /mnt/gentoo/etc/resolv.conf before you chrooted?

If this is after you rebooted:
did you compile in network support into your kernel?
did you compile it in as a module? if so did you load those modules?
did you configure your network interface in /etc/conf.d/net and then run "rc-update add net.eth0 default"?

more info needed then a half post please.
Back to top
View user's profile Send private message
CodAv
Apprentice
Apprentice


Joined: 09 May 2004
Posts: 166
Location: Wuppertal, Germany

PostPosted: Fri Sep 17, 2004 5:53 am    Post subject: Reply with quote

It's also possible that you did not set the default gateway. Please post the output of:

ifconfig
route
cat /etc/conf.d/net
cat /etc/resolv.conf

With this information, we will be able to help you.
But before you post it, and you use a router (not dialup/pppoe) to connect to the internet, make sure that the line
Code:
gateway="eth0/192.168.0.1"

is present in your /etc/conf.d/net (replace eth0 with your interface and 192.168.0.1 with the IP address of your router). After editing /etc/conf.d/net, do "/etc/init.d/net.eth0 restart" to apply the changes.
Back to top
View user's profile Send private message
KFM
n00b
n00b


Joined: 18 Aug 2004
Posts: 58

PostPosted: Fri Sep 17, 2004 9:55 pm    Post subject: Reply with quote

Did you copy your /etc/resolv.conf file to /mnt/gentoo/etc/resolv.conf before you chrooted?

That was the problem.

I forgot I had changed some stuff before and just mounted, chrooted, unmounted.

Thanks, didn't even think about resolv.conf
Back to top
View user's profile Send private message
magnesium
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 280
Location: Toronto, Canada

PostPosted: Mon Sep 20, 2004 5:55 pm    Post subject: Reply with quote

My pleasure :)
Now have fun with Gentoo!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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