This guide provides steps to setup the MTCAP Gateway by Manual Configuration
Set up MTCAP hardware
Wire Gateway to computer by direct Ethernet cable
On computer, open a command prompt and run `ipconfig`
Remember the IP of your computer
On computer, set IP to fixed IP 192.168.2.250
On computer, set default GW to 192.168.2.1
Open browser and enter default startup gateway IP 192.168.2.1
Ignore “unsecured connection” and continue to access IP 192.168.2.1
Set Username and Password
Set date, time, and time zone
Setup, Network Interfaces, br0, change “Mode” from “Static” to “DHCP Client”
LoRaWAN, Network Settings, change "Mode" from "Disabled" to "Network Server"
LoRaWAN, Network Settings, Network, “Join Delay” 5 seconds
LoRaWAN, Network Settings, Network, “Queue Size”: Default is 16, range is 0 to 1024, recommended value is 1 to prevent storage and sending of stale packets
LoRaWAN, Network Settings, Settings, “Min Datarate” “5 – SF7BW125”
LoRaWAN, Network Settings, Settings, “Max Datarate” “5 – SF7BW125”
LoRaWAN, Network Settings, Server Ports, enter a Username (valve) and Password (LikeARecordBaby)
LoRaWAN, Network Settings, “Max Tx Power (dBm)” “14dBm”
LoRaWAN, Network Settings, “Rx 2 Datarate” “5 – SF7BW125”
LoRaWAN, Network Settings, click Submit
Firewall, Settings, Input Filter Rules, add “Allow Inbound”, click Submit
Administration, Access Configuration, SSH Settings, “Enabled” should be ticked, click Submit
Wait for “Save and Apply” to go red, then click it, click OK to reboot (takes forever)
Reset the IP address on your computer to DHCP client.
Find the gateway’s new IP address
Setting up MQTT (Allows communication with mycorrhiza)
Open PuTTY
Log in to the gateway
`cd /etc/mosquitto`
`sudo vi mosquitto.conf` <You may be prompted for your password; enter it>
On the keyboard, press `i`
At the top of the mosquitto.conf file, enter the following:
...