Page 1
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.
Page 2
Documentation Center Figure 2: RAK2247 WisLink LPWAN Concentrator to a PCIe-to-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: clone https://github.com/RAKWireless/rak_common_for_gateway.git 3.
Page 3
You may also comment on the line below so the TTN address doesn't get replaced by localhost. # sed -i "s/^.*server_address.*$/\t\"server_address\": \"127.0.0.1\",/" $INSTALL_DIR/packet_forwa 6. If you are using the RAK2247 in a board that has a different pinout than the RAK2247 Pi Hat, replace the in the to the corresponding RESET pin.
Page 4
Documentation Center ../set_eui.sh packet_forwarder/lora_pkt_fwd/ ../update_gwid.sh packet_forwarder/lora_pkt_fwd/ ../start.sh packet_forwarder/lora_pkt_fwd/ mkdir -p /opt/ttn-gateway/ -rf packet_forwarder /opt/ttn-gateway/ NOTE: If you want packet forwarder to start on boot, you need to also add the lines below: ../ttn-gateway.service /lib/systemd/system/ systemctl enable ttn-gateway.service 8. Save “install.sh” file and execute it in order to install: sudo ./install.sh 9.
Page 5
Documentation Center pi@raspberrypi:~ $ service ttn-gateway status ● ttn-gateway.service - The Things Network Gateway Loaded: loaded (/lib/systemd/system/ttn-gateway.service; disabled; vendor preset: enabled) Active: active (running) since Fri 2020-10-09 17:50:55 BST; 1min 9s ago Main PID: (start.sh) Tasks: (limit: 2065) CGroup: /system.slice/ttn-gateway.service ├─721 /bin/bash /opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/start.sh └─769 ./lora_pkt_fwd Oct 09 17:52:00 raspberrypi ttn-gateway[721]: src/jitqueue.c:448:jit_print_queue(): INFO:...