Skip to content

Configuring Multi Tech Conduit gateways for Taiwan

Terry Moore edited this page Oct 5, 2017 · 2 revisions

Prerequisites

  • Start with a Conduit that supports the US915 region.

  • Configure the Conduit for the older (2.1r5) Kersing packet forwarder. The reference site is Kersing's, but MCCI often uses The Things Network New York.

    In either case, choose US as your target region, and choose the US server.

Setup

  1. login to the Conduit as root

  2. cd /var/config/lora

  3. Edit global_conf_src. It should contain a single line:

    https://raw.githubusercontent.com/TheThingsNetwork/gateway-conf/master/US-global_conf.json
    
  4. For Taiwan, Change this to specify region "AS2", by making it read:

    https://raw.githubusercontent.com/TheThingsNetwork/gateway-conf/master/AS2-global_conf.json
    

    For other countries, choose from the list of files found in The Things Network's gateway-conf repository.

  5. Restart the packet forwarder, using the command:

    # /etc/init.d/ttn-packet-forwarder restart
    Stopping ttn-packet-forwarder: OK
    Found lora card MTAC-LORA-915
    Get up-to-date TTN configuration for packet forwarder
    Starting ttn-packet-forwarder: OK
    #
    
  6. Optional: look through the log to make sure that the router is set as expected.

    # grep router /var/log/lora-pkt-fwd.log | head -5
    INFO: Server 0 configured to "router.as2.thethings.network", with port up "1700" and port down "1700"
    INFO: Successfully contacted server router.as2.thethings.network
    INFO: [down] Thread activated for all server router.as2.thethings.network
    INFO: [down] for server router.as2.thethings.network PULL_ACK received in 243 ms
    INFO: [down] for server router.as2.thethings.network PULL_ACK received in 243 ms
    #
    

    If you see as2.thethings.network, then everything is configured correctly. Otherwise, you need to double check what you put into /var/config/lora/global_conf_src.

Clone this wiki locally