title | description |
---|---|
Connect LORIX One with Lora Basics™ Station |
This section contains instructions for connecting to {{% tts %}} using {{% lbs %}}.
Go to the LoRa > Settings page > Forwarder tab.
{{< figure src="../lorix-one-lora-settings-forwarder.png" alt="LORIX One LoRa forwarder page" >}}
On the top right, click the Edit button to choose a forwarder.
{{< figure src="../lorix-one-lora-settings-forwarder-change-list.png" alt="LORIX One LoRa forwarder selection" class="plain" >}}
In the list, select LoRa Basic Station and press apply.
{{< figure src="../lorix-one-lora-settings-forwarder-change-bs.png" alt="LORIX One LoRa forwarder Basic Station selection" class="plain" >}}
Scroll down to the Configuration section and enable the LoRaWAN Network Server.
{{< figure src="../lorix-one-lora-settings-bs.png" alt="LORIX One LoRa forwarder Basic Station LNS" >}}
To connect the gateway via LNS protocol, follow the instructions for [Connecting LNS]({{< ref "/gateways/lora-basics-station/lns" >}}).
Configure the Address with the server address of your deployment, and Port with LNS port 8887
.
Enable the Secured TLS connection and upload the [LNS Server Certificate]({{< ref "/gateways/lora-basics-station/lns#lns-server-certificate--lns-trust" >}}) as a Server authentication certificate.
Enable the Client authentication, select Use token, then copy the [LNS Key File]({{< ref "/gateways/lora-basics-station/lns#lns-key-file" >}}) and paste it as an Authentication token.
{{< figure src="../lorix-one-lora-settings-bs-lns.png" alt="LORIX One LoRa forwarder Basic Station LNS" class="plain" >}}
Press the SAVE button. In the Control pane above, press START and check the logs in the dedicated pane.
{{< figure src="../lorix-one-lora-settings-bs-control-logs.png" alt="LORIX One LoRa forwarder Basic Station start" >}}
You should see a bunch of messages, one of which indicates success :
[TCE:INFO] Infos: fcc2:3dff:feab:cdef muxs-::0 wss://wifx.eu1.cloud.thethings.industries:8887/traffic/eui-FCC23DFFFEABCDEF
If the connection fails, you will get this kind of message:
[AIO:ERRO] [-1] WS connect failed: NET - Failed to get an IP address for the given hostname
[TCE:ERRO] TC connect failed - URI: wss://wrong-tenant.eu1.cloud.thethings.industries:8887
Please check the configuration and the LoRa Network Server status. After a configuration change, always restart the Basic Station with the Restart button to make it effective.
{{< note >}} If the Basic Station crashes for any reason, it will be automatically restarted if the Auto-start option is enabled. {{</ note >}}
Go to the Configuration section and enable Configuration and Update Server.
{{< figure src="../lorix-one-lora-settings-bs.png" alt="LORIX One LoRa forwarder Basic Station LNS" >}}
To connect the gateway via CUPS protocol, follow the instructions for [Connecting CUPS]({{< ref "/gateways/lora-basics-station/cups" >}}).
Press the SAVE button. In the Control pane above, press START and check the logs in the dedicated pane.