RAK7431

Requirements

Table of Contents

  1. Setup the gateway connections

  2. Get the gateway's EUI

  3. Register the gateway on The Things Network LNS

  4. Feedback, suggestions and related articles

1. Setup the gateway connections

Proceed to connect the Antenna to the gateway before any other connection, then you can power it via the included power cable or through PoE, you can choose the option that best suits you.

Once the gateway is powered, connect it to your LAN's router by using an Ethernet cable, the LAN port status LED should start blinking.


Pro Tip: Refer to the following link if you want to know more about the device specifications.


2. Get the gateway's EUI

You'll need your gateway's IP address in order to access it. This guide shows the process for Linux based OS, however the rest of the article applies equally independently of the OS.

Start by opening your Terminal console and typing the following command:

ip addr

Search for your wireless interface among the displayed text, it should be named something like "wlp4s0", then copy the IP address that is shown:

Now, using the IP address obtained previously, you are going to run the following command:

sudo nmap -sn <your ip address goes here>

This will search for all the devices connected to your network and so will let you know the IP address of your RAK gateway, it might take a minute as much, so let it run.

Once it's done, it should look like the following image, there look for a device labeled "shenzen RAKwireless technology" and copy its IP address, this should be your gateway's address:

Open your web browser and type the gateway's IP address, after doing so, you'll be asked for an username and a password, just type "root" in both fields and then you'll be logged in into the gateway's configuration tool.

After logging in, look at the left side panel and hoover the mouse pointer over "LoRa Network" and click on "Network Settings", there you'll be able to see the gateway's EUI, copy it since you are going to need it for the next step.

3. Register the gateway on The Things Network LNS

Go to your TTN console, select your region and then "Go to gateways", then at the right top part of the screen you'll be able to see a blue button displaying "+ Register gateway" click on it:

When the page loads, there will be a text field in which you can type your gateway's EUI, do so and then hit the "Confirm" button. After doing so, a few options will become available for you to edit them:

  • Gateway ID: you can set whatever identifier you wish, however, it should be unique as well as meaningful. In this guide it was set to "eui-ac1f09fffe057e1a-rak-7268"

  • Gateway name: same as the previous one, only that this one does not have to be unique. In this guide it was set to "rak-7268"

  • Frequency plan: Choose your frequency plan according to your country regulations. Here you can take a look at each country's allowed band spectrum for LoRa applications. This guide was developed in a country which allows the use of the AUS915 band, so that is why this one was chose. Also, select the channel used by TTN independently of your region. E.g., United States 902-928 MHz, FSB 2 (used by TTN), Australia 915-928 MHz, FSB 2 (used by TTN)

Leave all the other settings as they are by default and then hit "Register gateway". After doing so, you'll be taken to your new gateway overview page, once there, copy the "Gateway Server Address" since it will be used in the next step:

Then head back to the gateway's web configuration utility, specifically to the "Network settings" exactly like you did on the first section of this guide, there you are going to edit the following settings:

  • Mode: Packet Forwarder

  • Log Level: NOTICE

  • Protocol: Semtech UDP GWMP Protocol

  • Server Address: here goes the "Gateway Server Address" that you just got from TTN

  • Server Port Up: 1700

  • Server Port Down: 1700

When you are done, hit "Save & Apply"

Then head over to "Channel Plan" and edit the following settings:

  • Region: select this according to your region as mentioned in previous steps.

  • Frequency Sub-Band: channel 8 ~ channel 15, channel 65

Click on "Save & Apply" to save this settings.

After doing so, head back to TTN console and take a look at the gateway that you just set up, you should be able to see data streaming through the gateway:

4. Feedback, suggestions and related articles

Feel free to post questions or suggestions in our community portal, or contact us via support@ubidots.com.

Other users also found helpful...

Did this answer your question?