Skip to content

Commit 619d1eb

Browse files
activiteOCRbrocaar
authored andcommitted
Update Kerlink Wirnet IoT station documentation (#146)
1 parent 1567e07 commit 619d1eb

File tree

1 file changed

+59
-8
lines changed

1 file changed

+59
-8
lines changed

docs/content/gateway/kerlink.md

Lines changed: 59 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,80 @@ menu:
1515
The Kerlink IOT station has a mechanism to start "custom" application on boot.
1616
These steps will install the LoRa Gateway Bridge ARM build on the Kerlink.
1717

18-
1. Create the the directories needed:
18+
1. Add the Semtech Packet Forwarder (SPF) depending on version of your Wirnet station.
19+
20+
Semtech Packet Forwarder v3.1.0-klk16 (May 2018):
21+
This Packet forwarder is only compatible with HAL 4.1.3-klk8, with firmware v3.x and upper and with 27 dBm Wirnet™ stations.
22+
(dota_spf_3.1.0-klk16_4.1.3-klk8_wirnet.tar.gz)
23+
24+
Semtech Packet Forwarder v3.1.0-klk11 (April 2017):
25+
Packet forwarder is only compatible with HAL 4.1.3.
26+
The packet forwarder source code is only compatible with firmware v2.2 and upper. This source is only compatible with 27 dBm Wirnet™ stations.
27+
Packet Forwarder - DOTA.
28+
Wirgrid DOTA is for Wirgrid v2.x Firmware (dota_spf_3.1.0-klk11_4.1.3-klk3_wirgrid_31_03_2017.tar.gz).
29+
Wirnet DOTA is for Wirnet v3.x Firmware (dota_spf_3.1.0-klk11_4.1.3-klk3_wirnet_31_03_2017.tar.gz).
30+
31+
Please refer to the [Kerlink wiki](http://wikikerlink.fr/lora-station/) for the complete procedure as well as to recover the dota_spf_xxx files.
32+
33+
2. Untar the dota_spf_xxx.tar.gz (example):
34+
{{<highlight bash>}}
35+
root@Debian02:~# tar zxvf dota_spf_3.1.0-klk11_4.1.3-klk3_wirgrid_31_03_2017.tar.gz
36+
./
37+
./end_dota.sh
38+
./mnt/
39+
./mnt/fsuser-1/
40+
./mnt/fsuser-1/spf/
41+
./mnt/fsuser-1/spf/etc/
42+
./mnt/fsuser-1/spf/etc/global_conf_US903.json
43+
./mnt/fsuser-1/spf/etc/global_conf_EU868.json
44+
./mnt/fsuser-1/spf/etc/global_conf_JP923.json
45+
./mnt/fsuser-1/spf/manifest.xml
46+
./mnt/fsuser-1/spf/bin/
47+
./mnt/fsuser-1/spf/bin/execute_spf.sh
48+
./mnt/fsuser-1/spf/bin/spf
49+
{{< /highlight >}}
50+
51+
3.Edit global_conf_XXXXX.json and add your gateway conf:
52+
{
53+
"gateway_conf": {
54+
"gateway_ID": "0000000000000000",
55+
"serv_port_up": 1700,
56+
"serv_port_down": 1700,
57+
"server_address": "localhost",
58+
"forward_crc_valid": true,
59+
"forward_crc_error": false,
60+
"forward_crc_disabled": true,
61+
"gps": true
62+
}
63+
}
64+
65+
4. Create the the directories needed:
1966
{{<highlight bash>}}
2067
mkdir -p /mnt/fsuser-1/chirpstack-gateway-bridge/bin
2168
{{< /highlight >}}
2269

23-
2. Download and extract the ChirpStack Gateway Bridge ARMv5 binary into the above
70+
5. Download and extract the ChirpStack Gateway Bridge ARMv5 binary into the above
2471
directory. See [downloads]({{< ref "/overview/downloads.md" >}}).
2572
Make sure the binary is marked as executable.
2673

27-
3. Save the following content as `/mnt/fsuser-1/chirpstack-gateway-bridge/start.sh`:
74+
6. Save the following content as `/mnt/fsuser-1/chirpstack-gateway-bridge/start.sh`:
2875
{{<highlight bash>}}
2976
#!/bin/bash
3077

3178
LOGGER="logger -p local1.notice"
3279

80+
cd /mnt/fsuser-1/spf/bin/.
81+
./execute_spf.sh
82+
3383
# mosquitto
3484
iptables -A INPUT -p tcp --sport 1883 -j ACCEPT
35-
36-
/mnt/fsuser-1/chirpstack-gateway-bridge/bin/chirpstack-gateway-bridge --mqtt-server tcp://YOURSERVER:1883 2>&1 | $LOGGER &
85+
cd /mnt/fsuser-1/chirpstack-gateway-bridge/bin/.
86+
./chirpstack-gateway-bridge --config /var/config/chirpstack-gateway-bridge.toml
3787
{{< /highlight >}}
3888

39-
Make sure to replace `YOURSERVER` with the hostname / IP of your MQTT
40-
broker. Also make sure the file is marked as executable.
89+
5.Add the chirpstack-gateway-bridge.toml according your setting (https://www.chirpstack.io/gateway-bridge/install/config/) in the /var/config/. directory.
4190

42-
4. Save the following content as `/mnt/fsuser-1/chirpstack-gateway-bridge/manifest.xml`:
91+
6. Save the following content as `/mnt/fsuser-1/chirpstack-gateway-bridge/manifest.xml`:
4392
{{<highlight xml>}}
4493
<?xml version="1.0"?>
4594
<manifest>
@@ -50,6 +99,8 @@ iptables -A INPUT -p tcp --sport 1883 -j ACCEPT
5099
</manifest>
51100
{{< /highlight >}}
52101

102+
Reboot your system.
103+
53104
## Kerlink iBTS
54105

55106
* [Product detail page: iBTS](https://www.kerlink.com/product/wirnet-ibts/)

0 commit comments

Comments
 (0)