Messages in this thread | | | Date | Fri, 28 Mar 2003 16:03:20 -0800 | From | Greg KH <> | Subject | Re: NICs trading places ? |
| |
On Fri, Mar 28, 2003 at 06:56:22PM -0500, Jeff Garzik wrote: > Greg KH wrote: > >On Sat, Mar 29, 2003 at 12:20:22AM +0100, Andries Brouwer wrote: > > > >>And: ifconfig does not give the card types. > >>So presently one needs both boot messages and ifconfig. > >> > >>And: in some situations the system does not boot because of > >>eth numbering mixup, and one never gets the opportunity to > >>ask ifconfig. > > > > > >ifconfig can bind cards to devices based on mac addresses. > >/sbin/hotplug can also be used for this. > > > >I recommend doing this for anyone with more than one nic card in their > >machine. > > > Actually nameif(8) is the preferred way of doing this.
Oops, sorry, that's what I meant. Call nameif in a /sbin/hotplug script when the network interface is registered.
greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |