Hi,
I installed the Gateway OS v4.5.0 on a RAK7268V2, using the file
chirpstack-gateway-os-4.5.0-rak7268v2-ramips-mt76x8-rakwireless_rak636-squashfs-sysupgrade.bin
It installed over WisGateOS 2.2.6 (I think – it was 2.2.x for sure) and I can log in.
I enabled Concentratord, selected the proper channel plan (US915 8-15), and it looks like it’s running properly.
# logread -e chirpstack-concentratord
Thu Aug 22 12:31:08 2024 user.info chirpstack-concentratord-sx1302[2456]: Frame received, uplink_id: 2441799461, count_us: 826825162, freq: 904100000, bw: 125000, mod: LoRa, dr: SF7, ftime_received: false, ftime_ns: 0
Thu Aug 22 12:31:10 2024 user.info chirpstack-concentratord-sx1302[2456]: Frame received, uplink_id: 1856374260, count_us: 828938498, freq: 903900000, bw: 125000, mod: LoRa, dr: SF7, ftime_received: false, ftime_ns: 0
Thu Aug 22 12:31:23 2024 user.info chirpstack-concentratord-sx1302[2456]: Publishing stats event, rx_received: 2, rx_received_ok: 2, tx_received: 0, tx_emitted: 0
Thu Aug 22 12:31:53 2024 user.info chirpstack-concentratord-sx1302[2456]: Publishing stats event, rx_received: 0, rx_received_ok: 0, tx_received: 0, tx_emitted: 0
However, I cannot get MQTT Forwarder to run. It is enabled and properly configured. The uci
command shows a configuration.
# uci show chirpstack-mqtt-forwarder
chirpstack-mqtt-forwarder.@global[0]=global
chirpstack-mqtt-forwarder.@global[0].enabled='1'
chirpstack-mqtt-forwarder.@mqtt[0]=mqtt
chirpstack-mqtt-forwarder.@mqtt[0].topic_prefix='us915_1'
...
The MQTT Forwarder does not show up in the running process list:
# ps | grep [c]hirp
2456 root 16780 S /usr/bin/chirpstack-concentratord-sx1302 -c /var/etc/chirpstack-concentratord/concentratord.toml -c /var/etc/chirpstack-concentratord/region.toml -c /var/etc/chirpstack-concentratord/channels.toml
and there does not exist a /var/etc/chirpstack-mqtt-forwarder directory
similar to Concentratord.
# find /var/etc
/var/etc
/var/etc/dnsmasq.conf.cfg01411c
/var/etc/chirpstack-concentratord
/var/etc/chirpstack-concentratord/region.toml
/var/etc/chirpstack-concentratord/channels.toml
/var/etc/chirpstack-concentratord/concentratord.toml
/var/etc/ssl
/var/etc/ssl/providers.cnf
/var/etc/ssl/engines.cnf
I was going to try running it manually, but I cannot find a .toml file for it. I looked for it in all the places I found concentratord.toml
(/etc/
, /rom/etc
, /tmp/etc
) but it does not exist.
I reinstalled from a downloaded chirpstack-mqtt-forwarder_4.3.1-r1_mipsel_24kc.ipk
, which I do with all my RAK gateways. Still no /var/etc/chirpstack-mqtt-forwarder
exists.
I copied the version of chirpstack-mqtt-forwarder.toml
I have been using in WisGateOS to /var/etc/chirpstack-mqtt-forwarder
(that I created) and tried to start it up. It seems to run, but doesn’t use my configuration:
Thu Aug 22 13:07:11 2024 user.info chirpstack-mqtt-forwarder[6986]: Starting ChirpStack MQTT Forwarder (version: 4.3.1, docs: https://www.chirpstack.io/)
Thu Aug 22 13:07:11 2024 user.info chirpstack-mqtt-forwarder[6986]: Setting up Semtech UDP Packet Forwarder backend
Thu Aug 22 13:07:11 2024 user.info chirpstack-mqtt-forwarder[6986]: Setting up Semtech UDP packet-forwarder backend
Thu Aug 22 13:07:11 2024 user.info chirpstack-mqtt-forwarder[6986]: Binding UDP socket, bind: 0.0.0.0:1700
In the user interface:
The MQTT Forwarder contains two “tabs” at the top of the page: “Slot 1” and “Mesh”
Both have the same configuration options, and I have enabled MQTT Forwarded in both sets of options. Even after a system reboot I don’t see it running.
Let me know what else I can provide to troubleshoot.