Dragino PG1301 on RPI 4 (Raspi OS 12) - lorapktfwd.service: Failed to execute /usr/bin/lora_pkt_fwd

koehben
Wed, 17 Jan 2024 17:05:59 +0000
Raspberry Pi Gateways

Hi there,
I wanted to upgrade my multi-purpose RasPi 3B to a RasPi 4 due to RAM constraints.
I use the Dragino PG1301 as a gateway and just followed the instructions (https://www.dragino.com/downloads/downloads/LoRa_Gateway/PG1301/PG1301_UserManual_v1.0.6.pdf).
When I check the status of the service, I get:
Process: 1402 ExecStartPre=/usr/bin/reset_lgw.sh start (code=exited, status=0/SUCCESS)
Process: 1415 ExecStart=/usr/bin/lora_pkt_fwd (code=exited, status=203/EXEC)
Process: 1416 ExecStopPost=/usr/bin/reset_lgw.sh stop (code=exited, status=0/SUCCESS)

When I check the logs using “sudo journalctl -u lorapktfwd -f”:
lorapktfwd.service: Failed to execute /usr/bin/lora_pkt_fwd: No such file or directory

But the file is there, so I tried to edit the permissions using “sudo chmod +x /usr/bin/lora_pkt_fwd”, which didn’t help either.

Any ideas are appreciated
Thanks,
Benjamin

9 posts - 3 participants