Multitech Conduit mLinux cannot connect Thething

Hi,

After update mlinux upto 5.0 I cannot connect thething. Thething status is “not connect”.

Multitech conduit mlinux return:

//////////////////////////////
Description (from TTN):
Frequency plan (from TTN): IN_865_867

Is the information correct?
1) Yes
2) No
#? 1
Stopping existing forwarder
Stopping ttn-packet-forwarder: start-stop-daemon: warning: failed to kill 1350: No such process
killall: mp_pkt_fwd: no process killed
OK
Get up-to-date TTN configuration for packet forwarder
installer.sh: line 822: node: command not found
Starting ttn-packet-forwarder: OK
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
///////////////

thething

installer.sh: line 822: node: command not found

How was the installer.sh script invoked?
What command is on line 822?

How was the installer.sh script invoked?
-> sh installler.sh
What command is on line 822?
-> line 822: node /opt/lora/merge.js /var/config/lora/ttn_global_conf.json /var/config/lora/multitech_overrides.json /var/config/lora/global_conf.json

I download installer.sh from link: https://github.com/kersing/multitech-installer/blob/master/installer.sh

Try sudo?

mtcdt:~# sudo installer.sh
sudo: installer.sh: command not found

mtcdt:~# sudo ./installer.sh

Installing TTN Multi Protocol Packet Forwarder
Collected errors:

  • open_outer: Failed to open package ‘/tmp/mp-packet-forwarder_3.0.20-r1_arm926ejste.ipk’: Unrecognized archive format
  • pkg_extract_control_file_to_stream: Failed to extract control.tar.gz from package ‘/tmp/mp-packet-forwarder_3.0.20-r1_arm926ejste.ipk’.
  • pkg_init_from_file: Failed to extract control file from /tmp/mp-packet-forwarder_3.0.20-r1_arm926ejste.ipk.
    Get up-to-date TTN configuration for packet forwarder
    ./installer.sh: line 822: node: command not found
    ./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

That is all after the upgrade to mlinux 5.0?

Which mlinux image did you build/install?

The mlinux-base-image does not include all language support, such as nodejs.
The mlinux-factory-image may be required.

HI jreiss,

Link mlinux:

wget -O uImage.bin http://www.multitech.net/mlinux/images/mtcdt/5.0.0/uImage--4.9.87-r9.2-mtcdt-20190618233259.bin
wget -O rootfs.jffs2 http://www.multitech.net/mlinux/images/mtcdt/5.0.0/mlinux-base-image-mtcdt-20190618233259.rootfs.jffs2

Hi Kersing,

This is all in my Multitech conduit mlinux.

mtcdt:/var/config# ls
bluetooth hosts network
default lora old
dnsmasq.d lora-gateway-bridge ppp
hostapd.conf lora-packet-forwarder-usb ssh
hostname modprobe.d wpa_supplicant.conf

mtcdt:/var/config/lora# ls
global_conf.json lora-network-server.conf ttn_global_conf.json
global_conf_src lora-network-server.db ttn_global_conf.json.new
local_conf.json multitech_overrides.json
mtcdt:/var/config/lora#

mtcdt:~# cd /opt
mtcdt:/opt# ls
lora lora-gateway-bridge lora-packet-forwarder-usb
mtcdt:/opt#

mtcdt:~# cat /etc/mlinux-version
mLinux 5.0.0
Built from branch: HEAD
Revision: 479b47ce169dd801a98e17dfe030ad73f40c426d

I meant:
Are you getting these errors after the upgrade to 5.0 and not before the upgrade?

Hi Kersing,

I only get error after upgrade to 5.0.

Thanks,

Hi Kersing,

Can i downgrade to old version ?

I don’t know. I haven’t had time to look at 5.0 yet. I was away on vacation up till yesterday.
Check the MultiTech site and if not clear ask in their forum.

I’ll look into building the software for 5.0 in the next few weeks when I have some spare time.

Hi Kersing,
Thank you for your reply.

Hi,

I have the version MTCDTIP-LEU1-266A Firmware 5.0.0-AEP, and now I have 1 button to select :
image

It’s necessary to install the file “installer.sh” ? My server is offline why ?

It’s necessary to install the file “installer.sh”

With 5.0 you should not even try as there seem to be incompatible changes.

Once an update is available you have a choice, use the default one which uses udp or use the installer to get a more reliable connection to the backend.

Hello
After the upgrade my AEP gateway to firmware 5.00 I got all some error message’s from the installer. (You need to run this agian after the upgrade)
Somthing shuld missing and he could not find the radio.

But after run the installer.sh with “sudo installer.sh”
I was going fine and my Multitech Conduit AEP is online with the new firmware.
I think that Multitech has take care more about securitie.

Jac, maybee change the instruktion. run installer with “sudo installer.sh”
https://www.thethingsnetwork.org/docs/gateways/multitech/
The webgui get a totall redesign
Johan

1 Like