RAK2247 Gateway User Guide
- June 3, 2024
- RAK
Table of Contents
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:
- RAK2247 WisLink LPWAN Concentrator
- mPCIe to USB Board
- A Windows/Mac OS/Linux Computer
What’s Included in the Package?
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.
-
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. -
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:
-
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”.Enter the RAK Folder through:
-
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. -
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) -
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.
-
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) NOTE: If you want packet forwarder to start on boot, you need to also add the lines below:
-
Save “install.sh” file and execute it in order to install:
-
Wait for the installation to complete. Using the commands below, go and run the newly created process (lora_pkt_fwd): NOTE:
If you added the additional lines in step 5 it will execute every time on boot. -
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.
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
- easyname | Domain geparkt
- GitHub - RAKWireless/rak_common_for_gateway
- rak_common_for_gateway/install.sh at master · RAKWireless/rak_common_for_gateway · GitHub
- mPCIe to USB Board – RAKwireless Store
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>