I am trying to build a simple LoRaWAN network using these components:
Chirpstack open-source network server as my private server
Dragino Lig16 gateway as my gateway
Raspberry pi zero 2 as my linux-based computer on which I installed and run the chirpstack server
Now the server is successfully built and installed and I can access it through [ServerIP]:8080 but the problem is that I can’t connect the gateway to the server and its status in the server interface doesn’t change and it’s always “never seen”.
Please note that I have installed the gateway bridge on both gateway and the server and its status is “running”.
Can you please help me to get through this? I have been struggling with this for over a week and I really need to fix this for my project.
Thank you very much in advance
In my opinion Raspberry Pi Zero 2W should not be an issue since it works fine even on Raspberry Pi Zero W.
There are two files on Raspberry Pi namely:-
(possibly under folder /opt/ttn-gateway/packet_forwarder/lora_pkt_fwd or elsewhere depending on your installation, nonetheless the files are generally named as below)
As you are using built-in chirpstack server on Raspbery Pi, check if the server IP is correct (actual static IP address or localhost or 127.0.0.1 as the case may be) and also compare the Gateway EUI on these files is the same as the one on your application server. If not add a gateway to match that Gateway EUI. Configuration in local_conf.json overides configuration in global_conf.json, that is the configuration in local_conf.json is used by the server as against configuration in global_conf.json. You may make Gateway EUI and server address same on both files.
Perhaps you may have different setup but the gist of this reply is that the Gateway EUI and the IP address to which the Gateway is forwarding packets to, should be correct, only then it will show as “last seen few seconds” i.e. connected.