From: Andrew Morton <andrewm@uow.edu.au>
To: al goldstein <gold@sense-gold-134.oz.net>
Cc: kernel <linux-kernel@vger.kernel.org>
Subject: Re: 2.4.1 swaps hardware addresses for ethernet cards
Date: Tue, 13 Feb 2001 22:33:43 +1100 [thread overview]
Message-ID: <3A891B97.4F9805A6@uow.edu.au> (raw)
In-Reply-To: <Pine.LNX.4.21.0102122250180.848-100000@sense-gold-134.oz.net>
al goldstein wrote:
>
> I have 2 ether cards 59x (eth0) and 509 (eth1). I have been adding 509
> at boot in lilo.conf. Using this same config in 2.4.1 results in
> the hardware addresses for the cards to be swapped. If I remove 509 from
> Lilo I get the same result. Suggestions would be appreciated
If both drivers are statically linked into the kernel then
I guess this is entirely dependent upon the linkage order of
net/core/dev.o and drivers/net/3c59x.o.
If you make the drivers modular then you can force the order
within your boot scripts.
If you make just one driver modular then that one will be
"eth1".
You can grab Andi's "nameif" app which allows you to rename
interfaces based on their MAC address, which will certainly
put and end to the issue. I'm not sure whether this
app is in net-tools yet.
Finally, you can wait until the Linux hotplug architecture
is fully implemented, after which the naming order will
be nicely randomised each time you boot :)
It's fun, isn't it?
-
next prev parent reply other threads:[~2001-02-13 11:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-13 6:59 al goldstein
2001-02-13 11:33 ` Andrew Morton [this message]
2001-02-13 19:26 ` al goldstein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3A891B97.4F9805A6@uow.edu.au \
--to=andrewm@uow.edu.au \
--cc=gold@sense-gold-134.oz.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®