Getting Started Concepts The Things Stack Cloud The Things Stack Enterprise Integrations API Hardware
Get The Things Stack

Hardware

    Overview
  • Devices
  • Gateways
    • Concepts
    • Models
      • Building a gateway with Raspberry Pi and IC880A
      • Browan Minihub Pro
      • Cisco IXM Wireless Gateway for LoRaWAN
      • CloudGate
      • COTX
      • Dragino LPS8N
      • Kerlink Wirnet iStation
      • Kerlink Wirnet Station
      • Laird Sentrius™ RG1xx LoRaWAN Gateway
      • MikroTik KNOT
      • MikroTik LtAP
      • MikroTik Routerboard wAP LoRa8 kit
      • Milesight UG56 LoRaWAN Gateway
      • Milesight UG65 LoRaWAN Gateway
      • Milesight UG67 LoRaWAN Gateway
      • Milesight UG85 LoRaWAN Gateway
      • Milesight UG87 LoRaWAN Gateway
      • MOKOSMART MKGW2-LW LoRaWAN® Gateway
      • MultiTech Conduit AEP
      • MultiTech Conduit mLinux
      • NASys LoRaWAN Outdoor Gateway
      • Peplink Balance 20X LoRaWAN (with FlexModule Mini)
      • RAK7240 WisGate Edge Prime
        • Connect RAK7240 in Basic Station Mode
        • Connect RAK7240 in Packet Forwarder Mode
      • Tektelic Kona Micro IoT LoRaWAN Gateway
      • The Things Indoor Gateway
      • The Things Indoor Gateway Pro
      • The Things Kickstarter Gateway
      • The Things Outdoor Gateway
      • Wifx L1
      • Wifx LORIX One
    • Troubleshooting Gateways
  • Works with The Things Stack

RAK7240 WisGate Edge Prime

The RAK7240 (WisGate Edge Prime) is a macro outdoor LoRaWAN® gateway, ideal for large scale deployments. It is highly reliable, customizable, and offers a WiFi, LTE and Ethernet backhaul.

This guide will help you set up the RAK7240 gateway to communicate over The Things Stack. Configuring and connecting RAK7249, RAK7268 and RAK7258 gateways to The Things Stack should be identical as for the RAK7240.

RAK7240 WisGate Edge Prime gateway

Read more about technical specifications in RAK7240 WisGate Edge Prime Datasheet document.

Prerequisites

  1. User account on The Things Stack with rights to create Gateways.
  2. RAK7240 LoRaWAN gateway connected to the Internet or your local network.
  3. A PC, tablet or mobile phone connected to the network (to configure the gateway).

Setting Up the Gateway

Detailed instructions on how to mount and protect your gateway, power it on, access it and connect it to the Internet are available in the Quick Start Guide provided by RAK.

We have included a few short steps to help you get started. For setting up the gateway we will be using the Web Management Platform.

Access the Gateway

You can access the RAK7240 gateway’s Web Management Platform in two ways - using gateway’s WiFi Access Point Mode or through gateway’s Ethernet port.

WiFi Access Point Mode

The gateway exposes a WiFi network with SSID format RAK7240_XXXX, where XXXX represents the last two bytes of the gateway’s MAC address. You will need no password to connect to this WiFi network.

To access the Web Management Platform, connect your PC/tablet/phone to this network and enter the default gateway IP address 192.168.230.1 in your browser.

Ethernet Port

Connect the Ethernet port of the gateway to the PoE port of the PoE injector with an Ethernet cable. Connect the LAN port of the PoE injector to your PC.

The default IP address used for accessing the Web Management Platform has a format 169.254.X.X, where X.X segment is mapped from the last four bits of the gateway’s MAC address. For example, if the last four bits of the MAC address are 0F:01, the IP address is 169.254.15.1.

Now manually configure the IP address of your PC/tablet/phone to be in the same network (e.g. 169.254.15.2) and access the Web Management Platform through your browser.

In both ways, after succesfully accessing the Web Management Platform, you will be presented with the log in screen as shown in the image below. To log in, use the username root and password root.

Web Management Platform

Access the Internet

Providing your gateway with the Internet access can be done in three ways - through WiFi or Ethernet/PoE connection to your router, or via cellular network.

WiFi Wireless Client

In the Web Management Platform, navigate to Network → Wi-Fi and enable the Wireless Client.

Click the Scan button to scan for available WiFi networks. Choose your router’s WiFi network, enter the Encryption method it is using and the Key.

Wireless Client enabled

After successfully connecting, your gateway’s WiFi interface will be assigned with an IP address by the DHCP server running on your WiFi router.

WAN Interface

Connect your gateway’s Ethernet port to the PoE port of the PoE injector with an Ethernet cable. Connect the LAN port of the PoE injector to your router.

The DHCP server running on the router will assign an IP address to your gateway’s WAN interface. You can find out this IP address by navigating to Network → WAN Interface.

Cellular Interface

Place a SIM card in your gateway’s Nano SIM Socket.

In the Web Management Platform, navigate to Network → Cellular Interface.

If needed, you will need to set APN, User and Password for your provider. Commonly, these parameters are automatically acquired.

If your SIM card needs a PIN, enter it in the PIN Code field.

It is also recommended to set the gateway metric. By increasing the gateway metric, you are lowering the priority of using the specific interface. Since using cellular backhaul can be limiting or expensive, the gateway metric for cellular interface should be the highest one.

The IP address of your gateway will be shown under Status.

Cellular interface settings

Configuring LoRaWAN Network Settings

In the Web Management Platform, navigate to LoRa Network → Network Settings.

RAK7240 can operate in three modes - Network Server, Basic Station and Packet Forwarder. The available network settings depend on which Mode you choose. For this guide, Network Server mode is not relevant. Continue reading to learn to connect RAK7240 to The Things Stack using Basic Station mode or Packet Forwarder mode.

Registration

Create a gateway on The Things Stack by following the instructions for Adding Gateways.

You can find the Gateway EUI under LoRa Network → Network Settings → LoRaWAN Network Settings once you successfully access the Web Management Platform.

Connect RAK7240 in Basic Station Mode

RAK7240’s Basic Station mode utilizes the LoRa Basics™ Station protocol. As part of the Basic Station mode, RAK7240 supports two LoRa Basics™ Station subprotocols - LNS and CUPS. Follow this section to learn how to connect to The Things Stack Network Server using this mode.
Read

Connect RAK7240 in Packet Forwarder Mode

RAK7240’s Packet Forwarder mode utilizes the Semtech UDP Packet Forwarder protocol. Follow this section to learn how to connect to The Things Stack Network Server using this mode.
Read
← Peplink Balance 20X LoRaWAN (with FlexModule Mini) Connect RAK7240 in Basic Station Mode →

On this page

  • Prerequisites
  • Setting Up the Gateway
  • Registration

Sections

Getting Started

Concepts

The Things Stack Cloud

The Things Stack Enterprise

Integrations

API

Hardware

Sitemap

View our Sitemap

Contributing

GitHub

About Us

The Things Industries