Dragino LPS8V2 couldn't setup MQTT forwarder(OPKG error)

Hi. I am using Dragino LSP8v2 Gateway, and I am using Chirpstack network server. I am trying to integrate forward the data using MQTT forwarder and so, I followed this link https://www.chirpstack.io/docs/chirpstack-mqtt-forwarder/install/dragino.html. But I couldn’t install the package using OPKG. It shows that OPKG command not found, and I tried to install it, and it doesn’t work. I am just using the gateway with the default Image, and I also updated the gateway.

Has anyone faced this issue?

Could you copy and paste the complete command that you are executing + the output?

I have the same issue. Found this while googling a solution (that I have not found yet).

root@dragino-257c55:~# cd /tmp
root@dragino-257c55:/tmp# wget https://artifacts.chirpstack.io/downloads/chirpstack-mqtt-forwarder/vendor/dragino/mips_24kc/chirpstack-mqtt-forwarder_4.2.3-r1_mips_24kc.ipk
--2024-04-11 23:13:43--  https://artifacts.chirpstack.io/downloads/chirpstack-mqtt-forwarder/vendor/dragino/mips_24kc/chirpstack-mqtt-forwarder_4.2.3-r1_mips_24kc.ipk
Resolving artifacts.chirpstack.io (artifacts.chirpstack.io)...
Connecting to artifacts.chirpstack.io (artifacts.chirpstack.io)||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1408943 (1.3M) [application/octet-stream]
Saving to: ‘chirpstack-mqtt-forwarder_4.2.3-r1_mips_24kc.ipk’

chirpstack-mqtt-forwarder_4.2.3-r1_mips_24kc.i 100%[====================================================================================================>]   1.34M  2.08MB/s    in 0.6s

2024-04-11 23:13:44 (2.08 MB/s) - ‘chirpstack-mqtt-forwarder_4.2.3-r1_mips_24kc.ipk’ saved [1408943/1408943]

root@dragino-257c55:/tmp# opkg install chirpstack-mqtt-forwarder_4.2.3-r1_mips_24kc.ipk
-bash: opkg: command not found

ChatGPT told me I was trying to get en OpenWrt package on ubuntu-based system.

# cat /etc/os-release
PRETTY_NAME="Dragino 23.02.16 Jammy"
VERSION="22.04 LTS (Jammy Jellyfish)"

I contacted dragino support and they told me that this instruction is for LPS8N. There is no OPKG in LPS8v2.

The OSes of LPS8N and LPS8v2 (newer) are a bit different as I remember.

In the meantime, we may use Semtech packet forwarder.

1 Like

This topic was automatically closed after 90 days. New replies are no longer allowed.

I have updated the ChirpStack MQTT Installation instructions for the Dragino gateways with instructions how to install the .deb package onto the LPSV2 gateway.