Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4466

Troubleshooting • Couldnt build a gateway with Raspberry Pi 3 and LoRa HAT

$
0
0
Hello!
I'm using a Dragino Lora Hat v1.4 with SX1276 (868MHZ) for my Raspberry Pi 3b and I'm trying to build a gateway using The Things Network (TTN). But the TTN status showed that it is "disconnected".

I've followed the instructions provided in the user manual at https://www.dragino.com/downloads/downl ... l_v1.0.pdf. I've enabled the SPI interface and cloned and installed the necessary libraries from

https://github.com/dragino/dual_chan_pkt_fwd
and

https://github.com/WiringPi/WiringPi.git

I've obtained my gateway ID and registered it as the Gateway EUI in TTN. However, after I tried running the command

Code:

systemctl start dual_chan_pkt_fwd
the TTN status showed that it is "disconnected".
I did

Code:

systemctl status dual_chan_pkt_fwd
and

Code:

sudo journalctl -f -u dual_chan_pkt_fwd
i got the outputs below:

Code:

pi@raspberrypi:~/dual_chan_pkt_fwd $ sudo systemctl status dual_chan_pkt_fwd● dual_chan_pkt_fwd.service - Lora Packet Forwarder     Loaded: loaded (/lib/systemd/system/dual_chan_pkt_fwd.service; enabled; ve>     Active: active (running) since Wed 2024-03-06 21:02:44 GMT; 1h 19min ago   Main PID: 894 (dual_chan_pkt_f)      Tasks: 1 (limit: 1595)        CPU: 1.314s     CGroup: /system.slice/dual_chan_pkt_fwd.service             └─894 /home/pi/dual_chan_pkt_fwd/dual_chan_pkt_fwdMar 06 21:02:44 raspberrypi systemd[1]: Started Lora Packet Forwarder.
and

Code:

-- Journal begins at Tue 2023-12-05 03:07:43 GMT. --Mar 06 21:02:39 raspberrypi dual_chan_pkt_fwd[713]: Listening at SF7 on 868.100000 Mhz.Mar 06 21:02:39 raspberrypi dual_chan_pkt_fwd[713]: Listening at SF7 on 868.100000 Mhz.Mar 06 21:02:39 raspberrypi dual_chan_pkt_fwd[713]: -----------------------------------Mar 06 21:02:39 raspberrypi dual_chan_pkt_fwd[713]: stat update: 2024-03-06 21:02:39 GMT no packet received yetMar 06 21:02:39 raspberrypi systemd[1]: Started Lora Packet Forwarder.Mar 06 21:02:39 raspberrypi systemd[1]: dual_chan_pkt_fwd.service: Main process exited, code=exited, status=1/FAILUREMar 06 21:02:39 raspberrypi systemd[1]: dual_chan_pkt_fwd.service: Failed with result 'exit-code'.Mar 06 21:02:44 raspberrypi systemd[1]: dual_chan_pkt_fwd.service: Scheduled restart job, restart counter is at 2.Mar 06 21:02:44 raspberrypi systemd[1]: Stopped Lora Packet Forwarder.Mar 06 21:02:44 raspberrypi systemd[1]: Started Lora Packet Forwarder.
I also attempted to enable a single channel as instructed at https://www.instructables.com/Use-Lora ... N-Gateway/, but this did not change the TTN status.
I would greatly appreciate any help you could provide. Thank you!

Statistics: Posted by Melica.e23 — Wed Mar 06, 2024 11:09 pm — Replies 0 — Views 12



Viewing all articles
Browse latest Browse all 4466

Trending Articles