Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.
/ rak831-gateway Public archive

Reference setup for RAK831 gateways running The Things Network

License

Notifications You must be signed in to change notification settings

kuanyili/rak831-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Things Network: RAK831-based gateway

Reference setup for The Things Network gateways based on

Setup based on Raspbian image

  • Download Raspbian Stretch Lite

  • Follow the installation instruction to create the SD card

  • Enable SSH on a headless Raspberry Pi

  • 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)
  • 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

Update

If you have a running gateway and want to update, simply run the installer again:

$ cd ~/rak831-gateway
$ git pull
$ sudo ./install.sh

About

Reference setup for RAK831 gateways running The Things Network

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published