LoRaGateway: Difference between revisions

From RevSpace
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 10: Line 10:


=== Introduction ===
=== Introduction ===
This page is about a LoRa gateway at RevSpace configured for the-things-network (TTN), kindly provided by Dave_O.
This page is about a LoRa gateway at RevSpace configured for [https://www.thethingsnetwork.org/ The-Things-Network (TTN)], kindly provided by Dave_O.


It's a Kerlink, some essentials properties:
=== Hardware ===
It's a Kerlink, some essential properties:
* LoRaWAN EUI: 0000024B080606AC
* LoRaWAN EUI: 0000024B080606AC
* 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


=== Hardware ===
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).
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").
It's connected to our discone antenna.
It's connected to our discone antenna.


Line 27: Line 27:
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 forward, also sending it's data to the gatewaystats.org website where statistics are kept
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 where statistics are kept
(number of unique nodes, log of all received packets, etc.)
(number of unique nodes, log of all received packets, etc.)



Revision as of 09:16, 10 October 2016

Project LoRaGateway
Nog geen plaatje.png
Een LoRa gateway voor the-things-network
Status In progress
Contact bertrik, User:Dave_o, Maxell
Last Update 2016-10-10

Introduction

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

Hardware

It's a Kerlink, some essential properties:

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

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.

Configuration

Configuration files for TTN in general can be found here:

  • in /mnt/fsuser-1/thethingsnetwork

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 where statistics are kept (number of unique nodes, log of all received packets, etc.)

Status and diagnostics

Online status:

To see what the gateway is communicating with the TTN, run the following on the gateway:

tcpdump -i eth0 -n -vvvX host router.eu.thethings.network

This should show a packet once every 30 seconds with some stats.

You'll also see some JSON packets for each packet received.