Greetings, @mprowe ,
Apologies for delayed response.
Here are step-by-step instructions on how to install mosquitto-ssl package to your RUT200.
Step 1: Connect to the Router via SSH
- Open your SSH client.
- Connect to the router using its LAN IP address (default is
192.168.1.1) and log in as the root user:ssh root@192.168.1.1
- Enter your router’s admin password when prompted.
Step 2: Add the Missing OpenWrt Package Feed
By default, the router’s embedded configuration may omit the standard OpenWrt package repository layout. Run the following command to append the correct OpenWrt repository feed to the configuration file:
echo "src/gz openwrt_packages https://downloads.openwrt.org/releases/21.02.0/packages/mipsel_24kc/packages" >> /etc/opkg/openwrt/distfeeds.conf
Step 3: Update the Package Lists
Refresh the package manager (opkg) lists to register the newly added repository:
opkg -e /etc/opkg/openwrt/distfeeds.conf update
Note: You can safely ignore any “Failed to download… vuci/Packages.gz” errors if they appear; this is a known legacy path behavior and will not impact this installation
Step 4: Install the Mosquitto SSL Client
Run the installation command for the SSL-supported version of the client:
opkg -e /etc/opkg/openwrt/distfeeds.conf install mosquitto-client-ssl
Troubleshooting Note: If the installer fails due to a pre-existing library dependency conflict on the router, use this force command to overwrite it and complete the installation:
opkg -e /etc/opkg/openwrt/distfeeds.conf --force-depends --force-overwrite install mosquitto-client-ssl
Step 5: Verify the Installation
To confirm that the tools have been successfully deployed, verify the installation by calling the help menu for either utility:
- To test the publishing tool:
mosquitto_pub --help
- To test the subscribing tool:
mosquitto_sub --help
If the terminal displays the utility options, the installation is complete and the Mosquitto SSL client is ready for use in your scripts.
If you run into any issues during the process or have any questions, please let me know!
Best regards,
V.