MAC address enumeration for Linux, by Erik Hvatum.
MAC address enumeration for Linux, by Erik Hvatum.

Date: Fri, 28 Mar 2014 17:10:20 -0500
From: Erik Hvatum <ice.rikh@gmail.com>
To: Micro-Manager General <micro-manager-general@lists.sourceforge.net>
Subject: [micro-manager-general] patch for Linux mac address enumeration

Most Linux distributions are switching to systemd + udev, resulting in
ethernet interface names such as
enp6b5p1n32abcdefghijklmnopqrstuvwxyz34brt0.  So, querying the mac address
of eth0 doesn't work as reliably as it once did.

In an act of supreme self restraint, I will say only one thing on this
topic: in my opinion, systemd is such a step backward that mankind has
un-landed on the moon.  And WWII has been retroactively lost.  Two things,
then.  And ^h^h^h

Attached and pasted below is a patch to enumerate the mac address of every
active interface.

-Erik

git-svn-id: 03a8048b5ee8463be5048a3801110fb50f378627@13018 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd

kmdouglass/Micro-Manager,kmdouglass/Micro-Manager