Setting up MultiTech LoRaWAN gateway on Ubuntu
By Leo Gaggl
As the convener for the Adelaide community of The Things Network, I am frequently setting up Multitech Conduit Gateways. Depending on your PC or notebook hardware you might have some problems with the Exar USB-UART driver on Linux.
Here are the steps to getting this unit setup from an Ubuntu (should work for any other Linux distro) machine.
lsusb
Should show something like this:
Bus 002 Device 006: ID 04e2:1410 Exar Corp. XR21V1410 USB-UART IC
Download the driver for the Exar site: https://www.exar.com/design-tools/software-drivers
unzip xr_usb_serial_common_lnx-3.6-and-newer-pak.zip<br></br>cd xr_usb_serial_common_lnx-3.6-and-newer-pak<br></br>make<br></br>sudo insmod ./xr_usb_serial_common.ko
Ensure driver is loaded at startup
sudo vim /etc/modules<br></br>#Add the following<br></br>xr_usb_serial_common
ls /dev/tty*
should now show another USB port ttyXRUSB0
For the rest you just need to follow the excellent instructions by Jac Kersing who maintains the Multitech TTN installer and documentation here:
https://www.thethingsnetwork.org/docs/gateways/multitech/mlinux.html
Get EUI of your gateway
mts-io-sysfs show lora/eui 2> /dev/null | sed 's/://g'