This PR will add support to Raspberry Pi Zero W 1 and 2 that don't have Ethernet mac address to generate the EUI.
The source code to generate the default EUI was using eth0 or alphabetically the first one (usually balena0 was selected). However balena0 was a virtual interface and it was changing every time the device was restarted. Now I forced to select the last alphabetically, so it will select wlan0 if there is no eth0 interface.
This PR will add support to Raspberry Pi Zero W 1 and 2 that don't have Ethernet mac address to generate the
EUI
.The source code to generate the default
EUI
was usingeth0
or alphabetically the first one (usuallybalena0
was selected). Howeverbalena0
was a virtual interface and it was changing every time the device was restarted. Now I forced to select the last alphabetically, so it will selectwlan0
if there is noeth0
interface.