On 22/01/15 19:31, Donny Davis wrote:
But if you just need the mac address, why not ssh into it and get it
from ip addr
if you can ssh, there is no need to parse "ip" output, just do cat:
cat /sys/class/net/$yourdevice/address
I don't think there is a way to get data from a host via api which is
not activated, but I might be wrong.
--
Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen