sm6uax / RAK831-LoRaGateway-RPi

ttn_gateway based on semtech packet_forwarder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RAK831-LoRaGateway-RPi

ttn_gateway based on the latest SX1301 driver lora_gateway v5.0.1 and semtech packet_forwarder v4.0.1

Installation procedure

step1 : Download and install Raspbian Stretch LITE

step2 : Clone the installer and start the installation

  $ git clone https://github.com/sm6uax/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 [yodiwo-gateway]:
  Descriptive name [yodiwo-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!

About

ttn_gateway based on semtech packet_forwarder


Languages

Language:Shell 100.0%