Re: distinguish two identical network cards

From: Micha Feigin
Date: Mon Feb 23 2004 - 04:34:18 EST


On Mon, Feb 23, 2004 at 09:49:35AM +0100, andreas.hartmann@xxxxxxxxxx wrote:
> Hello!
>
> I've got a little problem with XSeries machines, containing two identical
> builtin Broadcom NIC's. Is there any chance to get some information, which one
> of the two cards is the upper, and which one is the lower card?
> I need this information, because I want to install a lot of these machines
> automatically.
>

Two things I can think about.

First thing is that you can look at the link lights on the card and try
doing a ping and see which one blinks.

Second, if the machines are the same they should scan the bus in the
same direction and IIRC linux numbers the cards in the order of
detection, especially if they are the same (use the same driver) and
thus it should be consistent with the numbering order of the cards
(they will always get the same number on consecutive boots).

>
> Thank you for every hint,
> kind regards,
> Andreas Hartmann
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/