View previous topic :: View next topic |
Author |
Message |
Yaggo n00b
Joined: 26 Oct 2002 Posts: 7 Location: Oulu, Finland
|
Posted: Wed Jan 15, 2003 6:57 am Post subject: Starting eth0 failed after emerge -u world |
|
|
I did emerge -u world. After the update, eth0 fails at every bootup:
neptunium root # /etc/init.d/net.eth0 start
* Bringing eth0 up... [ ok ]
* Setting default gateway...
SIOCADDRT: Network is unreachable
* Failed to bring eth0 up [ !! ]
I guess I've similar problem with this (gateway does not lie within your own ip subnet):
https://forums.gentoo.org/viewtopic.php?t=25956
My network configuration in /etc/conf.d/net.eth0: (s/xxx/my_ip)
iface_eth0="130.231.3.xxx broadcast 130.231.3.255 netmask 255.255.248.0"
gateway="eth0/130.231.0.1"
However, I'm able to setup my network manually by running commands:
ifconfig eth0 130.231.3.xxx broadcast 130.231.3.255 netmask 255.255.248.0
route add default gw 130.231.0.1
Any easy solution? The configuration in /etc/conf.f/net.eth0 worked fine before updating, why it fails now? Why it works when setup manually? I'm confused :-/ _________________ Jaakko Holster |
|
Back to top |
|
|
Praxxus Apprentice
Joined: 26 Nov 2002 Posts: 193 Location: Indiana, US
|
Posted: Wed Jan 15, 2003 7:13 am Post subject: |
|
|
Put your configuration in /etc/conf.d/net instead of /etc/conf.d/net.eth0, and see if that helps. _________________ My glaucoma just got worse! |
|
Back to top |
|
|
Yaggo n00b
Joined: 26 Oct 2002 Posts: 7 Location: Oulu, Finland
|
Posted: Wed Jan 15, 2003 7:29 am Post subject: |
|
|
Thanks man, it works! _________________ Jaakko Holster |
|
Back to top |
|
|
|