
The big trouble is when I try to connect using the MQTT Dashboard app from my smartphone or PubSubClient library from my Arduino sketch. When I run this command from outside Arduino (like my desktop PC) it works perfectly too (the PC are in the same LAN). I open one SSH terminal and write: mosquitto_sub -v -t 'test/test'Īnd open other SSH terminal and write: mosquitto_pub -h 192.168.1.3 -t 'test/test' -m 'helloWord'Īnd works great!!! (192.168.1.3 is my Arduino LAN IP, but this command also works with 'localhost' and 'arduino.local' alias. Using the utilities mosquitto_sub and mosquitto_pub al works fine!!!

I am using default config file (/etc/mosquitto/nf). My first goal is use the broker without authentication and no-SSL (port 1883). I had installed Mosquitto with this: opkg update opkg install mosquitto mosquitto-client libmosquitto My project will be installed on a site without internet connection, so I need develop a system that runs only in the LAN. I am trying to use a local Mosquitto with my Arduino Yun.
