I’m currently configuring a RG191 gateway to work with the Semtech Basics Station forwarder. I am trying to set it up with the Configuration and Update Server (CUPS). I am unable to get it to connect to The Things Stack (au1.cloud.thethings.network).
I’ve followed the setup guide by The Things Industries.
In the web portal for the gateway, I have the following fields:
Server Configuration
CUPS Boot Server: BLANK
CUPS Server: https://au1.cloud.thethings.network:443
CUPS Certificates
Server Certificate File: caret.pem (from https://curl.haxx.se/ca/cacert.pem)
Client Certificate File: FILE NOT LOADED
Key File: cups.key (from echo "Authorization: Bearer $CUPS_KEY" | perl -p -e 's/\r\n|\n|\r/\r\n/g' > cups.key
)
CUPS-Boot Certificates
Server Certificate File: FILE NOT LOADED
Client Certificate File: FILE NOT LOADED
Key File: FILE NOT LOADED
The only information about the “CUPS Boot Server” I can find is a mention in the User Guide -Sentrius RG1xx on page 37:
Table 5: InternetGatewayDevice.Laird.LORASettings
Parameter Name: InternetGatewayDevice.Laird.LORASettings.SBSCUPSBootURL
R/W: R/W
Description: This is the CUPS-Boot URL used by Basic Station.
Input Data: A string representing the URL of the CUPS-Boot server.
Here’s the log from the gateway with the current configuration:
RG1xx29630B | lora | user.notice | Mar 16 00:57:39 | 2021-03-16 00:52:28.374 [CUP:ERRO] No CUPS-bak URI configured |
---|---|---|---|---|
RG1xx29630B | lora | user.notice | Mar 16 00:57:39 | 2021-03-16 00:52:28.374 [CUP:INFO] Starting a CUPS session now. |
RG1xx29630B | lora | user.notice | Mar 16 00:57:39 | 2021-03-16 00:52:28.373 [CUP:INFO] Starting a CUPS session in 0 seconds. |
RG1xx29630B | lora | user.notice | Mar 16 00:57:38 | 2021-03-16 00:52:27.373 [CUP:INFO] Interaction with CUPS failed - retrying in 1s |
RG1xx29630B | lora | user.notice | Mar 16 00:57:38 | 2021-03-16 00:52:27.373 [AIO:ERRO] cups URI requires TLS but no trust configured |
RG1xx29630B | lora | user.notice | Mar 16 00:57:38 | 2021-03-16 00:52:27.373 [CUP:INFO] Connecting to CUPS … https://au1.cloud.thethings.network:443 (try #131) |
RG1xx29630B | lora | user.notice | Mar 16 00:57:38 | 2021-03-16 00:52:27.373 [CUP:INFO] Starting a CUPS session now. |
RG1xx29630B | lora | user.notice | Mar 16 00:57:38 | 2021-03-16 00:52:27.372 [CUP:INFO] Starting a CUPS session in 0 seconds. |
RG1xx29630B | lora | user.notice | Mar 16 00:57:37 | 2021-03-16 00:52:26.372 [CUP:ERRO] No CUPS-boot URI configured |
RG1xx29630B | lora | user.notice | Mar 16 00:57:37 | 2021-03-16 00:52:26.372 [CUP:INFO] Starting a CUPS session now. |
RG1xx29630B | lora | user.notice | Mar 16 00:57:37 | 2021-03-16 00:52:26.371 [CUP:INFO] Starting a CUPS session in 0 seconds. |
RG1xx29630B | lora | user.notice | Mar 16 00:57:36 | 2021-03-16 00:52:25.371 [CUP:ERRO] No CUPS-bak URI configured |
RG1xx29630B | lora | user.notice | Mar 16 00:57:36 | 2021-03-16 00:52:25.371 [CUP:INFO] Starting a CUPS session now. |
RG1xx29630B | lora | user.notice | Mar 16 00:57:36 | 2021-03-16 00:52:25.370 [CUP:INFO] Starting a CUPS session in 0 seconds. |
RG1xx29630B | lora | user.notice | Mar 16 00:57:35 | 2021-03-16 00:52:24.370 [CUP:INFO] Interaction with CUPS failed - retrying in 1s |
RG1xx29630B | lora | user.notice | Mar 16 00:57:35 | 2021-03-16 00:52:24.370 [AIO:ERRO] cups URI requires TLS but no trust configured |
RG1xx29630B | lora | user.notice | Mar 16 00:57:35 | 2021-03-16 00:52:24.370 [CUP:INFO] Connecting to CUPS … https://au1.cloud.thethings.network:443 (try #128) |
RG1xx29630B | lora | user.notice | Mar 16 00:57:35 | 2021-03-16 00:52:24.370 [CUP:INFO] Starting a CUPS session now. |
RG1xx29630B | lora | user.notice | Mar 16 00:57:35 | 2021-03-16 00:52:24.369 [CUP:INFO] Starting a CUPS session in 0 seconds. |
Here’s a few questions I have:
- Clearly I need to enter something for the “CUPS Boot Server”. Anyone know what the URL is and what certificates I need?
- Should I be using au1 for the CUPS server or should I be using eu1?
- Do I need a client certificate under the “CUPS Certificates” and “CUPS-Boot Certificates”?
Location: Australia
Frequency plan: AU915 SB2
Network server: au1.cloud.thethings.network