NebraLtd / helium-miner-software

Software for Nebra (and third party) Helium Miners
https://nebra.io/hnt
MIT License
93 stars 48 forks source link

gateway-config container mac issue #3

Closed ryanteck closed 3 years ago

ryanteck commented 3 years ago

Gateway-config looks for the MAC address of the host, however being inside a container the commands it uses doesn't work.

ryanteck commented 3 years ago

This change to the gateway-config software fixed it to the stage of where it changes it to use the ethernet mac address instead works.

https://github.com/NebraLtd/gateway-config/commit/d3ad68fcb17e57d6a67c27191a25b0f0fd98c721

However the final stage is getting the host mac address, I believe this should get fixed when we can upgrade the supervisor and host os versions soon.

ryanteck commented 3 years ago

Latest balena supervisor fixes it partially, however the tool that is used to get the mac doesn't detect it.

Current possible options are:

Change the serial number to rely on the RPi's serial number maybe. Somehow re-write to use mac address from host info.