@@ -54,44 +54,49 @@ iptables -A INPUT -p tcp --sport 1883 -j ACCEPT
5454
5555* [ Product detail page: iBTS] ( https://www.kerlink.com/product/wirnet-ibts/ )
5656
57+ ** Note:** These steps have been tested using the _ KerOS firmware v4.1.6_ .
58+ Please make sure you have this version or later installed. You must also
59+ install the Kerlink Common Packet Forwarder.
60+
5761### SSH into the gateway
5862
5963The first step is to login into the gateway using ssh:
6064
6165{{<highlight bash >}}
62- sh root@GATEWAY-IP-ADDRESS
66+ ssh root@GATEWAY-IP-ADDRESS
6367{{</highlight >}}
6468
65- Please refer to the [ Kerlink iBTS wiki] ( http://wikikerlink.fr/wirnet-ibts/ )
69+ Please refer to the [ Kerlink wiki] ( http://wikikerlink.fr/wirnet-productline )
6670for login instructions.
6771
6872### Install IPK package
6973
7074Find the latest package at https://artifacts.loraserver.io/vendor/kerlink/ibts/
7175and copy the URL to your clipboard. Then on the gateway use ` wget ` to download
72- the package into a folder named ` /user/.updates ` . Example for ` lora-gateway-bridge_3.0.1-r1_klk_lpbs .ipk ` :
76+ the package into a folder named ` /user/.updates ` . Example for ` lora-gateway-bridge_3.3.0-r2_klk_lpbs .ipk ` :
7377
7478{{<highlight bash >}}
7579mkdir -p /user/.updates
7680cd /user/.updates
77- wget https://artifacts.loraserver.io/vendor/kerlink/ibts/lora-gateway-bridge_3.0.1-r1_klk_lpbs .ipk
81+ wget https://artifacts.loraserver.io/vendor/kerlink/ibts/lora-gateway-bridge_3.3.0-r2_klk_lpbs .ipk
7882{{</highlight >}}
7983
8084To trigger the iBTS gateway to install / update the package, run the following commands:
8185
8286{{<highlight bash >}}
87+ sync
8388kerosd -u
8489reboot
8590{{</highlight >}}
8691
87- Please refer to the [ Kerlink iBTS wiki] ( http://wikikerlink.fr/wirnet-ibts/ )
92+ Please refer to the [ Kerlink wiki] ( http://wikikerlink.fr/wirnet-productline )
8893for more information about installing and updating packages.
8994
9095### Edit the LoRa Gateway Bridge configuration
9196
9297To connect the LoRa Gateway Bridge with your MQTT broker, you must update
9398the LoRa Gateway Bridge configuration file, which is located at:
94- ` /user/lora-gateway-bridge/lora-gateway-bridge.toml ` .
99+ ` /user/etc/ lora-gateway-bridge/lora-gateway-bridge.toml ` .
95100
96101### (Re)start and stop commands
97102
@@ -114,20 +119,101 @@ monit restart lora-gateway-bridge
114119### Configure packet-forwarder
115120
116121You must configure the packet-forwarder on the gateway to forward its data to
117- ` 127.0.0.1 ` at port ` 1700 ` . The file ` /user/spf2/etc/config.json ` must contain the
118- following lines:
122+ ` 127.0.0.1 ` at port ` 1700 ` . The file ` /user/etc/lorafwd/lorafwd.toml ` must contain the
123+ following lines under the ` [ gwmp ] ` section:
124+
125+ {{<highlight toml >}}
126+ node = "127.0.0.1"
127+ service.uplink = 1700
128+ service.downlink = 1700
129+ {{</highlight >}}
130+
131+ After updating this configuration file, make sure to restart the ` lorafwd ` service:
119132
120- {{<highlight text >}}
121- "server_address": "127.0.0.1",
122- "serv_port_up": 1700,
123- "serv_port_down": 1700,
133+ {{<highlight bash >}}
134+ monit restart lorafwd
124135{{</highlight >}}
125136
126137## Kerlink iFemtoCell
127138
128139* [ Product detail page] ( https://www.kerlink.com/product/wirnet-ifemtocell/ )
129140
130- The installation steps to install the LoRa Gateway Bridge component are exactly
131- the same as for the iBTS gateway. The only difference is that the packages
132- are located at https://artifacts.loraserver.io/vendor/kerlink/ifemtocell/ .
141+ ** Note:** These steps have been tested using the _ KerOS firmware v4.1.6_ .
142+ Please make sure you have this version or later installed. You must also
143+ install the Kerlink Common Packet Forwarder.
144+
145+ ### SSH into the gateway
146+
147+ The first step is to login into the gateway using ssh:
148+
149+ {{<highlight bash >}}
150+ ssh root@GATEWAY-IP-ADDRESS
151+ {{</highlight >}}
152+
153+ Please refer to the [ Kerlink wiki] ( http://wikikerlink.fr/wirnet-productline )
154+ for login instructions.
155+
156+ ### Install IPK package
157+
158+ Find the latest package at https://artifacts.loraserver.io/vendor/kerlink/ifemtocell/
159+ and copy the URL to your clipboard. Then on the gateway use ` wget ` to download
160+ the package into a folder named ` /user/.updates ` . Example for ` lora-gateway-bridge_3.3.0-r2_klk_wifc.ipk ` :
161+
162+ {{<highlight bash >}}
163+ mkdir -p /user/.updates
164+ cd /user/.updates
165+ wget https://artifacts.loraserver.io/vendor/kerlink/ifemtocell/loraserver-gateway-bridge_3.3.0-r2_klk_wifc.ipk
166+ {{</highlight >}}
167+
168+ To trigger the iFemtoCell gateway to install / update the package, run the following commands:
133169
170+ {{<highlight bash >}}
171+ sync
172+ kerosd -u
173+ reboot
174+ {{</highlight >}}
175+
176+ Please refer to the [ Kerlink wiki] ( http://wikikerlink.fr/wirnet-productline )
177+ for more information about installing and updating packages.
178+
179+ ### Edit the LoRa Gateway Bridge configuration
180+
181+ To connect the LoRa Gateway Bridge with your MQTT broker, you must update
182+ the LoRa Gateway Bridge configuration file, which is located at:
183+ ` /user/etc/lora-gateway-bridge/lora-gateway-bridge.toml ` .
184+
185+ ### (Re)start and stop commands
186+
187+ Use the following commands to (re)start and stop the LoRa Gateway Bridge Service:
188+
189+ {{<highlight bash >}}
190+ # status
191+ monit status lora-gateway-bridge
192+
193+ # start
194+ monit start lora-gateway-bridge
195+
196+ # stop
197+ monit stop lora-gateway-bridge
198+
199+ # restart
200+ monit restart lora-gateway-bridge
201+ {{</highlight >}}
202+
203+ ### Configure packet-forwarder
204+
205+ You must configure the packet-forwarder on the gateway to forward its data to
206+ ` 127.0.0.1 ` at port ` 1700 ` . The file ` /user/etc/lorafwd/lorafwd.toml ` must contain the
207+ following lines under the ` [ gwmp ] ` section:
208+
209+ {{<highlight toml >}}
210+ node = "127.0.0.1"
211+ service.uplink = 1700
212+ service.downlink = 1700
213+ {{</highlight >}}
214+
215+ After updating this configuration file, make sure to restart the ` lorafwd ` service:
216+
217+ {{<highlight bash >}}
218+ monit restart lorafwd
219+ {{</highlight >}}
0 commit comments