View previous topic :: View next topic |
Author |
Message |
KFM n00b
Joined: 18 Aug 2004 Posts: 58
|
Posted: Fri Sep 17, 2004 2:32 am Post subject: `` network is unreachable '' error |
|
|
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 |
|
|
magnesium Apprentice
Joined: 28 Oct 2003 Posts: 280 Location: Toronto, Canada
|
Posted: Fri Sep 17, 2004 3:10 am Post subject: |
|
|
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 |
|
|
CodAv Apprentice
Joined: 09 May 2004 Posts: 166 Location: Wuppertal, Germany
|
Posted: Fri Sep 17, 2004 5:53 am Post subject: |
|
|
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 |
|
|
KFM n00b
Joined: 18 Aug 2004 Posts: 58
|
Posted: Fri Sep 17, 2004 9:55 pm Post subject: |
|
|
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 |
|
|
magnesium Apprentice
Joined: 28 Oct 2003 Posts: 280 Location: Toronto, Canada
|
Posted: Mon Sep 20, 2004 5:55 pm Post subject: |
|
|
My pleasure
Now have fun with Gentoo! |
|
Back to top |
|
|
|