Gentoo Archives: gentoo-server

From: Francesco Riosa <vivo@g.o>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] delay init of firewire
Date: Wed, 15 Feb 2006 15:32:35
Message-Id: 43F348F2.2030909@gentoo.org
In Reply to: [gentoo-server] delay init of firewire by Christian Bricart
1 [cannot see my previous email ,resending with other account]
2
3 Christian Bricart wrote:
4 > Hi,
5 >
6 > is there a possible solution to delay hot-/cold-/whatever-plugging after
7 > loading autoload-modules (/etc/modules.autoload.d/kernel-2.6) or at least
8 > after some network probing..?
9 >
10 > right now I have to add "eth1394" to /etc/hotplug/blacklist, as it load
11 > before my Ethernet cards ;-)
12 > So Firewire becomes eth0, moving old eth0 to eth1 and eth1 to eth2...
13 >
14 > (Fortunately, i've got a serial console for that server which I'm able to
15 > connect to via SSH after the network has been all messed up...)
16 >
17 > Christian
18 >
19 may I suggest an alternative solution? on my firewalls I rename the eth*
20 to a name more meaningful to me:
21
22 "/etc/udev/rules.d/60-net.rules"
23 KERNEL="eth*", SYSFS{address}="00:50:ff:f6:1f:e6", NAME="lan"
24 KERNEL="eth*", SYSFS{address}="00:90:2e:1b:d1:55", NAME="ext"
25
26
27 then in "/etc/conf.d/net"
28 modules=( "iproute2" )
29 config_lan=( "192.168.69.1/24" )
30
31
32 the 6 bytes numbers are the mac address of the ethernet cards. This also
33 help to have a deterministic name of ethernet card after moving them on
34 pci slot, rebuilding kernel etc.
35
36 thanks for this solution goes to a gentoo dev but sadly I've forgot who .
37
38 rgds, Francesco R.
39
40
41 --
42 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] delay init of firewire Christian Bricart <christian@×××××××.de>