Giter VIP home page Giter VIP logo

rak2245-rak831-loragateway-rpi-raspbian-os's Introduction

This version is no longer supported and updated,For new versions, please go to rak_common_for_gateway

RAK2245-RAK831-LoRaGateway-RPi-Raspbian-OS

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

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.

  • RAK2245 + RPi
  • RAK831 + RPi
  • RAK7243 without LTE

Changelog

2019-06-18 RAK V2.8

  • 1.Add eth0 config
  • 2.After the network is disconnected, lora_pkt_fwd restarts
  • 3.Modify loraserver.toml for us915 and cn 470
  • 4.Streamlined local_conf.json files

2019-05-06 RAK V2.5

  • Add AP mode

2019-04-26 RAK V2.4

  • Add loraserver

2019-03-19 RAK V2.2

  • Initial version

Precompiled Firmware image

If you want to use a precompiled firmware image directly, please download the latest one from RAK website: https://www.rakwireless.com/en/download/LoRa/RAK2245-Pi-HAT#Firmware

Install by yourself

If you want to install from zore by yourself, please do as the following steps:

step1 : Download and install Raspbian Stretch LITE

step2 : Use "sudo raspi-config" command, enable spi interface

step3 : Clone the installer and start the installation

  $ git clone https://github.com/RAKWireless/RAK2245-RAK831-LoRaGateway-RPi-Raspbian-OS.git ~/RAK2245-RAK831-LoRaGateway-RPi-Raspbian-OS
  $ cd ~/RAK2245-RAK831-LoRaGateway-RPi-Raspbian-OS
  $ sudo ./install.sh

step4 : 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 [rak-gateway]:
  Latitude [0]: 
  Longitude [0]: 
  Altitude [0]: 

step5 : Now you have a running gateway after restart!

step6 (Optional):You can use the command "sudo gateway-config" to select other bands if your hardware supports.

How to use it?

Please have a look at the getting start document on RAK website: https://www.rakwireless.com/en/download/LoRa/RAK2245-Pi-HAT#Application-Notes

rak2245-rak831-loragateway-rpi-raspbian-os's People

Contributors

fomi-rak avatar rakzhuqi avatar

Stargazers

yamabush1 avatar Dave Spector avatar Mark Delaportas avatar Alex Stout avatar  avatar  avatar

Watchers

James Cloos avatar

rak2245-rak831-loragateway-rpi-raspbian-os's Issues

404 when opened the img download url, url is https://www.rakwireless.com/en/download/LoRa/RAK2245-Pi-HAT#Firmware

title: 404 when opened the img download url, url is https://www.rakwireless.com/en/download/LoRa/RAK2245-Pi-HAT#Firmware

details:
zh-cn help documents (https://downloads.rakwireless.com/cn/LoRa/LoRaWAN%E5%BC%80%E6%BA%90%E7%B3%BB%E7%BB%9F%E5%BC%80%E5%8F%91%E5%A5%97%E4%BB%B6/%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97/%E6%A0%91%E8%8E%93%E6%B4%BE%E7%BD%91%E5%85%B3%E5%BF%AB%E9%80%9F%E4%BD%BF%E7%94%A8%E6%89%8B%E5%86%8C.pdf) chapter 2 has description as:

  1. 在 RAK 官方网站上下载最新的网关镜像: https://www.rakwireless.com/en/download/LoRa/RAK2245-Pi-HAT#Firmware

when open the download url in web browser , occure 404

this repo branch readme has the same url description

result:
404
The page you are looking for might have been removed had its name changed or is temporarily unavailable.

您要查找的页面的名称可能已被删除或暂时不可用。

HOME PAGE 主页
screenshot

AU915 Sub Band Select

After installing on RAK831 Pilot Gateway and configuring via gateway-config I noticed there was no way to configure the sub band as is possible with LoRaServer-OS direct from Orne Brocaar.

To get this gateway to work correctly I had to manually edit the global.conf file for the required sub band used here in Australia.

From Orne Broccar github you will notice AU/US 915MHz sub band config files:

An update to the gateway-config scripts to allow this functionality would be helpful.

eth0 config do not compatible with /23 subnet

The eth0 script will read the RPI dhcp config and static it with wrong gateway and subnet setting if your gateway is not on .1 and subnet is not /24.

For example, your Rpi gateway get a dhcp ip for 172.16.9.3
The script will set your Rpi eth0 config as follow:
IP: 172.16.9.3
Gateway: 172.16.9.1

If fact, my gateway is 172.16.8.1.
So the common scenario is you got the gateway software compiled then your gateway cannot reach internet.

Solution is to revert or correct the eth0 setting in /etc/dhcpcd.conf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.