Seeed WM1303 (ex Helium hat) connecting to The Things Network

tomsimmons
Sun, 23 Apr 2023 14:33:09 +0000
Raspberry Pi Gateways

I have a the above gateway and it’s hat from a SenseCap M1 connected to a Pi 3A+. I’ve install BasicStation using the CoreCell steps, changed the reset pins in the reset_lgw.sh, enabled SPI (and I2C) on the Pi and started with the command

./start-station.sh -l ./lns-ttn

as per BasicStation instructions. The output I get is…

Using variant=std, lns_config='./lns-ttn'
 Starting Station ...
2023-04-23 14:12:21.047 [SYS:INFO] Logging     : stderr (maxsize=10000000, rotate=3)
2023-04-23 14:12:21.047 [SYS:INFO] Station Ver : 2.0.6(corecell/std) 2023-04-23 13:33:53
2023-04-23 14:12:21.048 [SYS:INFO] Package Ver : 2.0.4
2023-04-23 14:12:21.048 [SYS:INFO] mbedTLS Ver : 2.28.0
2023-04-23 14:12:21.048 [SYS:INFO] proto EUI   : 0:b827:eb56:3ac0       (/sys/class/net/wlan0/address)
2023-04-23 14:12:21.048 [SYS:INFO] prefix EUI  : ::1    (builtin)
2023-04-23 14:12:21.048 [SYS:INFO] Station EUI : b827:ebff:fe56:3ac0
2023-04-23 14:12:21.048 [SYS:INFO] Station home: ./lns-ttn/     (--home)
2023-04-23 14:12:21.048 [SYS:INFO] Station temp: /var/tmp/      (builtin)
2023-04-23 14:12:21.048 [SYS:WARN] Station in NO-CUPS mode
2023-04-23 14:12:21.250 [TCE:INFO] Starting TC engine
2023-04-23 14:12:21.255 [AIO:INFO] ./lns-ttn/tc.trust:
cert. version     : 3
serial number     : 0A:01:41:42:00:00:01:53:85:73:6A:0B:85:EC:A7:08
issuer name       : O=Digital Signature Trust Co., CN=DST Root CA X3
subject name      : C=US, O=Let's Encrypt, CN=Let's Encrypt Authority X3
issued  on        : 2016-03-17 16:40:46
expires on        : 2021-03-17 16:40:46
signed using      : RSA with SHA-256
RSA key size      : 2048 bits
basic constraints : CA=true, max_pathlen=0
key usage         : Digital Signa2023-04-23 14:12:21.255 [AIO:INFO] tc has no key+cert configured - running server auth only
2023-04-23 14:12:21.255 [TCE:INFO] Connecting to INFOS: wss://lns.us.thethings.network:443
2023-04-23 14:12:21.721 [AIO:INFO] TLS server certificate verification failed: The certificate is not correctly signed by the trusted CA
2023-04-23 14:12:21.721 [AIO:DEBU] [3] WS connection shutdown...
2023-04-23 14:12:21.721 [TCE:INFO] INFOS reconnect backoff 0s (retry 0)
2023-04-23 14:12:21.723 [AIO:INFO] ./lns-ttn/tc.trust:
cert. version     : 3
serial number     : 0A:01:41:42:00:00:01:53:85:73:6A:0B:85:EC:A7:08
issuer name       : O=Digital Signature Trust Co., CN=DST Root CA X3
subject name      : C=US, O=Let's Encrypt, CN=Let's Encrypt Authority X3
issued  on        : 2016-03-17 16:40:46
expires on        : 2021-03-17 16:40:46
signed using      : RSA with SHA-256
RSA key size      : 2048 bits
basic constraints : CA=true, max_pathlen=0
key usage         : Digital Signa2023-04-23 14:12:21.723 [AIO:INFO] tc has no key+cert configured - running server auth only
2023-04-23 14:12:21.723 [TCE:INFO] Connecting to INFOS: wss://lns.us.thethings.network:443
2023-04-23 14:12:22.143 [AIO:INFO] TLS server certificate verification failed: The certificate is not correctly signed by the trusted CA
2023-04-23 14:12:22.143 [AIO:DEBU] [3] WS connection shutdown...
2023-04-23 14:12:22.143 [TCE:INFO] INFOS reconnect backoff 10s (retry 1)

This keeps on repeating.
This is my first time trying this, so I’m going to guess there is a config issue, but where? I do note that the address above is lns.us.thethings…, should that be a Europe address for me in the UK?

I have registered a gateway on TTN, initially I didn’t specify a EUI as I didn’t know it, subsequently I enter the EUI above, makes no difference either way.

4 posts - 3 participants