Hello good morning, can someone recommend me how to generate new credentials for my Gateway, RAK 2247 mounted on a rasberry pi hat, configured in LoRa Basic Station integrated to BalenaIO.
For some reason, a bug with the EUI in the LoRaWAn console caused it to get lost and now I can’t add it with the original credentials (it tells me that the EUI is busy).
I am using the balenahub project “basicstation-gateway-TTS generated by Marc Pous
Hi Marc, thank you very much for your answer, I’m using a Rasberry Pi 3 B+ a Gateway RAK 2247 was working fine, but an error was generated in the TTN API Key that caused it to crash and not appear again in the TTN Console, I can’t recover it and the original EUI cannot be used again, the gateway was using one of the two MAC addresses as the EUI, which are displayed on the Balena bacstation dashboard.
It tries to use the second MAC Address, but it does not enter it, the balena log reflects that it is still using the previous one…
Did you try Xose’s basicstation project @Rodbaca ? i have an open issue related with random EUI generation on my project and i didn’t find the time to check this yet!
Hello Marc, greetings, thank you very much for your support, I tried to configure my Gateway in Balena, with the image of Xose Pérez, as suggested, I managed to change the EUI, using the second MAC address, I managed to register it, but it generated an error that reflected in Log de Balena.
07.19.22 06:25:43 (+0000) base station parse error: invalid numeric literal in EOF at line 1, column 12
Stop working and generate this message
Service exited ‘basicstation sha256:3658ffb77502652f2e466ce65b4a51a073f0941a1e65e9d1eea0bf64386cf939’
Thank you very much Marc, I share Logs with you, I have an observation, when the variable GATEWAY_EUI_NIC is configured with the value (wlan0), it occupies the second MAC address of the Rasberry as EUI, and the error is generated.
When the variable GATEWAY_EUI_NIC is configured with the value (eth0), it occupies as EUI, the first MAC address of the rasberry, and with this the error is not generated, however this EUI is blocked by TTN, for this reason I need generate a different EUI.
Hi Marc, thank you very much for your assistance, I finally managed to change the gateway credentials, integrating a new EUI and adjusting the device variables, in Balena, I have already managed to connect to TTN and the node data is working successfully, thank you very much , my enthusiasm was renewed.