Jeff Hatch

Forum Replies Created

Viewing 30 posts - 271 through 300 (of 622 total)
  • Author
    Posts
  • in reply to: Having trouble connection to MQTT broker #21292
    Jeff Hatch
    Keymaster

    Dave,

    One way to “stop” iptables would be to follow the instructions here:

    https://www.cyberciti.biz/faq/debian-iptables-stop/

    Make sure to save off your rules in case you want to restore them. and then use the shell script to open things wide. Be aware that this could lead to vulnerabilities. You could compare the two output files of the iptables-save on each device and see what the difference is. There must be something different on the system with the problem.

    Jeff

    in reply to: Image 3.3.13 #21280
    Jeff Hatch
    Keymaster

    Milan,

    How are you building the MTCAP firmware. What bitbake command are you using?

    Jeff

    in reply to: Flash mLinux to AEP #21091
    Jeff Hatch
    Keymaster

    Martijn,

    To get the information on how to flash from AEP to mLinux file a support portal case at https://support.multitech.com

    Jeff

    in reply to: Cannot reset to factory default #21006
    Jeff Hatch
    Keymaster

    JC,

    Are you saying that the boot just stops at that point? Are you running an AEP or mLinux Conduit? The jffs2 output is just a notice so I don’t think that is related to any problems.

    Jeff

    in reply to: Can’t login to mlinux after upgrade firmware #20992
    Jeff Hatch
    Keymaster

    Mr Attar

    Have you connected to the debug console port to look at the output? If you were using anything beside the factory default IP the upgrade may have wiped out that configuration.

    Jeff

    in reply to: Upgrading MTCDT-H5-210A-US-EU-GB to the latest FW #20991
    Jeff Hatch
    Keymaster

    Andrey,

    The old MTAC-LORA-868 is still supported so you can upgrade. Just don’t plug in any of the new cards until you have upgraded to 1.4.3 otherwise you will fail to upgrade among other things.

    Jeff

    in reply to: Node-red version upgrade beyond 0.11.1 #20907
    Jeff Hatch
    Keymaster

    Ajay,

    There is an effort to develop a new Conduit (to be called Conduit 2.0), however, progress is going slowly.

    Jeff

    in reply to: How to create custom applications #20881
    Jeff Hatch
    Keymaster

    Srinivas,

    You will need to copy the tar file into /opt/node-red/nodes, and untar it there. Then run npm install in any of the sub-folders that you want to install the nodes for. See Installation under https://github.com/node-red/node-red-nodes.

    Jeff

    in reply to: How to create custom applications #20866
    Jeff Hatch
    Keymaster

    Srinivas,

    Have you either downloaded and extracted the tar archive or cloned the git repo for the node-red-nodes package in /opt/node-red first? It might also be possible that you need to update the version of npm.

    Jeff

    in reply to: Node-red version upgrade beyond 0.11.1 #20865
    Jeff Hatch
    Keymaster

    Ajay,

    The AEP 1.5 release will be out in early Q1 2018 for general consumption. The version of node-js will not change since 0.10.x is the last version that supports armv5.

    Jeff

    in reply to: Node-red version upgrade beyond 0.11.1 #20856
    Jeff Hatch
    Keymaster

    Boyko,

    The upcoming AEP 1.5 release will have Node-RED 0.15.3. That is the last version of Node-RED the Conduit hardware will be able to run due to no more support for the armv5 instruction set.

    Jeff

    in reply to: Issue accessing the conduit #20855
    Jeff Hatch
    Keymaster

    Charlie,

    There are a couple of ways to determine the IP. You could hook up the debug console port and use the ‘ifconfig’ command or if it is possible to get the assigned addresses from the DHCP server you could try that.

    Jeff

    in reply to: Gdbserver fails while debugging #20836
    Jeff Hatch
    Keymaster

    Yoshihiro,

    Without your test.c code I can only speculate. As to why it didn’t break at line 12, there are a couple of possibilities: A statement at line 11 caused the execution to skip line 12, or it is quite possible that line 12 was optimized out.

    As for the gdb server error, it appears to think that the incorrect target for the host side. Make sure that the correct target is being specified when building the gdbserver for the target.

    Jeff

    in reply to: How to create custom applications #20823
    Jeff Hatch
    Keymaster

    Srinivas,

    What is the npm install command you’re using? Is the package you’re talking about located at https://github.com/node-red/node-red-nodes?

    Cross-compilation is sometimes required for node-red nodes. The Conduit does not support cross-compilation natively. Conduit is based off of mLinux (http://www.multitech.net/developer/software/mlinux/) so you can download mLinux or the mLinux SDK (http://www.multitech.net/developer/software/mlinux/mlinux-software-development/mlinux-c-toolchain/) and cross-compile the code if necessary.

    Jeff

    in reply to: How to create custom applications #20792
    Jeff Hatch
    Keymaster

    Srinivas,

    Are you using the lora network server or the packet forwarder?

    Jeff

    in reply to: How to create custom applications #20779
    Jeff Hatch
    Keymaster

    Srinivas,

    The Conduit has Bluez 5 installed on it. The easiest way to create an app would probably be to use Python. The gattool utility is also available for communicating with BLE devices.

    Jeff

    in reply to: Saving iptables over reboot #20778
    Jeff Hatch
    Keymaster

    Homas,

    The iptables rules are overwritten by the AEP Conduit API on boot using the firewall utility. User defined rules can be created through the AEP Web UI and saved that way. The API will then create these rules on boot.

    Jeff

    in reply to: Conduit won't startup: runlevel #20774
    Jeff Hatch
    Keymaster

    Wout,

    There is a good chance that your inittab is corrupted or that the filesystem is corrupt. I’m afraid that your only choice is to re-flash the device from u-boot. For help with that you can file a support case on https://support.multitech.com.

    Jeff

    in reply to: Time zone change did not work #20767
    Jeff Hatch
    Keymaster

    George,

    Javascript provides the Date.now() method is being used by the inject node. I’m assuming that you are using the inject and seeing the UTC timestamp. By definition from the documentation on the Date object:

    Date.now()
    Returns the numeric value corresponding to the current time – the number of milliseconds elapsed since 1 January 1970 00:00:00 UTC, with leap seconds ignored.

    This means that you are always going to get a UTC time unless you convert the value through some other function to the local time you are in.

    Jeff

    in reply to: Unable to connect after flashing #20760
    Jeff Hatch
    Keymaster

    Shankar,

    File a Multitech Support Portal case at https://support.multitech.com and say exactly what you did here. They can help you re-flash the device through tftp to get it back to working.

    Jeff

    in reply to: Time zone change did not work #20741
    Jeff Hatch
    Keymaster

    George,

    Which timestamp are you referring to?

    Jeff

    in reply to: Auto Reboot Timer – Session key persistence issue #20740
    Jeff Hatch
    Keymaster

    Lawrence,

    Which session key are you asking about? LoRa, AEP API? I don’t think either of those will hold on to keys through a reboot. Not positive about LoRa.

    Jeff

    in reply to: Addition of node-red-contrib-s7 1.3.0 #20601
    Jeff Hatch
    Keymaster

    Boyko,

    The 0.10.x restriction applies to node-js, not to the node you’re trying to add. I did not see any minimal version of node-js required for the s7comm node.

    Jeff

    in reply to: Addition of node-red-contrib-s7 1.3.0 #20599
    Jeff Hatch
    Keymaster

    Boyko,

    You can use the “npm install node-red-contrib-s7comm” with the –prefix option to point to /opt/node-red/node_modules. ie.

    npm install node-red-contrib-s7comm –prefix /opt/node-red/node_modules

    From the little bit of investigation it appears that this node and it’s dependencies are pure javascript so I believe that this node will install and work without the necessity of cross compilation or anything.

    Jeff

    in reply to: How to add DNS on mlinux #20558
    Jeff Hatch
    Keymaster

    Milan,

    Check out these topics:

    setting static DNS

    mlinux resolv.conf issue

    Static DNS

    There’s a few ways to address DNS in mLinux.

    Jeff

    in reply to: setting static DNS #20507
    Jeff Hatch
    Keymaster

    Nicola,

    Have you tried putting a nameserver entry in /etc/resolv.conf?

    Jeff

    in reply to: setting static DNS #20500
    Jeff Hatch
    Keymaster

    Nicola,

    You should be able to specify the DNS nameservers in /etc/network/interfaces like so:

    dns-nameservers 1.1.1.1 2.2.2.2

    Jeff

    in reply to: Internet connection with Ethernet #20487
    Jeff Hatch
    Keymaster

    Nicola,

    You will need to configure the default gateway and other settings in the /etc/network/interfaces file. For example:

    auto eth0
    iface eth0 inet static
    address 10.0.0.100
    netmask 255.255.255.0
    gateway 10.0.0.1

    This configures the Ethernet eth0 interface to be brought up automatically with an address of 10.0.0.100 and the default gateway of 10.0.0.1. This information would go into /etc/network/interfaces.

    Jeff

    in reply to: Upgrading to 1.4.3 caused nodered problem #20252
    Jeff Hatch
    Keymaster

    Gokhan,

    Try checking the /var/log/app/node-red.log file and see what it says.

    Jeff

    in reply to: New node not showing up in Node-Red sidebar #19842
    Jeff Hatch
    Keymaster

    Eric,

    Due to the armV5 architecture of the CPU on the current Conduit, nodejs does not support that instruction set beyond 0.10.x. We do have plans for a new Conduit with updated hardware, but that is a ways out yet.

    Jeff

Viewing 30 posts - 271 through 300 (of 622 total)