Subject: get MAC address
To: NetBSD tech-userlevel <tech-userlevel@netbsd.org>
From: James K. Lowden <jklowden@schemamania.org>
List: tech-userlevel
Date: 05/18/2003 09:00:38
Is there a portable way to learn the Ethernet address of a device?
I see the kernel spit it out at configuration time. I don't know any
other way to display it.
One of my compatriots wrote an ioctl query for Linux that uses flags (e.g.
SIOCGIFHWADDR) that we don't support, leading me to wonder if there wasn't
a higher level interface.
Thanks.
--jkl