I'm looking for a good way to find the ethernet address of the first
NIC in a Solaris box.
There has to be a syscall or something that does this.
I tried looking at the "ethers" man page but when I actually try to
write code, the headers don't match up, and ether_hostton isn't
defined anywhere in the headers or libraries in my system.
This is on a 2.6 box, but should be general enough to work on 2.5 thru
8.
Thanks!