User Tools

Site Tools


wiki:keros_custo:keros_applications_configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:keros_custo:keros_applications_configuration [2022/10/24 16:47]
ehe [klk_apps_config]
wiki:keros_custo:keros_applications_configuration [2023/06/02 10:25] (current)
ehe
Line 61: Line 61:
 [[https://​wikikerlink.fr/​wanesy-ran/​doku.php?​id=wiki:​wiki3:​quickstart|WMC quickstart]] [[https://​wikikerlink.fr/​wanesy-ran/​doku.php?​id=wiki:​wiki3:​quickstart|WMC quickstart]]
 </​note>​ </​note>​
- 
-===== lorafwd_instance_manager ===== 
- 
-lorafwd_instance_manager is a script used to manage the CPF daemon lorafwd instances. The tool allows using several instances of lorafwd simultaneously. 
- 
-This script can be used to: 
-  * Add a lorafwd instance 
-  * Delete a lorafwd instance 
-  * Check if an instance exists 
-  * List the additional lorafwd instances 
- 
-By default there is no additional instance. Only one instance, called ''​lorafwd'',​ is used. 
- 
- 
-<​code>​ 
-Usage: lorafwd_instance_manager <​command>​ [<​args>​] 
- 
-Commands: 
-    add instance_name 
-        Add lorafwd instance with 
-    delete instance_name 
-        Delete additional lorafwd instance 
-    check instance_name 
-        Check if additional lorafwd instance exists 
-    list 
-        List lorafwd instances 
-</​code>​ 
  
 ===== Connect a Wirnet i-series gateway to The Things Network ===== ===== Connect a Wirnet i-series gateway to The Things Network =====
Line 106: Line 79:
 ===== Connect a Wirnet i-series gateway to ChirpStack ===== ===== Connect a Wirnet i-series gateway to ChirpStack =====
  
-Download ChirpStack gateway bridge ipk file: chirpstack-gateway-bridge_3.13.1-r1_klkgw.ipk +See on [[https://www.chirpstack.io/​docs/chirpstack-mqtt-forwarder/install/​kerlink.html|ChirpStack]]
-[[https://artifacts.chirpstack.io/​vendor/kerlink/​keros-gws/|click here]].+
  
-Then open the Web interface of your gateway and add the ChirpStack bridge by drag & dropping it in the Administration Update menu. +===== Connect ​more than one Packet Forwarder ===== 
- +Multiple instance of lorafwd can be used using [[wiki:lora:multiforwarder|lorafwd_instance_manager]]
- +
-Connect ​over SSH and activate the CPF on ChirpStack server. +
-<​code>​ +
-klk_apps_config --activate-cpf --lns-server 127.0.0.1 --lns-dport 1700 --lns-uport 1700 +
-</​code>​ +
- +
-In /​etc/​chirpstack-gateway-bridge/​chirpstack-gateway-bridge.toml , add ChirpStack IP server  +
-<​code>​ +
-# Generic MQTT authentication. +
-[integration.mqtt.auth.generic] +
-# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws) +
-server="​tcp://​127.0.0.1:​1883"​ +
-</​code>​ +
- +
-Replace 127.0.0.1 with the address of your server +
- +
-Restart chirpstak bridge +
-<​code>​ +
-monit restart chirpstack-gateway-bridge +
-</​code>​+
  
 +To configure one you will need to specify the name of the instance using the -i flag in addition of the other parameter for the address and ports:
 +<​code>​klk_apps_config --activate-lorafwd -i second_instance --lns-server second_instance.url --lns-dport 1700 --lns-uport 1700</​code>​
  
  
  
  
wiki/keros_custo/keros_applications_configuration.1666622849.txt.gz · Last modified: 2022/10/24 16:47 by ehe