Hi,
I am using a Teltonika RUTX11 and need an MQTT subscriber CLI tool, preferably mosquitto_sub, for a local alarm-handling script.
Device details:
Device: RUTX11
Kernel: 6.6.119
Firmware: RUTX_R_00.07.22.3
Build: 87e33b723e
Build date: 2026-05-15 07:21:19
Architecture: arm_cortex-a7_neon-vfpv4
The router already has Mosquitto broker/library packages installed:
libmosquitto-ssl - 2.0.21-2
mosquitto-ssl - 2.0.21-2
opkg status mosquitto-ssl shows:
Package: mosquitto-ssl
Version: 2.0.21-2
Depends: libc, librt, ubus, libubox20240329, libuci20130104, tpm2_importer, libopenssl3
Provides: mosquitto
Architecture: arm_cortex-a7_neon-vfpv4
However, the client tools are not present:
command -v mosquitto_sub
command -v mosquitto_pub
find /usr -name mosquitto_sub 2>/dev/null
All return nothing.
Running:
opkg update
opkg list | grep -Ei 'mosquitto|mqtt'
shows only:
data-sender-mod-mqtt-in - 1.25-1
data-sender-mod-mqtt-out - 1.25-1
libmosquitto-ssl - 2.0.21-2
mosquitto-ssl - 2.0.21-2
mqtt-modbus-gateway - 2026-03-13
mqtt_pub - 2026-02-11
rms_mqtt - 2026-03-13-1
vuci-app-data-sender-api-mod-mqtt-in - 1
vuci-app-data-sender-api-mod-mqtt-out - 1
vuci-app-mqtt-api - 1
vuci-app-mqtt-ui - 2026-05-07-07826f788d-1
Trying to install the expected OpenWrt-style client packages fails:
opkg install mosquitto-client-ssl
Result:
Unknown package 'mosquitto-client-ssl'.
Also:
opkg install mosquitto-client-nossl
Result:
Unknown package 'mosquitto-client-nossl'.
I also noticed that an OpenWrt feed file exists at:
/etc/opkg/openwrt/distfeeds.conf
with entries for OpenWrt 21.02.0, but I am reluctant to install packages from generic OpenWrt feeds because this is a RutOS device and I do not want to introduce ABI/dependency problems on a production router.
My use case:
I have an MQTT alarm topic such as:
modbus/vessel/alarms/#
with JSON payloads, and I want a local script on the router to subscribe to this topic and send SMS alerts based on alarm edge detection, cooldown/backoff, whitelist filtering, and similar logic.
A typical approach would be:
mosquitto_sub -h <broker-ip> -t 'modbus/vessel/alarms/#' -v | while read -r line; do
# parse payload and send SMS
done
But mosquitto_sub is missing.
Questions:
-
Is there an official Teltonika package for
mosquitto_sub/mosquitto-client-sslfor RUTX_R_00.07.22.3? -
If not, is there a recommended way to build
mosquitto-client-sslusing the Teltonika RUTX SDK? -
Is there an SDK archive specifically matching this firmware version, for example:
RUTX_R_GPL_00.07.22.3.tar.gz
-
If only a newer SDK is available, for example
RUTX_R_GPL_00.07.23.3.tar.gz, is amosquitto-client-sslpackage built from that SDK expected to work safely on firmwareRUTX_R_00.07.22.3, or should the router first be upgraded to the matching firmware version? -
Is Teltonika’s Data to Server / MQTT input intended to be usable as an alternative to
mosquitto_subfor this kind of local alarm processing, or is it mainly intended for forwarding data rather than running custom edge-detection logic?
The goal is to avoid installing incompatible OpenWrt packages and instead use a package or binary that is compatible with RutOS RUTX_R_00.07.22.3.
Any guidance on the correct package, SDK version, or recommended implementation approach would be appreciated.
Thanks.