-
Notifications
You must be signed in to change notification settings - Fork 212
Configuring Multi Tech Conduit gateways for Taiwan
-
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.
- If using the reference site, run the poly-installer.sh script.
- If using the TTN NYC site, run the installer.sh script.
In either case, choose US as your target region, and choose the US server.
-
login to the Conduit as root
-
cd /var/config/lora
-
Edit
global_conf_src
. It should contain a single line:https://raw.githubusercontent.com/TheThingsNetwork/gateway-conf/master/US-global_conf.json
-
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.
-
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 #
-
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
.
The MCCI-Catena arduino-lmic wiki is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.