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)... 188.166.134.65
Connecting to artifacts.chirpstack.io (artifacts.chirpstack.io)|188.166.134.65|: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"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

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