Hello
I have a visibility (not connected, not seen) problem with Kerlink LoRa IoT Station in the Gateways console on TTN and sending data from Lora devices.
Kerlink version:
# get_version -u KERNEL_VER=3.10.104-3.10.104-klk7 PIC_VER=8.3 BOOTSTRAP_VER="" UBOOT_VER="U-Boot 2009.03-2009.03-klk1 (Jan 26 2018 - 12:04:27)" SCRIPT_VER=v1.0 INITRAMFS_VER=v1.3 FILESYSTEM_VER=2016.05v1.10 KNETD_VER="wirma2_v4.09 WAN_3.16 (Dec 23 2016-14:33:40)" PROD_FW=wirmaV2_wirnet_v3.3 #
I installed and configured The Things Network’s packet forwarder (dota_thethingsnetwork_v1.3_EU.tar.gz) and produsb_wirnet_v3.1.zip (from https://github.com/TheThingsNetwork/kerlink-station-firmware/tree/master/dota) by https://www.thethingsnetwork.org/docs/gateways/kerlink/config.html.
On the TTN page in the Gateway console, you can not see that “Kerlink LoRa IoT Station” was connected. No data is sent.
Also on port 1700 there is no data:
tcpdump -AUq port 1700
The firewall in the / etc / sysconfig / network file has been disabled. (FIREWALL = no).
Execute the script /mnt/fsuser-1/thethingsnetwork/poly-pkt-fwd.sh
returns the following result:
# ./poly-pkt-fwd.sh killall: poly_pkt_fwd: no process killed Loading "Spectral scan" FPGA firmware ... ERROR: lgw_fpga_program() did not return SUCCESS *** Poly Packet Forwarder for Lora Gateway *** Version: 2.1.0 *** Lora concentrator HAL library version info *** Version: 3.1.0; Options: native; *** INFO: Little endian host INFO: found global configuration file global_conf.json, parsing it INFO: global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parame ters INFO: lorawan_public 1, clksrc 1 INFO: Configuring TX LUT with 16 indexes INFO: radio 0 enabled (type SX1257), center frequency 867500000, RSSI offset -166.000000, tx enabled 1 INFO: radio 1 enabled (type SX1257), center frequency 868500000, RSSI offset -166.000000, tx enabled 0 INFO: Lora multi-SF channel 0> radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12 INFO: Lora multi-SF channel 1> radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12 INFO: Lora multi-SF channel 2> radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12 INFO: Lora multi-SF channel 3> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12 INFO: Lora multi-SF channel 4> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12 INFO: Lora multi-SF channel 5> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12 INFO: Lora multi-SF channel 6> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12 INFO: Lora multi-SF channel 7> radio 0, IF 400000 Hz, 125 kHz bw, SF 7 to 12 INFO: Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7 INFO: FSK channel> radio 1, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway para meters INFO: gateway MAC address is configured to 0000024B080E100A INFO: server hostname or IP address is configured to "router.eu.thethings.network" INFO: upstream port is configured to "1700" INFO: downstream port is configured to "1700" INFO: downstream keep-alive interval is configured to 10 seconds INFO: statistics display interval is configured to 30 seconds INFO: upstream PUSH_DATA time-out is configured to 100 ms INFO: packets received with a valid CRC will be forwarded INFO: packets received with a CRC error will NOT be forwarded INFO: packets received with no CRC will NOT be forwarded INFO: GPS serial port path is configured to "/dev/nmea" INFO: GPS is disabled INFO: Upstream data is enabled INFO: Downstream data is enabled INFO: Ghoststream data is disabled INFO: Radiostream data is enabled INFO: Statusstream data is enabled INFO: Beacon is enabled INFO: Monitor is enabled INFO: found local configuration file local_conf.json, parsing it INFO: redefined parameters will overwrite global parameters INFO: local_conf.json does not contain a JSON object named SX1301_conf INFO: local_conf.json does contain a JSON object named gateway_conf, parsing gateway param eters INFO: gateway MAC address is configured to 0000024B080E100A INFO: server hostname or IP address is configured to "router.eu.thethings.network" INFO: upstream port is configured to "1700" INFO: downstream port is configured to "1700" INFO: packets received with a valid CRC will be forwarded INFO: packets received with a CRC error will NOT be forwarded INFO: packets received with no CRC will be forwarded INFO: GPS is enabled INFO: Upstream data is enabled INFO: Downstream data is enabled INFO: Ghoststream data is disabled INFO: Radiostream data is enabled INFO: Statusstream data is enabled INFO: Beacon is enabled INFO: Monitor is enabled INFO: [main] TTY port /dev/nmea open for GPS synchronization INFO: [main] Starting the concentrator ERROR: [main] failed to start the concentrator
There are two errors:
ERROR: lgw_fpga_program() did not return SUCCESS
ERROR: [main] failed to start the concentrator
Is the error “ERROR: [main] failed to start the concentrator” is a problem through which Kerlink Gateway can not connect to TTN?
How can this problem be solved to properly configure the device with TTN service?