Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net.lo/eth0,1 vary from boot to boot
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
wobbly
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2003
Posts: 146

PostPosted: Thu Oct 12, 2006 4:02 am    Post subject: net.lo/eth0,1 vary from boot to boot Reply with quote

Sometimes when I boot my Thinkpad X40 laptop (unwired) net.lo comes up, and sometimes it doesn't.
When it doesn't come up the wireless interface is eth0 (my static IP eth0 doesn't come up),
and when it does come up the wireless interface is eth1 (the static IP eth0 does come up).
I'd post the init messages, but I can't get to them (even with showconsole
and /var/log/boot.msg). I'm using the latest stable baselayout, and my /etc/conf.d/net is

Code:

config_eth0=( "x.x.x.x broadcast x.x.x.x netmask x.x.x.x" )
routes_eth0=( "default gw x.x.x.x" )


I only put the static IP in here b/c I don't want the wireless interface to come up at boot.

And like the subject says, this varies from boot to boot, which seems quite strange.

Incidentally I also get all sorts of udev errors, but I can't get to them either since they
don't appear in /var/log/boot.msg. I wouldn't be surprised if the problems are related, though.


Last edited by wobbly on Tue Oct 24, 2006 6:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Thu Oct 12, 2006 10:00 am    Post subject: Reply with quote

Editing your /etc/modules.d/aliases and specify what module belong to eachnetwork interface may be the answer. Never donne it but makes since this way.
_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Oct 12, 2006 10:11 am    Post subject: Reply with quote

Write a udev rule to persitently name your interfaces works too.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Thu Oct 12, 2006 10:22 am    Post subject: Reply with quote

UberLord wrote:
Write a udev rule to persitently name your interfaces works too.
There's a set-by-step howto written by peenie here
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
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