This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Description
Hi,
My device is : Raspberry Pi 3 Model B Plus Rev 1.3 with LAN and WLAN + RAK 2245.
I tried this : https://www.balena.io/blog/deploy-a-basics-station-lora-gateway-with-ttn-and-balena/
My device has a MAC for LAN (wich doesn't change) and a MAC for WLAN (wich change randomly each time I reboot the device).
The system try to register a gateway based on the random WLAN MAC, so I cannot register my gateway to TTN with the EUI from the LAN MAC. And I can't register an EUI based on the WLAN MAC because it changes at every reboot...
Take a look at the console log :
The system try to register a gateway based on the WLAN MAC (DEE9032DB588), not the LAN MAC.
2022-03-22 12:41:24.117 [TCE:ERRO] Infos error: ::0 Failed to fetch gateway: error:pkg/gatewayserver:gateway_eui_not_registered (gateway EUI `DEE903FFFE2DB588` is not registered)
After rebooting the device still try to register a gateway based on the WLAN MAC, but the WLAN MAC has changed... (DA8AFF2B0D4C)
2022-03-22 12:47:08.300 [TCE:ERRO] Infos error: ::0 Failed to fetch gateway: error:pkg/gatewayserver:gateway_eui_not_registered (gateway EUI `DA8AFFFFFE2B0D4C` is not registered)
Hope you can help.
Regards