MultiConnect® Conduit™ is a programmable gateway with an open development environment to enable machine-to-machine (M2M) connectivity using various wireless interfaces, including GPRS, 3G, 4G and LoRa.

This guide will be explain how to setup the MultiTech MultiConnect Conduit gateway and how to convert it into a single Packet Forwarder to the Ubidots Cloud.

Requirements

  • MultiTech MultiConnect Conduit AEP.
  • Multitech MultiConnect mCard.
  • 915 MHz antenna.
  • An Ethernet cable.
  • USB Male type A to Male micro B.

Setting up the Hardware

Install the LoRa mCard

1. Disconnect power to the gateway.

2. At the back of the housing, determine where you want to install the accessory card. You can install the card in either the AP1 or AP2 port. Remove the port cover and retain the screw.

3. Slide the card into the opening and push until you feel the card connector seat in the internal connector.

4. Use a small screwdriver to attach the card bracket to the housing with the screw from the port cover.

5. Attach the LoRa antenna to the LoRa mCard.

 To install a SIM card, a Micro SD card, or a battery, please refer to MultiTech’s website (optional).

Setting up the Ethernet connection

1. Connect the Ethernet cable between the MultiConnect Conduit and your PC, then connect the power cord and wait for the Status LED to begin blinking.

Setting up Multitech Conduit AEP

The MultiTech gateway ships with a static IP address 192.168.2.1. You should manually set your computer’s ethernet IP address to 192.168.2.5 so that it’s within the same subnet of the gateway.

  1. You can follow this link to configure an IP:
  • Open an Internet browser and type the default address for the device: http://192.168.2.1. When the login page appears type the default user name (“admin”) and default password (“admin”).
  • Download the latest firmware file from the Downloads page.
  • Go to Administration an click on Firmware Upgrade. Choose the conduit_AEP-X_upgrade.bin file and click Start Upgrade.
  • Go to Setup and click on Network Interfaces:
  • Click on the pencil to edit eth0:
  • Change the Type to LAN and Mode to DHCP Client:
  • Save and Restart the Conduit.

2. Disconnnect the Ethernet cable from your PC and connect it to the router, then wait for the Status LED to begin blinking.

  • To know the new IP address of the MultiTech gateway you have to scanner your network. This scanner could help you, just click and download it.
  • Open the Advanced IP Scanner, explore your network and wait for a minute. It should find the new IP address for the MultiTech gateway.
  • Now, open your browser and write the new IP address assigned to the MultiTech gateway.

3. Download the file Multitech_Lora.tar.gz, and move to the Conduit using FileZilla, CyberDuck or scp.

  • This is an example with command line (scp):
scp Multitech_Lora.tar.gz admin@10.0.0.46
  • This is an example with CyberDuck:

4. Connect to the Conduit via SHH or USB and uncompress the Multitech_Lora.tar.gz file.

Connect to Conduit via SSH

  1. Check the file and uncompress it.

ssh admin@10.0.0.46

// Let’s check if we can see the file:
ls

admin@mtcdt:~# ls
Multitech_Lora.tar.gz

// Now let’s unzip it
tar xvfz Multitech_Lora.tar.gz

2. Enter the folder Multitech_Lora and install the network-server and the package-forwarder.

cd Multitech_Lora
opkg upgrade
opkg install lora-network-server
opkg install lora-packet-forwarder

3. Copy the lora-network-server and lora-network-server.conf.

mkdir -p /var/config/lora/
cp lora-network-server.conf /var/config/lora/lora-network-server.conf
cp lora-network-server /etc/init.d/lora-network-server
chmod 755 /etc/init.d/lora-network-server

4. Copy global_conf.json, change the server address and the gateway ID

  • Copy the global_conf.json:
cp /home/root/Multitech_Lora/global_conf.json
/var/config/lora/global_conf.json

Change the gateway ID

...
...
        "forward_crc_error": false,
        "forward_crc_valid": true,
        "gateway_ID" : "008000000000A4CB",
        "keepalive_interval": 1,
        "push_timeout_ms": 1500,
        "serv_port_down": 1700,
        "serv_port_up": 1700,
        "server_address": "us.lorawan.ubidots.com"
...
...
  • Change the gateway ID for one specify by you:

nano /var/config/lora/global_conf.json

To save, type CRTL+X, then “Y”, then “Enter”.

5. Restart the lora network server.

/etc/init.d/lora-network-server restart

6. Restart the Multitech gateway from the interface.

7. Verify the file /var/log/lora-pkt-fwd-1.log.

You should see something like this:

##### 2017-02-01 15:16:00 GMT #####
### [UPSTREAM] ###
# RF packets received by concentrator: 0
# CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
# RF packets forwarded: 0 (0 bytes)
# PUSH_DATA datagrams sent: 0 (0 bytes)
# PUSH_DATA acknowledged: 0.00%
### [DOWNSTREAM] ###
# PULL_DATA sent: 18 (100.00% acknowledged)
# PULL_RESP(onse) datagrams received: 0 (0 bytes)
# RF packets sent to concentrator: 0 (0 bytes)
# TX errors: 0
##### END #####
INFO: [down] PULL_ACK received in 145 ms
INFO: [down] PULL_ACK received in 217 ms
INFO: [down] PULL_ACK received in 146 ms
INFO: [down] PULL_ACK received in 149 ms
INFO: [down] PULL_ACK received in 144 ms
INFO: [down] PULL_ACK received in 152 ms
INFO: [down] PULL_ACK received in 147 ms
INFO: [down] PULL_ACK received in 145 ms

cat /var/log/lora-pkt-fwd-1.log

  • Look for this line:

INFO: [down] PULL_ACK received in 145 ms

The PULL_ACK message will let us know that everything is ok!

8. View installed versions

$ opkg list | grep lora

Connect to Conduit via USB

If you choose connect to the Conduit via USB you have to follow the same structure as above.

1. With the USB cable that was mentioned in the component, connect the PC to the micro USB port of MultiTech MultiConnect Conduit.

2. Configure the serial terminal with the next parameters:

  • Baud Rate: 115200.
  • Flow control XON/XOFF.
  • The number of COM port. ### 

3. Open the port in the serial terminal. For more details of how to use a serial terminal please refer to the next documentation.

4. The Login should appear. If not hit a random key.

5. Use the default credentials to connect to the gateway.

  • User: admin.
  • Password: admin.

6. If the login was successful the command line should appear: 

admin@mtcdt:~#.

Connected via USB

    _        _____     ____ 
   / \      | ____|   |  _ \
  / _ \     |  _|     | |_) |
 / ___ \  _ | |___  _ |  __/_
/_/   \_\(_)|_____|(_)|_|  (_)MultiTech Systems Application Execution Platform with mLinux GNU/LinuxmLinux 3.1.0 mtcdt /dev/ttyGS0Version: 1.1.2
Date: 2016-01-13T09:59:04
mtcdt login: admin
Password:
admin@mtcdt:~#

7. Follow the settings in the previous step (Connect to Conduit via SSH)

Results

Now your gateway is able to work with LoRaWAN and send data to Ubidots.

Did this answer your question?