From: Etaoin Shrdlu <shrdlu@unlimitedmail.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Change NIC ordering
Date: Sun, 11 May 2008 20:28:31 +0200 [thread overview]
Message-ID: <200805112028.31585.shrdlu@unlimitedmail.org> (raw)
In-Reply-To: <5bdc1c8b0805111103s3916d9f4rf095943df49283f3@mail.gmail.com>
On Sunday 11 May 2008, 20:03, Mark Knecht wrote:
> Hi,
> In a machine with two NICs:
>
> 1) How do I configure which is considered eth0?
Probably editing /etc/udev/rules.d/70-persistent-net.rules.
> 2) After drivers are loaded how do I see what hardware is using which
> driver?
The above file should have a comment before each line indicating what
driver the device needs. Apart from that, you can probably peek
into /sys. On my system, there seems to exist a directory named
/sys/class/net/<device>/device/driver/module/drivers/pci\:<module>/, for
instance for eth0 it's
/sys/class/net/eth0/device/driver/module/drivers/pci\:3c59x/
So I see that eth0 is using driver 3c59x. This is a totally homebrew
method, the result of 5-minute search, and most likely better method
exist (which I'd like to know too).
--
gentoo-user@lists.gentoo.org mailing list
next prev parent reply other threads:[~2008-05-11 18:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-11 18:03 [gentoo-user] Change NIC ordering Mark Knecht
2008-05-11 18:13 ` Dirk Heinrichs
2008-05-11 18:24 ` Mark Knecht
2008-05-11 18:28 ` Etaoin Shrdlu [this message]
2008-05-11 18:40 ` Mark Knecht
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=200805112028.31585.shrdlu@unlimitedmail.org \
--to=shrdlu@unlimitedmail.org \
--cc=gentoo-user@lists.gentoo.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