Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: Association between eth0 and 3c59x...
- To: tlug@example.com
- Subject: Re: Association between eth0 and 3c59x...
- From: "Scott M. Stone" <sstone@example.com>
- Date: Sat, 1 Sep 2001 13:07:32 -0700 (PDT)
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- Delivered-To: tlug@example.com
- In-Reply-To: <000b01c1329b$64eda4a0$0200a8c0@example.com>
- List-Help: <mailto:tlug-request@example.comsubject=help>
- List-Post: <mailto:tlug@example.com>
- List-Subscribe: <mailto:tlug-request@example.comsubject=subscribe>
- List-Unsubscribe: <mailto:tlug-request@example.comsubject=unsubscribe>
- Old-Return-Path: <sstone@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <evSOgC.A.WzB.u_Tk7@example.com>
- Resent-Sender: tlug-request@example.com
On Fri, 31 Aug 2001, roylo wrote: > Also to add on top of that; if it is a pci ethernet card you do a cat on > /proc/pci and it will show you the info as well. > and if you have the drivers installed as modules then you can do /sbin/lsmod > as well too but I need the association between the two. I know I can tell what modules are installed, what hardware exists, and what ethernet interfaces exist, but there's nothing to tell me, if I have 3 ethernet cards in the computer, which one is eth0, which is eth1, which is eth2, etc. > > > > ----- Original Message ----- > From: "Tim Hurman" <kano-tlug@example.com> > To: "Tokyo Linux Users' Group" <tlug@example.com> > Sent: Friday, August 31, 2001 8:38 PM > Subject: Re: Association between eth0 and 3c59x... > > > > you can figure it out indirectly by knowing the MAC address of your card. > > then by typing ifconfig you get: > > ifconfig -a > > eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx > > which should match. > > > > also the output of 'dmesg' will tell you > > dmesg | grep eth0 > > (same info in /var/adm/messages) > > > > if it is a standard pci card, the contents of /proc/ioports or iomem will > > reveal the card. ifconfig also reports the base address of the card (and > > interrupt) in question. > > > > hope that helps, > > > > Tim. > > > > > > On Fri, 31 Aug 2001, Scott M. Stone wrote: > > > > > > > > How can you figure out, by querying the kernel, what ethernet driver is > > > bound, say, to eth0? shouldn't the kernel keep track of this somewhere? > > > I can't find any ioctl, any system call, etc, that will give me this > > > information. > > > > > > I would think there's some way to ask the kernel, "what driver is giving > > > you eth0" without having to look through dmesg, conf.modules, etc, etc.. > > > > > > -------------------------- > > > Scott M. Stone <sstone@example.com> > > > Director of Information Technology, Director of Research and Development > > > ITIsOpen, Inc. - http://www.itisopen.com > > > Cisco Certified Network Associate, Sun Solaris Certified Systems > Administrator > > > > > > ----------------------------------------------------------------------- > > > Next Technical Meeting: Sat, Sep 15 13:30- Leading Edge Co., Place > Canada > > > Next Nomikai Meeting: Fri, Oct 19 19:30- Tengu Tokyo Eki-Mae > > > ----------------------------------------------------------------------- > > > more info: http://www.tlug.gr.jp Sponsor: Global Online Japan > > > > > > > > > > ----------------------------------------------------------------------- > > Next Technical Meeting: Sat, Sep 15 13:30- Leading Edge Co., Place > Canada > > Next Nomikai Meeting: Fri, Oct 19 19:30- Tengu Tokyo Eki-Mae > > ----------------------------------------------------------------------- > > more info: http://www.tlug.gr.jp Sponsor: Global Online Japan > > ----------------------------------------------------------------------- > Next Technical Meeting: Sat, Sep 15 13:30- Leading Edge Co., Place Canada > Next Nomikai Meeting: Fri, Oct 19 19:30- Tengu Tokyo Eki-Mae > ----------------------------------------------------------------------- > more info: http://www.tlug.gr.jp Sponsor: Global Online Japan > > -------------------------- Scott M. Stone <sstone@example.com> Director of Information Technology, Director of Research and Development ITIsOpen, Inc. - http://www.itisopen.com Cisco Certified Network Associate, Sun Solaris Certified Systems Administrator
- References:
- Re: Association between eth0 and 3c59x...
- From: "roylo" <roylo@example.com>
Home | Main Index | Thread Index
- Prev by Date: serial and other devices programming.
- Next by Date: Re: Association between eth0 and 3c59x...
- Prev by thread: Re: Association between eth0 and 3c59x...
- Next by thread: Re: Association between eth0 and 3c59x...
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links