Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

VanLUG Email Archive

Re: Reading an Ethernet card's hardware address?

Dave Michelson
Fri, 16 Oct 1998 01:19:32 -0700

R Garth Wood wrote:
>
> > Can anyone point me towards material which explains how one might read the
> > hardware addresses of any Ethernet cards installed in a Linux x86 system?
>
> Do you mean io addr or ethernet hw addr?

The ethernet hw addr.

> Once the driver has been loaded it's just a matter of calling the
> right system call.

That's exactly what I'm looking for.

> If you're using C try
> <linux_src>/include/linux/etherdevice.h
>
> I'm sure the ifconfig source has the correct call.

Of course! Thanks, Garth.

--
Dave Michelson