How do I find out my Ethernet address?
Ed McGuire
emcguire at cadfx.ccad.uiowa.edu
Fri May 4 09:45:44 AEST 1990
>From article <5197 at helios.TAMU.EDU>, by randy at csseq.tamu.edu (Randy Hutson):
> grep `hostname` /etc/ethers
> should give the Ethernet address.
This is only somewhat reliable as /etc/ethers is maintained by the
sysadmin, and is only used for reverse ARP as far as I know. It's
liable to be empty if you're not supporting diskless nodes. I suspect
the same would be true if the file was YP served.
---
peace. -- Ed
"So, when `thirtysomething' was over, she turned off the TV, collected
her thoughts and called 350,000 of her closest friends."
More information about the Comp.unix.questions
mailing list