New MultiTech packet forwarder available

Did anyone tried this on Lorank8 ? :slight_smile:

Canā€™t you guess? Of course I didā€¦ (not these packages and installer as that would not work, however I have a build for Lorank8 around as well, configuration is a manual process)

Great job again! Iā€™ll look at this! :slight_smile:

Perfect, tested and works well. Thanks

I have pushed a new version of the package to github to fix issues with the gateway not booting past the forwarder startup script on network errors. To install it, just run

wget -k https://github.com/kersing/multitech-installer/raw/master/installer.sh

on the conduit to get the newest installer and run it. Answer ā€˜2) Noā€™ to the question if you want to update the configuration, wait while the new software is downloaded and started and you are done.

I have upgraded and will see how it goes. Thanks

So my gateway has run fine for a month and today it required the packet forwarder to be restarted. So there is still this same bug from the beginning hidden away somewhere :frowning:

Other users have confirmed there still is an issue. Iā€™m still trying to reproduce it that is the first step to be really able to resolve it permanently.

can you tell me where this log is supposed to be?
usually when i copy something from a console, i include the command and path for reference. basically i installed the new packet forwarder called ttn-pkt-fwd, i have configured the gateway id and key to match with TTN but it is still showing offline. I would love to take a look at the log file(s) but I canā€™t find them and Iā€™m not finding any info in the documentation.

/var/log/lora-pkt-fwd.log

2 Likes

Itā€™s not there:

admin@mtcdt:/var/log# /etc/init.d/ttn-pkt-fwd start
Starting ttn-pkt-fwd: OK
admin@mtcdt:/var/log#
admin@mtcdt:/var/log#
admin@mtcdt:/var/log# ls
app dmesg messages wtmp
boot lastlog mosquitto.log
admin@mtcdt:/var/log#

Sorry, that is different software, this thread is about the multi protocol packet forwarder, not the TTN forwarder. Iā€™m not involved with that software so I canā€™t advice you.

ok, i apologize then and i will continue my search to the correct packet forwarder. thanks anyways

I cannot get this to work with TTI network server which uses port:1882 not 1883.

Have tried modifying the *_conf.json files ā€œgateway_confā€: ā€¦serv_port_up/down etc, to serv_port_up":ā€œ1882ā€. In global/local config files. This doesnā€™t work, even if I remove the global_conf_src to prevent it overriding the config files.

 tcpdump -AUq port 1883 

Still shows traffic is on 1883 not 1882.

Is there anyway to change the port # without having to compile/make a new package?

The gateway is using the MTAC-LORA-H mCard which is SPI, therefore your @kersing previous legacy packet forwarder wouldnā€™t work, it works a charm with other gateways. This is AU915 (Australian) config. Tried re-flashing mLinux several times, and tried the Multitech forwarder.

Make sure you use at least r10 of the mp package (available at the installer repo in github) and append the port number to the address like bridge.eu.thethings.network:1882

The older (poly) packet forwarder does not support SPI devices. The SPI devices are a recent addition to the MultiTech line-up. The last build of the old software was created long before the devices became available.

Do we know if the latest MultiTech 266L model (SPI mCard LoRA) is supported with the new packet forwarder?

I havenā€™t been able to test with this model, however based on MultiTech feedback I made a small fix earlier today that should allow it to work.

1 Like

Need Help

My gateway multitech MTCDTIP-LEU1-266A Firmware1.4.4

i got this error in tail -f /var/log/lora-pkt-fwd.log

11:23:29 INFO: Little endian host
11:23:29 INFO: found global configuration file /var/config/lora/global_conf.json, parsing it
11:23:29 INFO: /var/config/lora/global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters
11:23:29 INFO: lorawan_public 1, clksrc 0
lgw_board_setconf:437: Note: board configuration; lorawan_public:1, clksrc:0
11:23:29 INFO: 8 LBT channels configured
11:23:29 INFO: antenna_gain 0 dBi
11:23:29 INFO: Configuring TX LUT with 16 indexes
11:23:29 INFO: radio 0 enabled (type SX1257), center frequency 923600000, RSSI offset -166.000000, tx enabled 1
lgw_rxrf_setconf:486: WARNING: NOT A VALID TX NOTCH FILTER FREQUENCY [126000ā€¦250000]Hz
lgw_rxrf_setconf:498: Note: rf_chain 0 configuration; en:1 freq:923600000 rssi_offset:-166.000000 radio_type:2 tx_enable:1 tx_notch_freq:0
11:23:29 INFO: radio 1 enabled (type SX1257), center frequency 924600000, RSSI offset -166.000000, tx enabled 0
lgw_rxrf_setconf:498: Note: rf_chain 1 configuration; en:1 freq:924600000 rssi_offset:-166.000000 radio_type:2 tx_enable:0 tx_notch_freq:0
11:23:29 INFO: Lora multi-SF channel 0> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:617: Note: LoRa ā€˜multiā€™ if_chain 0 configuration; en:1 freq:-400000 SF_mask:0x7e
11:23:29 INFO: Lora multi-SF channel 1> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:617: Note: LoRa ā€˜multiā€™ if_chain 1 configuration; en:1 freq:-200000 SF_mask:0x7e
11:23:29 INFO: Lora multi-SF channel 2> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:617: Note: LoRa ā€˜multiā€™ if_chain 2 configuration; en:1 freq:0 SF_mask:0x7e
11:23:29 INFO: Lora multi-SF channel 3> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:617: Note: LoRa ā€˜multiā€™ if_chain 3 configuration; en:1 freq:200000 SF_mask:0x7e
11:23:29 INFO: Lora multi-SF channel 4> radio 0, IF 400000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:617: Note: LoRa ā€˜multiā€™ if_chain 4 configuration; en:1 freq:400000 SF_mask:0x7e
11:23:29 INFO: Lora multi-SF channel 5> radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:617: Note: LoRa ā€˜multiā€™ if_chain 5 configuration; en:1 freq:-400000 SF_mask:0x7e
11:23:29 INFO: Lora multi-SF channel 6> radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:617: Note: LoRa ā€˜multiā€™ if_chain 6 configuration; en:1 freq:-200000 SF_mask:0x7e
11:23:29 INFO: Lora multi-SF channel 7> radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12
lgw_rxif_setconf:617: Note: LoRa ā€˜multiā€™ if_chain 7 configuration; en:1 freq:0 SF_mask:0x7e
11:23:29 INFO: Lora std channel> radio 1, IF -100000 Hz, 250000 Hz bw, SF 7
lgw_rxif_setconf:591: Note: LoRa ā€˜stdā€™ if_chain 8 configuration; en:1 freq:-100000 bw:2 dr:2
11:23:29 INFO: FSK channel> radio 1, IF 200000 Hz, 125000 Hz bw, 50000 bps datarate
lgw_rxif_setconf:647: Note: FSK if_chain 9 configuration; en:1 freq:200000 bw:3 dr:50000 (50000 real dr) sync:0xC194C1
11:23:29 INFO: /var/config/lora/global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
11:23:29 INFO: Found 1 servers in array.
11:23:29 INFO: Server 0 configured to ā€œrouter.as2.thethings.networkā€
11:23:29 INFO: packets received with a valid CRC will be forwarded
11:23:29 INFO: packets received with a CRC error will NOT be forwarded
11:23:29 INFO: packets received with no CRC will NOT be forwarded
11:23:29 INFO: GPS is disabled
11:23:29 INFO: Upstream data is enabled
11:23:29 INFO: Downstream data is enabled
11:23:29 INFO: Ghoststream data is disabled
11:23:29 INFO: Radiostream data is enabled
11:23:29 INFO: Statusstream data is enabled
11:23:29 INFO: Beacon is disabled
11:23:29 INFO: Packet logger is disabled
11:23:29 INFO: Flush output after statistic is disabled
11:23:29 INFO: Flush after each line of output is disabled
11:23:29 INFO: Watchdog is disabled
11:23:29 INFO: found local configuration file /var/config/lora/local_conf.json, parsing it
11:23:29 INFO: redefined parameters will overwrite global parameters
11:23:29 INFO: /var/config/lora/local_conf.json does not contain a JSON object named SX1301_conf
11:23:29 INFO: /var/config/lora/local_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
11:23:29 INFO: gateway MAC address is configured to 00800000A0001B3B
11:23:29 INFO: Found 1 servers in array.
11:23:29 INFO: Server 0 configured to ā€œbridge.asia-se.thethings.networkā€
11:23:29 INFO: packets received with a valid CRC will be forwarded
11:23:29 INFO: packets received with a CRC error will NOT be forwarded
11:23:29 INFO: packets received with no CRC will NOT be forwarded
11:23:29 INFO: GPS is disabled
11:23:29 INFO: Upstream data is enabled
11:23:29 INFO: Downstream data is enabled
11:23:29 INFO: Ghoststream data is disabled
11:23:29 INFO: Radiostream data is enabled
11:23:29 INFO: Statusstream data is enabled
11:23:29 INFO: Beacon is disabled
11:23:29 INFO: Packet logger is disabled
11:23:29 INFO: Flush output after statistic is disabled
11:23:29 INFO: Flush after each line of output is disabled
11:23:29 INFO: Watchdog is disabled
11:23:29 INFO: Contact email configured to "susiloharjo@gmail.com"
11:23:29 INFO: Description configured to ā€œā€
11:23:29 INFO: [Transports] Initializing protocol for 1 servers
ERROR: lbt_setup() did not return SUCCESS
INFO: FPGA supported features: [TX filter] [Spectral Scan]
11:23:29 ERROR: [main] failed to start the concentrator
11:23:29 INFO: [TTN] server ā€œbridge.asia-se.thethings.networkā€ connected
11:23:29 INFO: [main] Starting the concentrator
ERROR: lbt_setup() did not return SUCCESS
INFO: FPGA supported features: [TX filter] [Spectral Scan]
11:23:29 ERROR: [main] failed to start the concentrator
11:23:30 *** Multi Protocol Packet Forwarder for Lora Gateway ***
Version: 3.0.20
11:23:30 *** Lora concentrator HAL library version info ***
Version: 5.0.1; Options: native;

iā€™m using this forwarder wget -k https://github.com/kersing/multitech-installer/raw/master/installer.sh

already update and install mp-packet-forwarder_3.0.20-r1_arm926ejste.ipk
but not luck, help me plz

Which TTN region and which frequency plan are you using?

iā€™m using ttn region asia, freq 923-925 MHz