"Pranay Kumar" <[EMAIL PROTECTED]> writes:
> I want to know the MAC address of my Ethernet adapter in my C
> code. What is the simplest way to do that?

The tool 'nameif' from the 'net-tools-1.60-4' package installed here
apparently retrieves the mac address (as well as 'ifconfig' from the
same package). Perhaps just get that source RPM and browse around...


So long,
   Joe

-- 
"I use emacs, which might be thought of as a thermonuclear
 word processor."
-- Neal Stephenson, "In the beginning... was the command line"



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to