Reference setup for The Things Network gateways based on
- Hardware: Raspberry Pi with RAK831 concentrator connected through adapter board.
- Software: Semtech gateway driver and packet forwarder
- Configuration: The Things Network Master Gateway Configurations
-
Download Raspbian Stretch Lite
-
Follow the installation instruction to create the SD card
-
Use
raspi-config
utility to$ sudo raspi-config
- Enable SPI (
5 Interfacing Options -> P4 SPI
) - Enable SSH (
5 Interfacing Options -> P2 SSH
) - Set hostname (
2 Network Options -> N1 Hostname
) - Change locale (
4 Localisation Options -> I1 Change Locale
) - Change timezone (
4 Localisation Options -> I2 Change Timezone
)
- Enable SPI (
-
Make sure you have an updated installation and install
git
:$ sudo apt update $ sudo apt dist-upgrade $ sudo apt install git
-
Clone the installer and start the installation
$ git clone https://github.com/kuanyili/rak831-gateway.git ~/rak831-gateway $ cd ~/rak831-gateway $ sudo ./install.sh
-
Register gateway via Semtech UDP packet forwarder
- Gateway's EUI can be found in
/opt/ttn-gateway/conf/local_conf.json
- Gateway's EUI can be found in
If you have a running gateway and want to update, simply run the installer again:
$ cd ~/rak831-gateway
$ git pull
$ sudo ./install.sh