Difference between revisions of "LoRaGateway"

From RevSpace
Jump to navigation Jump to search
(Update gateway location)
Line 1: Line 1:
 
   {{Project
 
   {{Project
 
   |Name=LoRaGateway
 
   |Name=LoRaGateway
   |Picture=KrhFBxL.jpg
+
   |Picture=LoRaGateway-Dak-Overgoo.jpeg
 
   |Omschrijving=Een LoRa gateway voor the-things-network
 
   |Omschrijving=Een LoRa gateway voor the-things-network
 
   |Status=Completed
 
   |Status=Completed
Line 18: Line 18:
 
=== Hardware ===
 
=== Hardware ===
 
It's a Kerlink, some essential properties:
 
It's a Kerlink, some essential properties:
* LoRaWAN EUI: 0000024B080606AC
+
* LoRaWAN EUI: <strike>0000024B080606AC</strike> revspace-kerlink
 
* eth0 MAC address: 02:4B:08:06:06:AC
 
* eth0 MAC address: 02:4B:08:06:06:AC
 
* Last known IPv4 in the RevSpace LAN: 10.42.45.15
 
* Last known IPv4 in the RevSpace LAN: 10.42.45.15
  
<strike>
+
The gateway is currently mounted on top of the roof.
The gateway itself is physically mounted in the ceiling of a disused lavatory on the second floor (with a broken light and a sign that says "Beware of the Leopard", just kidding).
 
It's connected to our discone antenna (Icom AH-7000).
 
</strike>
 
The gateway is mounted inside the Lounge of Space3.  
 
  
 
=== Configuration ===
 
=== Configuration ===
Configuration files for TTN in general can be found in /mnt/fsuser-1/thethingsnetwork
+
Configuration files for TTN in general can be found in /mnt/fsuser-1/ttn-packet-forwarder
  
 
The gateway is configured for NTP in /etc/ntp.conf to use X.nl.pool.ntp.org where X goes from 0 to 3.
 
The gateway is configured for NTP in /etc/ntp.conf to use X.nl.pool.ntp.org where X goes from 0 to 3.
  
The gateway has been configured for "poly"-packet forwarding.
+
<strike>The gateway has been configured for "poly"-packet forwarding.
 
This means it's not just sending data to TTN, but also to the gatewaystats.org website which gathers statistics about gateways and nodes
 
This means it's not just sending data to TTN, but also to the gatewaystats.org website which gathers statistics about gateways and nodes
(number of unique nodes per gateway, log of all received packets, etc.)
+
(number of unique nodes per gateway, log of all received packets, etc.)</strike>
 +
The gateway has been upgraded to the new [https://github.com/TheThingsNetwork/packet_forwarder packet forwarder]
  
 
=== Status and diagnostics ===
 
=== Status and diagnostics ===
 
Online status:
 
Online status:
* [https://staging.thethingsnetwork.org/gatewaystatus official TTN gateway status] page and search for 0000024B080606AC
 
* [https://gatewaystats.org/gateways/0000024b080606ac gateway stats page] (requires login). See also [https://www.thethingsnetwork.org/forum/t/monitoring-availability-of-lora-nodes/3121 this thread on the TTN forum].
 
 
* [http://ttnmapper.org/?gateway=0000024B080606AC&type=radar TTN mapper page]
 
* [http://ttnmapper.org/?gateway=0000024B080606AC&type=radar TTN mapper page]
* [http://ha-23.eradus.eu/croft.html Real-time map] using the 'Croft' backend
 
 
To see what the gateway is communicating with the TTN, run the following on the gateway:
 
<pre>
 
tcpdump -i eth0 -n -vvvX host router.eu.thethings.network
 
</pre>
 
This should show a packet once every 30 seconds with some stats.
 
 
You'll also see some JSON packets for each packet received.
 

Revision as of 16:25, 21 June 2017

Project LoRaGateway
LoRaGateway-Dak-Overgoo.jpeg
Een LoRa gateway voor the-things-network
Status Completed
Contact bertrik, User:Dave_o, Maxell
Last Update 2017-06-21

Introduction

This page is about a LoRa gateway at RevSpace configured for The-Things-Network (TTN), kindly provided by Dave_O.

With this piece of hardware we are able to receive LoRa packets and forward them to The Things Network.

The Things Network act as hub and collects all these packets from hundreds of receivers world-wide. Read more about their network on their wiki. Why do we "team up" with The Things Network? [1].

Hardware

It's a Kerlink, some essential properties:

  • LoRaWAN EUI: 0000024B080606AC revspace-kerlink
  • eth0 MAC address: 02:4B:08:06:06:AC
  • Last known IPv4 in the RevSpace LAN: 10.42.45.15

The gateway is currently mounted on top of the roof.

Configuration

Configuration files for TTN in general can be found in /mnt/fsuser-1/ttn-packet-forwarder

The gateway is configured for NTP in /etc/ntp.conf to use X.nl.pool.ntp.org where X goes from 0 to 3.

The gateway has been configured for "poly"-packet forwarding. This means it's not just sending data to TTN, but also to the gatewaystats.org website which gathers statistics about gateways and nodes (number of unique nodes per gateway, log of all received packets, etc.) The gateway has been upgraded to the new packet forwarder

Status and diagnostics

Online status: