Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

These instructions will cover converting existing TTN gateways to the myDevices Azure Chirpstack Network Server. They are valid for the following gateway models:

  • Gemtek IoT Femto Gateway

  • Tektelic Kona Micro Gateway

  • Multitech Conduit


You will need a Terminal Emulator application in order to enter command-line commands while following this document. Examples will be provided here for Terminal.app (Mac OS) and Powershell (Windows)

Gather necessary files and information

The following items will be needed to complete the rest of this document:

Gateway certificate files

  • TLS Certificate with naming abcd0000fffff0001.cert.pem

  • TLS Key with naming abcd0000fffff0001.key.pem

where abcd0000fffff0001 is the 16-digit gateway EUI. These files are generated on the myDevices Azure server and will be provided by myDevices Support. Let us know the Gateway EUI for any TTN gateways you want to convert in the ticket you open.

Gateway local IP address

For Tektelic and Multitech models:

You’ll need the local IP address for each gateway plugged into your network via Ethernet cable for updating. Check with your Network Administrator if you need help determining the local IP Address for a device plugged into your local network.

For Gemtek model:

You’ll need to connect to this gateway via WiFi and not Ethernet cable. Steps 1-4 in this article show how to do that. You don’t need to login, just make sure you can connect to it’s WiFi and make sure that page 192.168.55.1 loads in a browser. That IP, 192.168.55.1, will be used for SSH connection whenever needed in this document.

SSH login credentials for your gateway

This table shows the login credentials for each gateway model

Gateway Model

Username

Password

Gemtek

root

mydevices@WXYZ where WXYZ is the last 4 characters of the MAC. The MAC is printed on the gateway and uppercase should be used for any letters.

example:
For a gateway with MAC 5814D31BE7E9 the password would be mydevices@E7E9

Tektelic

root

Gateway Serial Number (printed on the gateway)
example:

Multitech

admin

admin

(install packages first, so the cert directories will exist when you try to copy to them)

(chmod 777 for the Multitech directory so you can write to it)

(exit)

Copy Certificate files to gateway

Both certificate files must be placed in a specific directory per model:

  • Multitech: /var/config/app/mydevices/

  • Tektelic: /var/config/mydevices/

  • Gemtek: /mnt/data/app/azureiot/

This can be accomplished with the following commands, you’ll need to know your IP address and SSH password from above, as well as the

rsync abcd0000fffff0001.cert.pem username@ip_address:/specific/directory

rsync abcd0000fffff0001.key.pem username@ip_address:/specific/directory

(chmod 444 the MT directory so its just read read read per instructions)

Change global_conf.json to localhost

(on multitech, easiest through web interface)

Finally reboot and it works OK.

  • No labels