User Tools

Site Tools


Sidebar

Kerlink Wiki Home Page

Home

Setups

General information

Wirnet™ iBTS information

Wirnet™ iFemtoCell information

Wirnet™ iFemtoCell-evolution information

Wirnet™ iStation information

System management

Network management

LoRa Features

KerOS customization

Support and resources



www.kerlink.com

wiki:spf

This is an old revision of the document!


Packet forwarder

What is the packet forwarder

The packet forwarder is a program running on the host of a Lora gateway. It forwards RF packets received by the gateway to a server through a IP/UDP link, and emits RF packets that are sent by the server.

Every X seconds the program displays statistics about the received and sent RF packets, and about the received and sent network datagrams. The program also send a few statistics to the server in JSON format.

For a full packet forwarder description and the way it works, read the “Semtech readme file” available in each packet forwarder resource page.

How to install the packet forwarder?

Step 1 - Choose the packet forwarder to install from the resource page. Choosing the last version of the packet forwarder is recommended.
Step 2 - Retrieve the current firmware and FPGA versions.
Step 3 - Check that they are compatible with the packet forwarder (from compatibility section of the packet forwarder page). If there are not update them (software updates page.).
Step 4 - Download the packet forwarder precompiled .ipk file.
Step 5 - Install the .ipk file using the instructions of the software updates page.

How to configure and monitor the packet forwarder?

  • The associated semtech HAL is indicated in the name of IPK:
    • packet-forwarder-v2_<version>-<HAL>_klk_lpbs.ipk

Due to firewall modification in firmware v3.3.3, the packet forwarders, version 5.1.0 and lower, need to be specially configurated for this firmware version.

Modify the firewall rules in the file /user/spf2/bin/execute_spf2.sh.
In files, the rules must be add with iptables -I command instead of iptables -A command.
The following commands will correctly adapt the script /user/spf2/bin/execute_spf2.sh:

sed -i "/null/ s/-A/-I/" /user/spf2/bin/execute_spf2.sh
/etc/init.d/firewall restart
monit restart spf2

wiki/spf.1520586410.txt.gz · Last modified: 2019/01/17 10:01 (external edit)