09-25-2022, 03:38 PM
(This post was last modified: 09-26-2022, 12:09 PM by RTP.
Edit Reason: info
)
For those following (PineDio Gateway prototype), updated, LoRa functional test image uploaded:
(should accept any size sdcard, updated applications chirpstack and others. Added a few things to the README in repository (commands, config files of note)
One thing ppl may want to know about: EUI changing can be done inside: /opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/local_conf.json
This can be helpful if you have a default EUI matching other gateways on same network.
Why change it? The gateway ID/EUI must be universally unique on each gateway. If you share an EUI with another gateway (on same net), you won't be able to register the gateway until changing EUI (on TTN for ex).
But, there is a very simple solution. Edit above EUI in config file location:
Once you change EUI, next restart ttn-gateway with:
That's all you need to do, to change EUI/ID anytime. And our new, custom EUI will remain, as saved.
Simple example EUI generator command added: gen-eui (giving you an example of a new EUI you can use in your config file)
Direct download link: https://mega.nz/file/zB4gTLRZ#EUlJh2oYLg...GoXle4xyAk
More info available at repository (link at top of this reply).
Lup Yuen Lee has written a great step by step tutorial if you want to try your gateway on TTN: https://lupyuen.github.io/articles/gatew...io-gateway
(should accept any size sdcard, updated applications chirpstack and others. Added a few things to the README in repository (commands, config files of note)
One thing ppl may want to know about: EUI changing can be done inside: /opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/local_conf.json
This can be helpful if you have a default EUI matching other gateways on same network.
Why change it? The gateway ID/EUI must be universally unique on each gateway. If you share an EUI with another gateway (on same net), you won't be able to register the gateway until changing EUI (on TTN for ex).
But, there is a very simple solution. Edit above EUI in config file location:
Code:
/opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/local_conf.json
Once you change EUI, next restart ttn-gateway with:
Code:
sudo systemctl restart ttn-gateway
That's all you need to do, to change EUI/ID anytime. And our new, custom EUI will remain, as saved.
Simple example EUI generator command added: gen-eui (giving you an example of a new EUI you can use in your config file)
Direct download link: https://mega.nz/file/zB4gTLRZ#EUlJh2oYLg...GoXle4xyAk
Code:
[code]CHECKSUMS:
SHA256: 487bbb45ac78a4ee24b80918760673e58222aec60c81251617e932a8265d35b7
SHA512: f21ee4e8b8739f2e0efc269ab158224d6dfc55b3d542118fb67286b5337a2499cda52f3df1f05db6b1202553fe22
More info available at repository (link at top of this reply).
Lup Yuen Lee has written a great step by step tutorial if you want to try your gateway on TTN: https://lupyuen.github.io/articles/gatew...io-gateway
- RTP
"In the beginner's mind there are many possibilities, in the expert's mind there are few." -Shunryu Suzuki
[ Pinephone Original | Pinetab v1 / v2 Enjoyer ]
Linux Device Privacy / Security Playlist
"In the beginner's mind there are many possibilities, in the expert's mind there are few." -Shunryu Suzuki
[ Pinephone Original | Pinetab v1 / v2 Enjoyer ]
Linux Device Privacy / Security Playlist