I had never connectivity problems with the Multitech-Gateway over months. Something at the backend must have changed too. Now i have daily issues. At least it is Linux i can run a simple script who watches over the connection. Ok there are many new gateways since christmas, but the scaling should be calculable.
(Of course the bridge.eu.thethings.network part varies depending on the TTN server you connect to)
For the MultiTech owners, if you want to, grab an updated package from http://office.the-box.com/mp-packet-forwarder_3.0.20-r1_arm926ejste.ipk , transfer to your MultiTech Conduit and use ‘opkg install mp-packet-forwarder_3.0.20-r1_arm926ejste.ipk’ to update to the new version. The installer will be updated as well, however that will take some time as testing the updated installer is time consuming.
(Logging should include the same lines after update)
Thanks, put it on one of my testing gateways as well.
@kersing can you recommend ways to test it before it goes out into the field gateways? (or it should be OK?)
Also, does it replace the global_conf.json file completely with a new one? (just wondering because on one of my gateways we put in the “autoquit” line, and wondering if I have to remove that or will it just get overwritten anyway. I saw that it was updated in the install of the ipk
cheers
Paul
edit: never mind answered my own question, it gets overwritten
I had the same issue on another GW (4G Internet came after forwarder start and forwarder was never started because of on internet) and I kept things simple, every 5 minutes if forwarder is down restart it.
created a file /etc/cron.d/forwarder_restart with the following content (adjust for your os and forwarder)
I’ve done extensive testing (aided by community members) and I am confident the software is at the same level of reliability poly forwarder is at. However, it is still software and I haven’t mathematically proven it to be correct
As you found it will be overwritten. It is overwritten on every restart of the sotware on MultiTech conduits. Keep in mind “autoquit” only works for the semtech protocol, the ttn protocol has no option to quit the software when the connection is lost. (Yes, I have been tempted to take that route in order to work around the reconnect issues but in the end didn’t have to resort to it)
After 4 weeks of testing on multiple instances of the multi packet forwarder I can confirm that the current version of @kersing the multi packet forwarder is no longer suffering from link failures. It reconnects despite the bad 4G link quality.
@Charles For my trials I used production gateways that use the resin.io implementation of @jpmeijers. That implementation is retrieving the last repository from @kersing during installation.
It is not the answer to your question but a quick explanation of what I have done.
I would love using resin.io but I always need specific features and I don’t know how to add them on resin (like service for blinking led, display information, install private lorawan server, install WiFi AP on GW, …)
So these things take me less than 15 min to configure on RPI Zero with concentrator so I don’t have time to spend days to achieve the same on resin.io, but as I said I would love
Sorry for the confusion. I am running RapsberryPI and IMST IC880a gateways not Multitech.
This was the first topic in my memory where the multi packet forwarder linking issue was mentioned that seems to affect all deployments of multi packet forwarder.
As I had good results I wanted to share them with the community and I choose this thread to share them as that seems the best to me.
I do know your led additions to the packet forwarder and they are nice and helpful but it is a derivation of the code of @kersing and it is not simple to maintain both.
I think it is relatively easy to fork the resin.io repo of @jpmeijers and replace the multi packet forwarder with your own fork.
It would be great to merge your features to the main trunk of multi packet forwarder. I my opinion that can be relative simple.