Just make sure your PI is in the supported hardware list.
If thats not applicable for you you can download Concentratord and the MQTT forwarder yourself onto your Ubuntu install. Will be a considerable amount more configuration and manual work but should function.
based on OpenWRT.
I dont know why it has been decided that OpenWRT is better for Gateway OS…
And I hope that its possible to install all components of GW on Ubuntu.
do you mean that I need download some sources and build it manually?
where I can find it? is there some instructions?
I have no any gripes)
But isn’t it better when you have several different options?
I just want to continue use my RPI with ubuntu and install “full stack” of Chirpstack to check it with different LoRaWAN HAT’s as Gateways for LoraWAN Nodes.
As for OpenWRT - I use it a lot and really like how it works in “router mode”
but real linux OS still better for using.
It should be somewhat straightforward to setup Chirpstack on a Raspberry Pi. Running Ubuntu is not that relevant for the task.
I setup Chirpstack on a custom gateway, running custom Linux where the Lora concentrator runs alongside chirpstack. These are the steps I took:
1 - You will need the following binaries/applications, all of them will run on raspberry pi:
Lora concentrator software:
Choose your Lora concentrator software (Semtech UDP packet forwarder, basicstation or concentratord).
You will need to understand how each work. For example they use SPI port for communication. You need to know how to write their configuration files for settings and selecting SPI port. Semtech packet forwarder uses UDP for communication and basicstation uses websockets.
Mosquitto broker
The broker is responsible for handling messages to/from chirpstack-gateway-bridge/chirpstack
Postgres/SQLite
Chirpstack can work with both postgres and sqlite databases. I would chose sqlite since its more lightweight for embedded system like raspberry pi.
1 - Install all those binaries on Raspberry Pi. For redis, sqlite and mosquitto you probably can use “apt install” sudo apt install mosquitto redis-server libsqlite3-dev
For semtech packet forwarder or basicstation, you need to compile them yourself.
For chirpstack you can either download armv7 binary or cross compile with sqlite support. For the gateway bridge, you can download pre compiled binary from chirpstack website.
That is why I’m using OpenWrt OpenWrt provides an unified configuration interface, which makes easy to provide a web-interface (using LuCI). This system also handles reloading of services when changes are made (either through the web-interface or using the uci CLI utility).
An other reason for choosing OpenWrt is that these are more firmware images. E.g. there is one “ROM” partition which contains the firmware and on top of that there is an “overlayFS” which contains the changes made by the user (like config changes, additional software that has been installed). A factory-reset therefore means flushing the “overlayFS” partition (e.g. executing firstboot && reboot) after which you have a clean state. A firmware update means that the “ROM” partition gets completely overwritten. Therefore the only difference between an update and a clean install of the new version is if the "
overlayFS" partition is retained or not.
And then of course OpenWrt has a lower footprint and it optimized for low or no periodic writes to the flash storage. This made it possible to also port the Gateway OS to some of the RAK gateways.
Anyway, you should be able to install the binaries yourself on a Raspberry Pi Debian / Ubuntu environment, but that means you need to do a bit more work.