Getting the Ethernet Address?
Curtis Generous
generous at dev.dtic.dla.mil
Fri Feb 9 22:33:30 AEST 1990
patrick at vicorp.UUCP (Patrick Johnstone) writes:
|| ... but I'm interested in getting the raw Ethernet
||address (the one with format %x:%x:%x:%x:%x:%x). I'm working on
||Sun's (all types) but am wondering if the procedure is the same on
||all (BSD) Unix systems.
||Patrick Johnstone
|| patrick at vicorp.uu.net
|| ...!vicorp!patrick
Try looking at the SIOCGARP ioctl request if your machine supports it.
--curtis
--
Curtis C. Generous
Defense Technical Information Center (DTIC)
ARPA: generous at dev.dtic.dla.mil
UUCP: {uunet,vrdxhq}!dev!generous
More information about the Comp.unix.questions
mailing list