How to Install Mosquitto MQTT Broker on Omega2+?



  • How to Install Mosquitto MQTT Broker on Omega2s+?



  • Should be as simple as:

    opkg update 
    opkg install mosquitto mosquitto-client
    


  • @UFD thanx. I type this:

    opkg install mosquitto mosquitto-client libmosquitto
    


  • @Alexandr-Didenko "Naturally" you didn't say anything about your Omega2+'s firmware (as usual;)


    Omega Firmware Changelog

    0_1575805391532_b197_mosquitto.png


    So - for example on a vanilla v0.2.0-b197 ... v0.3.2 b232 firmware - mosquitto has already installed.
    Run a top command even on your freshly installed Omega2+ please.

    # Omega2+ with v0.3.2 b232 firmware
    
    root@Omega-5BE1:/# opkg list-installed | grep -i mosquitto
    libmosquitto-ssl - 1.5.8-2
    mosquitto-client-ssl - 1.5.8-2
    mosquitto-ssl - 1.5.8-2
    
    root@Omega-5BE1:/# opkg info mosquitto-ssl
    Package: mosquitto-ssl
    Version: 1.5.9-2
    Depends: libc, librt, libuuid, libopenssl, libwebsockets-openssl
    Provides: mosquitto
    Status: unknown ok not-installed
    Section: net
    Architecture: mipsel_24kc
    Size: 76962
    Filename: mosquitto-ssl_1.5.9-2_mipsel_24kc.ipk
    Description: Mosquitto is an open source (BSD licensed) message broker that implements
     the MQTT protocol version 3.1 and 3.1.1. MQTT provides a lightweight
     method of carrying out messaging using a publish/subscribe model.
     
     This package also includes some basic support for configuring via UCI
     This package is built with SSL support.  TLS-PSK will be included (in both
     the client and broker) if OpenSSL is built with TLS-PSK support.
    
    Package: mosquitto-ssl
    Version: 1.5.8-2
    Depends: libc, librt, libuuid, libopenssl, libwebsockets-openssl
    Provides: mosquitto
    Status: install user installed
    Architecture: mipsel_24kc
    Conffiles:
     /etc/mosquitto/mosquitto.conf cad5c6ae4ecf25e2709e88f2b92d75905ac4aedc622df6e9a536238c0b047856
     /etc/config/mosquitto eaa6b71fbd8e5f7142d949432374017e4cb5d01cf5039b9cd4a65f8953126521
    Installed-Time: 1566829837
    
    root@Omega-5BE1:/# mosquitto -h
    mosquitto version 1.5.8
    
    mosquitto is an MQTT v3.1.1 broker.
    
    Usage: mosquitto [-c config_file] [-d] [-h] [-p port]
    
     -c : specify the broker config file.
     -d : put the broker into the background after starting.
     -h : display this help.
     -p : start the broker listening on the specified port.
          Not recommended in conjunction with the -c option.
     -v : verbose mode - enable all logging types. This overrides
          any logging options given in the config file.
    
    See http://mosquitto.org/ for more information.
    
    

  • Banned

    This post is deleted!

Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.