I’ve got a number of AEP Conduits for a project and I’m running into an issue with the installed after upgrading to the latest firmware (5.2.1)
I’m running the script as detailed at https://www.thethingsnetwork.org/docs/gateways/multitech/aep.html however even when running it via
sudo I get the following errors:
Installing TTN Multi Protocol Packet Forwarder Installing mp-packet-forwarder (3.0.25) on root. sh: /tmp/opkg-bRDNHv/mp-packet-forwarder-iPnvG0/preinst: Permission denied To remove package debris, try `opkg remove mp-packet-forwarder`. To re-attempt the install, try `opkg install mp-packet-forwarder`. Collected errors: * pkg_run_script: package "mp-packet-forwarder" preinst script returned status 126. * preinst_configure: Aborting installation of mp-packet-forwarder. * opkg_solver_install: Cannot install package mp-packet-forwarder. Get up-to-date TTN configuration for packet forwarder module.js:340 throw err; ^ Error: Cannot find module '/opt/lora/merge.js' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:945:3 installer.sh: line 826: /etc/init.d/ttn-pkt-forwarder: No such file or directory The installation is now complete. Check the gateway output using: tail -f /var/log/lora-pkt-fwd.log (It might take some minutes for the first output to appear!) Check the gateways last seen status in the TTN console after a few minutes to verify the setup is working correctly
Switching to mLinux is not an option unfortunately due to client requirements.
Is there a way I can either install the library or fix the permissions to get this working?
I had hoped that the web UI “TTN” dropdown would be sufficient, however that doesn’t appear to be the case as the server is still showing as “not connected” even after saving the settings and rebooting.
Thanks in advance.