Skip to content

Latest commit

 

History

History
111 lines (79 loc) · 3.83 KB

README.md

File metadata and controls

111 lines (79 loc) · 3.83 KB

rak_common_for_gateway

Introduction

The aim of this project is to help users set up a LoRa network easily. The User Guide can be get from our Web.

Supported platforms

This project currently provides support for the below platforms.

  • RAK831
  • RAK833(USB/SPI)
  • RAK2245
  • RAK2247(USB/SPI)
  • RAK7243/RAK7244
  • RAK2246
  • RAK2287

Changelog

2020-07-09 V4.2.3

  • 1.Some naming changes.

2020-06-28 V4.2.2

  • 1.Fix a display issue with gateway-config.
  • 2.Delete the temperature printing of RAK2287.

2020-05-02 V4.2.1

  • 1.Added support for RAK2287 spi version.

2020-02-14 V4.2.0

  • 1.Added support for RAK2246 spi version.
  • 2.Fix the bug that the internet cannot be accessed after ppp0 redial.
  • 3.install.sh can pass --help parameter to see more installation information.
  • 4.Install the latest version of chirpstack by default.
  • 5.gateway-version print more information.
  • 6.gateway-config and gateway-version show the actual gateway_id.
  • 7.Create a rak_ap file in the /boot directory to restore to ap mode.
  • 8.Modify the global_conf.json file of 7246 to make the transmit power more accurate.
  • 9.When there is no match for tx power, the nearest smaller power will be used.Semtech UDP (legacy) packet forwarder
  • 10.Delete default DNS(8.8.8.8, 223.5.5.5), the gateway will use the DNS assigned by the router to which it is connected.
  • 11.In case of GPS connection, automatically change the system time to GPS time.

2019-12-17 V4.1.1

  • Added support for rak2247/rak833 spi version.

2019-12-02

  • Fix a bug. There is a mistake word "diable" in rak/gateway-config script, line 272, it should be do_ChirpStack disable.

2019-11-19 V4.1.0

  • 1.LoRaServer changed its name to ChirpStack.
  • 2.ChirpStack turns off ADR by default.
  • 3.Unconfigure the ip of eth0 to 192.168.10.10.
  • 4.Users can change the gateway_id in local_conf.json.
  • 5.Increase i2c rate for rak7243.
  • 6.Install chirpstack only on Raspberry Pi 3 and Raspberry Pi 4. Pi zero can't run ChirpStack.
  • 7.In the AP mode, the gateway IP address is 192.168.230.1.

2019-09-19 V4.0.0

  • Use lan0's mac address when eth0 does not exist.

2019-05-24 V2.9

  • 1.Multiple models are integrated with one common version.
  • 2.Upgrade LoRa server to 3.0.

Installation procedure

step1 : Download and install Raspbian Buster LITE

step2 : Use "sudo raspi-config" command, enable spi and i2c interface, disable login shell over serial and enable serial port hardware.

step3 : Clone the installer and start the installation (More installation options can be found in "sudo ./install.sh --help").

  $ sudo apt update; sudo apt install git -y
  $ git clone https://github.com/RAKWireless/rak_common_for_gateway.git ~/rak_common_for_gateway
  $ cd ~/rak_common_for_gateway
  $ sudo ./install.sh

step4 : Next you will see some messages as follow. Please select the corresponding hardware model.

  Please select your gateway model:
  *	1.RAK831
  *	2.RAK2245
  *	3.RAK7243/RAK7244 no LTE
  *	4.RAK7243/RAK7244 with LTE
  *	5.RAK833(USB)
  *	6.RAK2247(USB)
  *	7.RAK833(SPI)
  *	8.RAK2247(SPI)
  *	9.RAK2246
  *	10.RAK2287
  Please enter 1-10 to select the model:

step5 : Wait a moment and the installation is complete.If your gateway uses a wired connection, please reconfigure the LAN's IP address using "sudo gateway-config" after the installation is complete.

step6 : For more other features, please use "sudo gateway-config".

Note: The following content is contributed by @x893:

For DietPi OS need add apt install build-essential net-tools -y in rak/install.sh (for example before apt install git ppp dialog jq minicom monit -y) and need check hciuart enabled because systemctl disable hciuart not installed and script fail.