chirpstack / chirpstack-mqtt-forwarder

ChirpStack MQTT Forwarder is a forwarder which can be installed on the gateway to forward LoRa data over MQTT.
MIT License
21 stars 12 forks source link

MQTT Forwarder request for MikroTik #55

Closed Sleeper67 closed 4 months ago

Sleeper67 commented 5 months ago

Hello,

this is a request for an MQTT forwarder to suit the MikroTik Gateways please.

Specifically RBwAPR-2nD_R11e-LoRa9

Thanks

brocaar commented 5 months ago

I don't think it is possible to install any custom software on the Mikrotik RouterOS, as well I don't think it is possible to get access to a shell (e.g. bash or sh) over SSH. If there is a possibility, could you please provide the details?

Sleeper67 commented 5 months ago

Hi Orne,

ok thanks, please let me check with MikroTik and my distributor. I do know they have on some of their routerOS v7 and above the ability to host Docker but will see if the LoRa specific Gateways can do this.

I thought you can SSH into it but let me report back .

Cheers

brocaar commented 4 months ago

Do you have any update on this? Else I will close this issue.

Sleeper67 commented 4 months ago

Hi Orne,

Apologies for the delay in getting back to this,

Theres also the ability with v7 to run docker containers, just not sure on if there's enough disk on MikroTik WAP8 or WAP9. https://help.mikrotik.com/docs/display/ROS/Container

RouterOS only has built-in MQTT functionality using: https://help.mikrotik.com/docs/display/ROS/MQTT

brocaar commented 4 months ago

Container package is compatible with arm arm64 and x86 architectures. Using of remote-image (similar to docker pull) functionality requires a lot of free space in main memory, 16MB SPI flash boards may use pre-build images on USB or other disk media.

The WAP8 and WAP9 are MIPS, so I don't think this will be an option.

Sleeper67 commented 4 months ago

Thanks Orne!

no problem, we got basic station working on it instead. So you can close this issue.

Also regarding ssh on how into MikroTik I have attached the CLI Screenshot 2024-05-10 at 11 11 36 PM

brocaar commented 4 months ago

Also regarding ssh on how into MikroTik I have attached the CLI

I also managed to SSH into the gateway before, but it only provided me with a CLI shell to configure MikroTik parameters, eg. I was unable to get access to a bash-like shell where I could execute just any command.