Article View: aus.computers.linux
Article #56371Re: Program to find the ethernet MAC address
From: Andrew Hood
Date: Wed, 19 Mar 1997 00:00
Date: Wed, 19 Mar 1997 00:00
21 lines
1378 bytes
1378 bytes
In article <5gdv7d$8eh@degas.syd.dit.csiro.au>, ken@syd.dit.csiro.au (Ken Yap) wrote: >In article <5galqg$5iu@mailhub.scitec.com.au>: >|Does anybody have a program that can be used to extract the ethernet >|hardware (MAC) address from the ethernet device? > >You mean plug in any card and read the address? Unfortunately the >address is stored in different ways depending on the design of the >card. Of course, once the card is recognised, it's trivial to get the >address. I think there's an ioctl to return i/f info. The source of >ifconfig would be a good place to start looking. Some cards have it on a sticker, or at least the last few octets. The first few octets are fixed by manufacturer. You could always do an "ifconfig" after you boot. It shows the mac address. -- DOS ... is still a real mode only non-reentrant interrupt handler, and always will be. -Russell Williams
Technical Details
Message-ID:
<ajhood-1903972144500001@a1-p35.syd.fl.net.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<5galqg$5iu@mailhub.scitec.com.au> <5gdv7d$8eh@degas.syd.dit.csiro.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,e830ca81b7bd8de7 X-Google-Attributes: gid102983,public From: ajhood@fl.net.au (Andrew Hood) Subject: Re: Program to find the ethernet MAC address Date: 1997/03/19 Message-ID: <ajhood-1903972144500001@a1-p35.syd.fl.net.au> X-Deja-AN: 226897673 References: <5galqg$5iu@mailhub.scitec.com.au> <5gdv7d$8eh@degas.syd.dit.csiro.au> Organization: Westpac Newsgroups: aus.computers.linux