Zorch Posted June 13, 2019 Share Posted June 13, 2019 Есть ли возможность опубликовать сообщение в MQTT из keenetic bash? что то врооде mosquitto_pub -d -t topic -m "message" -h 192.168.1.5 -p 1883 Поставил opkg install mosquitto mosquitto-client libmosquitto Находит по mosquitto TAB: mosquitto mosquitto_pub mosquitto_sub ~ # mosquitto но при попытке запуска пишет: ~ # mosquitto_pub -sh: mosquitto_pub: not found Quote Link to comment Share on other sites More sharing options...
Александр Рыжов Posted June 14, 2019 Share Posted June 14, 2019 opkg install mosquitto-client-ssl Quote Link to comment Share on other sites More sharing options...
Zorch Posted June 14, 2019 Author Share Posted June 14, 2019 ~ # opkg install mosquitto-client-ssl Package mosquitto-client-ssl (1.6.2-1) installed in root is up to date. ~ # mosquitto_pub -d -t topic -m "message" -h 192.168.1.5 -p 1883 -sh: mosquitto_pub: not found ~ # не помогло :( Quote Link to comment Share on other sites More sharing options...
zyxmon Posted June 14, 2019 Share Posted June 14, 2019 Ошибка в пакете (не передаются правильные флаги линковки). Исправим. Quote Link to comment Share on other sites More sharing options...
Zorch Posted June 14, 2019 Author Share Posted June 14, 2019 39 минут назад, zyxmon сказал: Ошибка в пакете (не передаются правильные флаги линковки). Исправим. Круто! когда ждать? Quote Link to comment Share on other sites More sharing options...
zyxmon Posted June 14, 2019 Share Posted June 14, 2019 23 минуты назад, Zorch сказал: Круто! когда ждать? mipsel выложили, mips скоро выложим. Quote Link to comment Share on other sites More sharing options...
Zorch Posted June 14, 2019 Author Share Posted June 14, 2019 Вот это скорость! Спасибо большое! Проверил, работает! Quote Link to comment Share on other sites More sharing options...
Alex Tammat Posted October 17, 2019 Share Posted October 17, 2019 (edited) mosquitto_sub -h 192.168.1.1 -p 1883 -v -t "/omni/#" Unable to connect (Unknown error.). Установил mosquitto-client-nossl, ошибка непонятная, кто-то сталкивался??? установил c ssl - все заработало Edited October 17, 2019 by Alex Tammat Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.