I also registered my Json file in the Github repository.
I would like to know if someone can help me to connect it to TTN, IΒ΄ve been reading and I think that is a problem with the Reset Pin or with the 915mhz band.
Iβve tried this one: https://github.com/RAKWireless/rak_common_for_gateway
and it doesnβt work either, I went to sudo gateway-config and select the setup of the Rak gateway to TTN and US902_928 channel plan, but it never shows up like Status: not connected in the TTNβs gateway overview.
It is because of gateway ID.
Normally, Our firmware which you download from RAK website is used for RPi with eth0, and the gateway ID which you see in the loacl_config.json will generate automatically based on eth0 MAC address. The problem is there is no eth0 on your RPi zero, so the gateway ID can not be generate correctly.
Now, you can do as follow:
Open the folder </opt/ttn-gateway/packet_forwarder/lora_pkt_fwd> of your RPi zero;
Rename set_eui.sh and update_gwid.sh files to another name;
Open the local_config.json and modify the gateway ID to the one you register in TTN.
Restart you RPi.
OK, now, if the network from your RPi and TTN is fine, you should see the status on TTN is βconnectedβ.
Just try.
I did some changes in /opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/update_gwid.sh
I change this:
GWID_BEGIN=$(ip link show eth0 | awk β/ether/ {print $2}β | awk -F: β{print $1$2$3}β)
GWID_END=$(ip link show eth0 | awk β/ether/ {print $2}β | awk -F: β{print $4$5$6}β)
for this:
GWID_BEGIN=$(ip link show wlan0 | awk β/ether/ {print $2}β | awk -F: β{print $1$2$3}β)
GWID_END=$(ip link show wlan0 | awk β/ether/ {print $2}β | awk -F: β{print $4$5$6}β)
Basically just eth0 to wlan0.
After that I edited /opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/local_conf.json
Changed the gateway_ID to the one that I have in TTN.