RAK2247 Gateway User Guide

June 3, 2024
RAK

RAK LOGO

Documentation Center

RAK2247 Quick Start Guide

Prerequisites

What Do You Need?
Before going through each and every step in the installation and guide of the RAK2247 LPWAN Gateway, make sure to prepare the necessary items listed below:

  1. RAK2247 WisLink LPWAN Concentrator
  2. mPCIe to USB Board
  3. A Windows/Mac OS/Linux Computer

What’s Included in the Package?RAK2247 Gateway

Product Configuration

RAK2247 + x86 Linux PC
This section explains the basic steps on how to interface the RAK2247 WisLink LPWAN Concentrator with a Linux Operating System in a computer.

  1. Insert the RAK2247 mPCIe board into the USB carrier board and plugged into a free USB port of your PC. Your Linux PC should recognized it as a USB device.
    NOTE: If you want to connect the RAK2247 mPCIe board to the Linux PC directly, make sure to have the PERST# signal (Pin 22) pulled down.RAK2247
Gateway - USB board

  2. Open the command line then enter the command below in order to clone the Github repository that is required for the process to be completed:

  3. Get the name of the interface you are using to connect to the internet by typing the command: An example in Figure 2 shows the name of the wireless interface “wlx6045bdf0cf64”.RAK2247 Gateway - UNetworkEnter the RAK Folder through:RAK2247 Gateway - UNetwork F

  4. Next, you need to insert the name you got in Step 3 for your interface in the following files:
    rak_common_for_gateway/lora/set_eui.sh
    rak_common_for_gateway/lora/update_gwid.sh
    Then, replace the following line:GATEWAY_EUI_NIC=”eth0”
    With the line,
    GATEWAY_EUI_NIC=”wlx6045bdf0cf64h0”
    Again, the values are just an example. Remember to do this for all 3 files in step 4.

  5. Change the global_conf.json that will be copied during installation by replacing the global_conf.eu_863_870.json in the end of the (install.sh file)
    [https://github.com/RAKWireless/rak_common_for_gateway/blob/master/lora/rak2247_usb/install.sh] to one of those inside /global_conf or a custom one. (EU868 is the default)RAK2247 Gateway - FIG

  6. If you are using the RAK2247 in a board that has a different pinout than the RAK2247 Pi Hat, replace the SX1301_RESET_BCM_PIN in the rak_common_for_gateway/lora/start.sh to the corresponding RESET pin.RAK2247 Gateway - FIG 1

  7. Add the following lines of code at the end of “install.sh” file: ( In addition to inserting the name of the interface from the previous step)RAK2247 Gateway - FIG 2 NOTE: If you want packet forwarder to start on boot, you need to also add the lines below:RAK2247 Gateway - FIG 4

  8. Save “install.sh” file and execute it in order to install:RAK2247 Gateway - FIG 6

  9. Wait for the installation to complete. Using the commands below, go and run the newly created process (lora_pkt_fwd):RAK2247 Gateway - FIG 5 NOTE:
    If you added the additional lines in step 5 it will execute every time on boot.

  10.  To check if it is working, run sudo systemctl start ttn-gateway.service to start the service and check its status service ttn-gateway status . You should see something like the box below. Be aware that it may take some minutes to see your gateway as connected in TTN’s console.

RAK2247 Gateway - FIG 7

Congratulations! you should now see your Gateway in TTN!

Last Updated: 7/26/2021, 3:07:30 AM

Documents / Resources

| RAK RAK2247 Gateway [pdf] User Guide
RAK2247 Gateway, RAK2247, Gateway
---|---

References

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

RAK User Manuals

Related Manuals