Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Starting eth0 failed after emerge -u world
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
Yaggo
n00b
n00b


Joined: 26 Oct 2002
Posts: 7
Location: Oulu, Finland

PostPosted: Wed Jan 15, 2003 6:57 am    Post subject: Starting eth0 failed after emerge -u world Reply with quote

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


Joined: 26 Nov 2002
Posts: 193
Location: Indiana, US

PostPosted: Wed Jan 15, 2003 7:13 am    Post subject: Reply with quote

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


Joined: 26 Oct 2002
Posts: 7
Location: Oulu, Finland

PostPosted: Wed Jan 15, 2003 7:29 am    Post subject: Reply with quote

Thanks man, it works!
_________________
Jaakko Holster
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