Re: eth-Devices and naming wishes

Marc Haber (Marc.Haber-usenet@gmx.de)
Mon, 08 Mar 1999 07:48:41 GMT


In ka.lists.linux.kernel, Riley Williams <rhw@BigFoot.Com> wrote:
> > However, it seems that I can't control which ethx alias will be
> > associated with the trusted network because both cards are PCI
> > and their resource assignments are controlled by the system
> > BIOS. Thus, I will have to jump through hoops to take care of
> > this in every init and maintenance script which will prove a
> > major pain and source of problems.
>
>In my experience, for any particular pair of PCI NE2K cards, the BIOS
>will always allocate them the same way round, so if a particular card
>appears first on one occasion relative to a particular second card,
>then it will always appear first relative to that particular second
>card.

Yes, but this is board and bios dependent. If you do a BIOS update or
get a new board, the order can change.

>I don't believe what you're asking actually exists,

:-(

>but you could try
>something like using the following bash script from your scripts:

<code snipped>

Thanks, that's about what I planned to do. But it surely is clumsy and
could be solved elegantly with "true" aliases.

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/