2019.3.14
Note: We've released a new firmware for RAK831 and RAK2245 which is the next generation hardware of RAK831, based on Raspbian OS. Please check this link: https://github.com/RAKWireless/RAK2245-RAK831-LoRaGateway-RPi-Raspbian-OS
From now on, this repository will be closed.
ttn_gateway based on the latest SX1301 driver lora_gateway v5.0.1 and semtech packet_forwarder v4.0.1
step1 : Download and install Raspbian Stretch LITE
step2 : Clone the installer and start the installation
$ git clone https://github.com/RAKWireless/RAK831-LoRaGateway-RPi.git ~/rak831-loragateway
$ cd ~/rak831-loragateway
$ sudo ./install.sh
step3 : Next you will see some messages as follow. Just hit the Enter key to keep default or enter your information if you want.
Host name [ttn-gateway]:
Descriptive name [ttn-rak831]:
Latitude [0]:
Longitude [0]:
Altitude [0]:
step4 (Optional):If GPS is connected to gateway, after system restart, you must modify /opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/global_conf.json and add the following content if the "gateway_conf" item does not contain them. You must reboot gateway after modify the global_conf.json.
"gateway_conf": {
"gps": true,
"gps_tty_path": "/dev/ttyAMA0",
"fake_gps": false,
"ref_latitude": 10,
"ref_longitude": 20,
"ref_altitude": -1
}
step5 : Now you have a running gateway after restart!