David Krider wrote:
On Thu, 2004-12-23 at 14:35 -0500, L. Mark Stone wrote:
On Thursday, December 23, 2004 02:10 pm, Jon Nelson wrote:
On Thu, 23 Dec 2004, Jason Joines wrote:
What does "install eth0 /bin/true" do and how can I specify which NIC gets eth0 and which gets eth1? Short version: you can't rely on the order in which the kernel (or hotplug!) recognizes and initializes the cards, therefore you cannot rely on which is eth0 and which is eth1. This has been true since the very earliest versions of the kernel (although the interface recognition has been observably static, that is purely accidental!).
You might also want to try setting up a few rules in /etc/udev/rules.d/udev.rules to name the devices. See http://www-uxsup.csx.cam.ac.uk/suse/adminguide-sles9/ch15.html as a starting point.
Further Googling reveals:
http://article.gmane.org/gmane.linux.gentoo.user/75158
The important bit seems to be to get the modules in place before the hotplug service starts up.
I found this, which says the whole modprobe business is deprecated in favor of sysfs and udev. It seems to get right up to the point of showing how to do what you want to do, then stops.
http://216.239.39.104/translate_c? hl=en&sl=de&u=http://portal.suse.com/sdb/de/2004/05/91_sysconfig.html&prev=/search%3Fq%3Ds...
So close... yet so far...
dk
The udev rules solution seems to be working fine. Jason ===========