I tried to install ttn-packet-forwarder by following these commands :
sudo wget https://github.com/kersing/multitech-installer/raw/master/installer.sh
sudo sh installer.sh
It failed and showed following messages :
Installing TTN Multi Protocol Packet Forwarder
Installing mp-packet-forwarder (3.0.25) on root.
sh: /tmp/opkg-ra3VCh/mp-packet-forwarder-2VW9GM/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
I also updated opkg and tried installing, but failed again.
admin@mtcdt:~$ sudo opkg remove mp-packet-forwarder
No packages removed.
admin@mtcdt:~$ sudo opkg install mp-packet-forwarder
Installing mp-packet-forwarder (3.0.25) on root.
Collected errors:
- get_pkg_url: Package mp-packet-forwarder is not available from any configured src.
- opkg_install_pkg: Failed to download mp-packet-forwarder. Perhaps you need to run ‘opkg update’?
- opkg_solver_install: Cannot install package mp-packet-forwarder.
admin@mtcdt:~$ sudo opkg update
Downloading http://multitech.net/mlinux/feeds/5.2.0/all/Packages.gz.
Updated source ‘mlinux-all’.
Downloading http://multitech.net/mlinux/feeds/5.2.0/arm926ejste/Packages.gz.
Updated source ‘mlinux-arm926ejste’.
Downloading http://multitech.net/mlinux/feeds/5.2.0/mtcdt/Packages.gz.
Updated source ‘mlinux-mtcdt’.
admin@mtcdt:~$ sudo opkg install mp-packet-forwarder
Installing mp-packet-forwarder (3.0.25) on root.
Collected errors: - get_pkg_url: Package mp-packet-forwarder is not available from any configured src.
- opkg_install_pkg: Failed to download mp-packet-forwarder. Perhaps you need to run ‘opkg update’?
- opkg_solver_install: Cannot install package mp-packet-forwarder.
Could you tell me what’s wrong on me?!