[rescue] Java - code to detect MAC address?

Dave McGuire mcguire at neurotica.com
Sat Feb 15 23:36:30 CST 2003


On Sunday, February 16, 2003, at 12:22 AM, Patrick Giagnocavo 
+1.717.201.3366 wrote:
>> Rats.  I guess that means he'll have to go back to writing 
>> platform-specific
>> code.  It seems that the unixes all have a different way to obtain MAC
>> address of an interface.
>
> arp -s is pretty standard across most Unices, I think.

   You mean run it as a subprocess and capture its output?

   That's a little on the kludgy side, but hey, it sounds like it'll 
work.

       -Dave

--
Dave McGuire             "I've grown hair again, just
St. Petersburg, FL           for the occasion."       -Doc Shipley


More information about the rescue mailing list