BalenaCloud + RAK2287 Basicstation fail to start

Hi,
I have some issue with my gateway on the BalenaCloud which fails to start.

  • I followed the one-clic deploy from xoseperez/basicstation-docker
  • I installed the balenaOS on a SSD nvme on a Raspberry pi5
  • I’m using the RAK2287 SPI (without GPS) concentrator with the RAK2287/RAK5146 Pi HAT
  • I am using the following Device Variables:
    DEVICE: /dev/spidev0.0
    GPIO_CHIP: gpiochip4
    HAS_GPS: 0
    MODEL: RAK2287
    RESET_GPIO: 17
    TC_KEY: <API_KEY>
    TC_URI: wss://<tenant_ID>.eu1.cloud.thethings.industries:8887
    TLS_SNI: true
    TTS_REGION: eu1

I got it working a few days ago before I updated to the balenaOS 6.5.1+rev2 host OS version. Now the concentrator fails to start and the GW on TTI disconnect every 30-40 seconds.

This is what I can see in the log:

 basicstation  Radio
 basicstation  ------------------------------------------------------------------
 basicstation  Model:         RAK2287
 basicstation  Concentrator:  SX1302
 basicstation  Design:        CORECELL
 basicstation  Interface:     SPI
 basicstation  Radio Device:  /dev/spidev0.0
 basicstation  SPI Speed:     8000000
 basicstation  GPIO chip:     gpiochip4
 basicstation  Reset GPIO:    17
 basicstation  Enable GPIO:   0
 basicstation  
 basicstation  Killing process group 1
 basicstation  2025-03-19 20:53:43.785 [SYS:INFO] Logging     : stderr (maxsize=10000000, rotate=3)
 basicstation  2025-03-19 20:53:43.785 [SYS:INFO] Station Ver : 2.0.6(corecell/stdn) 2024-08-27 09:53:19
 basicstation  2025-03-19 20:53:43.785 [SYS:INFO] Package Ver : (null)
 basicstation  2025-03-19 20:53:43.785 [SYS:INFO] mbedTLS Ver : 2.28.0
 basicstation  2025-03-19 20:53:43.786 [SYS:INFO] proto EUI   : 2ccf:67ff:fe61:d22      (station.conf)
 basicstation  2025-03-19 20:53:43.786 [SYS:INFO] prefix EUI  : ::1     (builtin)
 basicstation  2025-03-19 20:53:43.786 [SYS:INFO] Station EUI : 2ccf:67ff:fe61:d22
 basicstation  2025-03-19 20:53:43.786 [SYS:INFO] Station home: ./      (builtin)
 basicstation  2025-03-19 20:53:43.786 [SYS:INFO] Station temp: /var/tmp/       (builtin)
 basicstation  2025-03-19 20:53:43.786 [SYS:INFO] GPS device: ./
 basicstation  2025-03-19 20:53:43.786 [SYS:WARN] Station in NO-CUPS mode
 basicstation  2025-03-19 20:53:43.787 [RAL:DEBU] execvp argv[0]: </proc/self/exe>
 basicstation  2025-03-19 20:53:43.787 [RAL:DEBU]        argv[1]: <-S>
 basicstation  2025-03-19 20:53:43.787 [RAL:DEBU]        argv[2]: <(null)>
 basicstation  2025-03-19 20:53:43.788 [S00:INFO] Logging     : stderr (maxsize=10000000, rotate=3)
 basicstation  2025-03-19 20:53:43.788 [S00:INFO] Station Ver : 2.0.6(corecell/stdn) 2024-08-27 09:53:19
 basicstation  2025-03-19 20:53:43.788 [S00:INFO] Package Ver : (null)
 basicstation  2025-03-19 20:53:43.788 [S00:INFO] mbedTLS Ver : 2.28.0
 basicstation  2025-03-19 20:53:43.788 [S00:INFO] proto EUI   : 2ccf:67ff:fe61:d22      (station.conf)
 basicstation  2025-03-19 20:53:43.788 [S00:INFO] prefix EUI  : ::1     (builtin)
 basicstation  2025-03-19 20:53:43.788 [S00:INFO] Station EUI : 2ccf:67ff:fe61:d22
 basicstation  2025-03-19 20:53:43.788 [S00:INFO] Station home: ./      (builtin)
 basicstation  2025-03-19 20:53:43.789 [S00:INFO] Station temp: /var/tmp/       (builtin)
 basicstation  2025-03-19 20:53:43.789 [S00:INFO] Station slave: 0
 basicstation  2025-03-19 20:53:43.789 [S00:WARN] Station in NO-CUPS mode
 basicstation  2025-03-19 20:53:43.789 [S00:INFO] Slave LGW (0) - started.
 basicstation  2025-03-19 20:53:43.787 [RAL:INFO] Master has started slave: pid=54 idx=0 (attempt 1)
 basicstation  2025-03-19 20:53:43.987 [GPS:ERRO] Failed to open TTY './': Is a directory
 basicstation  2025-03-19 20:53:43.987 [GPS:CRIT] Initial open of GPS FIFO './' failed - GPS disabled!
 basicstation  2025-03-19 20:53:43.987 [TCE:INFO] Starting TC engine
 basicstation  2025-03-19 20:53:44.025 [AIO:INFO] ./tc.trust: 
 basicstation  cert. version     : 3
 basicstation  serial number     : 04:00:00:00:00:01:15:4B:5A:C3:94
 basicstation  issuer name       : C=BE, O=GlobalSign nv-sa, OU=Root CA, CN=GlobalSign Root CA
 basicstation  subject name      : C=BE, O=GlobalSign nv-sa, OU=Root CA, CN=GlobalSign Root CA
 basicstation  issued  on        : 1998-09-01 12:00:00
Warning: Suppressed 165 message(s) due to rate limiting
 basicstation  issued  on        : 1998-09-01 12:00:00
 basicstation  expires on        : 2028-01-28 12:00:00
 basicstation  signed using      : RSA with SHA1
 basicstation  RSA key size      : 2048 bits
 basicstation  basic constraints : CA=true
 basicstation  key usage         : Key Cert Sign, CRL Sign
 basicstation  2025-03-19 20:54:48.491 [TCE:INFO] Connecting to INFOS: wss://lls.eu1.cloud.thethings.industries:8887
 basicstation  2025-03-19 20:54:48.724 [TCE:INFO] Infos: 2ccf:67ff:fe61:d22 muxs-::0 wss://lls.eu1.cloud.thethings.industries:8887/traffic/eui-2CCF67FFFE610D22
 basicstation  2025-03-19 20:54:48.724 [AIO:DEBU] [4] ws_close reason=1000
 basicstation  2025-03-19 20:54:48.724 [AIO:DEBU] Echoing close - reason=1000
 basicstation  2025-03-19 20:54:48.724 [AIO:ERRO] Recv failed: SSL - The peer notified us that the connection is going to be closed
 basicstation  2025-03-19 20:54:48.724 [AIO:DEBU] [4] WS connection shutdown...
 basicstation  2025-03-19 20:54:48.762 [AIO:INFO] ./tc.trust: 
 basicstation  cert. version     : 3
 basicstation  serial number     : 04:00:00:00:00:01:15:4B:5A:C3:94
 basicstation  issuer name       : C=BE, O=GlobalSign nv-sa, OU=Root CA, CN=GlobalSign Root CA
 basicstation  subject name      : C=BE, O=GlobalSign nv-sa, OU=Root CA, CN=GlobalSign Root CA
 basicstation  issued  on        : 1998-09-01 12:00:00
 basicstation  expires on        : 2028-01-28 12:00:00
 basicstation  signed using      : RSA with SHA1
 basicstation  RSA key size      : 2048 bits
 basicstation  basic constraints : CA=true
 basicstation  key usage         : Key Cert Sign, CRL Sign
 basicstation  2025-03-19 20:54:48.762 [TCE:VERB] Connecting to MUXS...
 basicstation  2025-03-19 20:54:49.001 [S00:VERB] /app/config/reset.sh: Forked, waiting...
 basicstation  2025-03-19 20:54:49.001 [S00:DEBU] execvp argv[0]: </app/config/reset.sh>
 basicstation  2025-03-19 20:54:49.001 [S00:DEBU]        argv[1]: </dev/spidev0.0>
 basicstation  2025-03-19 20:54:49.001 [S00:DEBU]        argv[2]: <0>
 basicstation  Concentrator reset through gpiochip4:17 (using libgpiod)
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] Process /app/config/reset.sh (pid=55) completed
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] Lora gateway library version: Version: 2.1.0;
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] [LGW sx1302] full_duplex=0 clksrc=0 lorawan_public=1
 basicstation  2025-03-19 20:54:49.008 [S00:DEBU] SX130x txlut table (16 entries)
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] SX1302 txlut  0:  rf_power=12 pa_gain=0 pwr_idx=15
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] SX1302 txlut  1:  rf_power=13 pa_gain=0 pwr_idx=16
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] SX1302 txlut  2:  rf_power=14 pa_gain=0 pwr_idx=17
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] SX1302 txlut  3:  rf_power=15 pa_gain=0 pwr_idx=19
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] SX1302 txlut  4:  rf_power=16 pa_gain=0 pwr_idx=20
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] SX1302 txlut  5:  rf_power=17 pa_gain=0 pwr_idx=22
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] SX1302 txlut  6:  rf_power=18 pa_gain=1 pwr_idx=1
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] SX1302 txlut  7:  rf_power=19 pa_gain=1 pwr_idx=2
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] SX1302 txlut  8:  rf_power=20 pa_gain=1 pwr_idx=3
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] SX1302 txlut  9:  rf_power=21 pa_gain=1 pwr_idx=4
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] SX1302 txlut 10:  rf_power=22 pa_gain=1 pwr_idx=5
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] SX1302 txlut 11:  rf_power=23 pa_gain=1 pwr_idx=6
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] SX1302 txlut 12:  rf_power=24 pa_gain=1 pwr_idx=7
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] SX1302 txlut 13:  rf_power=25 pa_gain=1 pwr_idx=9
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] SX1302 txlut 14:  rf_power=26 pa_gain=1 pwr_idx=11
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] SX1302 txlut 15:  rf_power=27 pa_gain=1 pwr_idx=14
 basicstation  2025-03-19 20:54:49.008 [S00:INFO]  RX/TX RF0:    867.5MHz rssi_offset=-215.4 type=5 rssi_tcomp=0.000 0.000 20.410 2162.560 0.000
 basicstation  2025-03-19 20:54:49.008 [S00:INFO]  RX    RF1:    868.5MHz rssi_offset=-215.4 type=5 rssi_tcomp=0.000 0.000 20.410 2162.560 0.000
 basicstation  2025-03-19 20:54:49.008 [S00:INFO]  [mSF]   0:    868.1MHz rf=1 freq=-400.0 datarate=0
 basicstation  2025-03-19 20:54:49.008 [S00:INFO]  [mSF]   1:    868.3MHz rf=1 freq=-200.0 datarate=0
 basicstation  2025-03-19 20:54:49.008 [S00:INFO]  [mSF]   2:    868.5MHz rf=1 freq=  +0.0 datarate=0
 basicstation  2025-03-19 20:54:49.008 [S00:INFO]  [mSF]   3:    867.1MHz rf=0 freq=-400.0 datarate=0
 basicstation  2025-03-19 20:54:49.008 [S00:INFO]  [mSF]   4:    867.3MHz rf=0 freq=-200.0 datarate=0
 basicstation  2025-03-19 20:54:49.008 [S00:INFO]  [mSF]   5:    867.5MHz rf=0 freq=  +0.0 datarate=0
 basicstation  2025-03-19 20:54:49.008 [S00:INFO]  [mSF]   6:    867.7MHz rf=0 freq=+200.0 datarate=0
 basicstation  2025-03-19 20:54:49.008 [S00:INFO]  [mSF]   7:    867.9MHz rf=0 freq=+400.0 datarate=0
 basicstation  2025-03-19 20:54:49.008 [S00:INFO]  [STD]   8:    868.3MHz rf=1 freq=-200.0 datarate=7 bw=5 Explicit header
 basicstation  2025-03-19 20:54:49.008 [S00:INFO]  [FSK]   9:    868.8MHz rf=1 freq=+300.0 datarate=50000 bw=0 sync_word=0/0
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] Station device: spi:/dev/spidev0.0 (PPS capture disabled)
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] [lgw_com_open:84] Opening SPI communication interface
 basicstation  2025-03-19 20:54:49.008 [S00:INFO] [lgw_spi_open:88] Setting SPI speed to 8000000
 basicstation  2025-03-19 20:54:49.009 [S00:INFO] [lgw_connect:1192] chip version is 0x05 (v0.5)
 basicstation  2025-03-19 20:54:48.965 [TCE:VERB] Connected to MUXS.
 basicstation  2025-03-19 20:54:48.981 [RAL:INFO] Region plan hwspec 'sx1301/1' mapped to 1 slaves 'sx1301/1'
 basicstation  2025-03-19 20:54:48.981 [RAL:INFO] Master sending 679 bytes of JSON sx1301conf to slave (0)
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO] Configuring for region: EU868 -- 863.0MHz..870.0MHz
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   DR0  SF12/BW125 
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   DR1  SF11/BW125 
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   DR2  SF10/BW125 
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   DR3  SF9/BW125 
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   DR4  SF8/BW125 
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   DR5  SF7/BW125 
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   DR6  SF7/BW250 
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   DR7  FSK 
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   DR8  FSK 
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   DR9  FSK 
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   DR10 FSK 
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   DR11 FSK 
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   DR12 FSK 
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   DR13 FSK 
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   DR14 FSK 
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   DR15 FSK 
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   TX power: 16.0 dBm EIRP
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]             27.0 dBm EIRP for 869.4MHz..869.65MHz
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   JoinEui list: 0 entries
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   NetID filter: FFFFFFFF-FFFFFFFF-FFFFFFFF-FFFFFFFF
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO]   Dev/test settings: nocca=1 nodc=1 nodwell=1
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO] Beaconing every 2m8s on 869.525MHz(1) @ DR3 (frame layout 2/8/17)
 basicstation  2025-03-19 20:54:48.981 [S2E:INFO] Beaconing suspend - missing GPS data: time 
 basicstation  ERROR: Failed to set SX1250_0 in STANDBY_RC mode
 basicstation  2025-03-19 20:54:50.610 [S00:ERRO] [lgw_start:908] failed to setup radio 0
 basicstation  2025-03-19 20:54:50.610 [S00:ERRO] Concentrator start failed: lgw_start
 basicstation  2025-03-19 20:54:50.610 [S00:CRIT] Slave radio start up failed with status 0x08
 basicstation  2025-03-19 20:54:50.590 [RAL:ERRO] Slave (0) - EOF
 basicstation  2025-03-19 20:54:50.590 [any:CRIT] Slave pid=54 idx=0: Fatal exit
Service exited 'basicstation sha256:04ed21921dc041e310136ea74da52d89f9531655442f44a9ec5b7efd4b13cf61'
Restarting service 'basicstation sha256:04ed21921dc041e310136ea74da52d89f9531655442f44a9ec5b7efd4b13cf61'

The problem seems to be here, where it says that the concentrator fails to start:

 basicstation  2025-03-19 20:54:50.610 [S00:ERRO] [lgw_start:908] failed to setup radio 0
 basicstation  2025-03-19 20:54:50.610 [S00:ERRO] Concentrator start failed: lgw_start
 basicstation  2025-03-19 20:54:50.610 [S00:CRIT] Slave radio start up failed with status 0x08
 basicstation  2025-03-19 20:54:50.590 [RAL:ERRO] Slave (0) - EOF
 basicstation  2025-03-19 20:54:50.590 [any:CRIT] Slave pid=54 idx=0: Fatal exit

… and here as well

 basicstation  2025-03-19 20:54:48.724 [AIO:DEBU] [4] ws_close reason=1000
 basicstation  2025-03-19 20:54:48.724 [AIO:DEBU] Echoing close - reason=1000
 basicstation  2025-03-19 20:54:48.724 [AIO:ERRO] Recv failed: SSL - The peer notified us that the connection is going to be closed

Am I missing something in my configuration?

Hi.
Please check if SPI is enabled by running the following command:

ls /dev/spidev*

Hi rojasyal,

This is what I get from the HOST terminal:

root@f3a3b19:~# ls /dev/spidev*
/dev/spidev0.0 /dev/spidev0.1 /dev/spidev10.0
root@f3a3b19:~#

Also, I see there is a problem with the container from the basicstation terminal

Spawning shell...
Error response from daemon: Container 31e3d3dc58a361af778eb6adf91e77a5fe2c76ddc539335c4a2c36e624dc7b18 is restarting, wait until the container is running
Error response from daemon: Container 31e3d3dc58a361af778eb6adf91e77a5fe2c76ddc539335c4a2c36e624dc7b18 is restarting, wait until the container is running
SSH session disconnected
SSH reconnecting...
Spawning shell...
Error response from daemon: Container 31e3d3dc58a361af778eb6adf91e77a5fe2c76ddc539335c4a2c36e624dc7b18 is restarting, wait until the container is running
Error response from daemon: Container 31e3d3dc58a361af778eb6adf91e77a5fe2c76ddc539335c4a2c36e624dc7b18 is restarting, wait until the container is running
SSH session disconnected
SSH reconnecting...
Spawning shell...
Error response from daemon: Container 31e3d3dc58a361af778eb6adf91e77a5fe2c76ddc539335c4a2c36e624dc7b18 is restarting, wait until the container is running
SSH session disconnected
SSH reconnecting...
Spawning shell...

check if the service has access to SPI/GPIO.
Edit your docker-compose.yml and make sure it includes:

version: ‘2.1’
services:
basicstation:
privileged: true
devices:
- “/dev/spidev0.0”
- “/dev/gpiomem”

I’m not quite sure how to do that. What I can see from the release summary is the below. Would I have to change the content? That is the 2.8.4 release. I’m not sure how/where to access the docker-compose.yml file.

version: '2.4'
services:
  basicstation:
    image: xoseperez/basicstation:latest
    restart: unless-stopped
    privileged: true
    network_mode: host
    container_name: basicstation

I managed to add this as a new release (but I really don’t know what I am doing)

version: '2.4'
services:
  basicstation:
    image: xoseperez/basicstation:latest
    devices:
      - /dev/spidev0.0
      - /dev/gpiomem
    restart: unless-stopped
    privileged: true
    network_mode: host
    container_name: basicstation

But it is not working. Monitoring the TTI dashboard, I see the Gateway disconnect every 30-40 seconds.

Hello @lls could you please confirm if it works in previous balenaOS versions?

Thanks!

Hi Marc,

Thank you for jumping in. This is a new gateway and yes, I got it working with the previous BalenaOS before updating. Although it was a bit unstable, maybe because I had set the model to RAK5146 instead of RAK2287 by mistake. But it was showing connected in the TTI dashboard.

@lls could you please try with the balenaOS version that works and share that version with us here?

Looks that maybe something is missing in the latest balenaOS versions and we are researching.

Thanks

Yes, I’ll be happy to try that, but I am not sure how I can downgrade to an earlier version of the balenaOS without flashing a new card. What would you suggest?

By the way, I have a second GW based on RAK833 + Pi3 that is working fine. Only the new one (RAK2287 + Pi5) is having issues connecting.

1 Like

Hi,

I saw somewhere on the forum that downgrading BalenaOS is not supported. So, I flashed another ssd with balenaOS 5.3.22. The gateway started immediately and is showing no errors. I suppose there is something wrong with the latest release. Let me know if you need more information that might help identifying the problem.

Below is an extract of the log

Supervisor starting
Taking update locks
Killing service 'basicstation sha256:04ed21921dc041e310136ea74da52d89f9531655442f44a9ec5b7efd4b13cf61'
Warning: Suppressed 63 message(s) due to rate limiting
<basicstation> 2025-03-20 15:50:38.473 [RAL:INFO] Master has started slave: pid=58 idx=0 (attempt 1)

<basicstation> 2025-03-20 15:50:38.673 [GPS:ERRO] Failed to open TTY './': Is a directory

<basicstation> 2025-03-20 15:50:38.673 [GPS:CRIT] Initial open of GPS FIFO './' failed - GPS disabled!

<basicstation> 2025-03-20 15:50:38.673 [TCE:INFO] Starting TC engine

<basicstation> 2025-03-20 15:50:38.699 [AIO:INFO] ./tc.trust: 

<basicstation> cert. version     : 3

<basicstation> serial number     : 04:00:00:00:00:01:15:4B:5A:C3:94

<basicstation> issuer name       : C=BE, O=GlobalSign nv-sa, OU=Root CA, CN=GlobalSign Root CA

<basicstation> subject name      : C=BE, O=GlobalSign nv-sa, OU=Root CA, CN=GlobalSign Root CA

<basicstation> issued  on        : 1998-09-01 12:00:00

<basicstation> expires on        : 2028-01-28 12:00:00

<basicstation> signed using      : RSA with SHA1

<basicstation> RSA key size      : 2048 bits

<basicstation> basic constraints : CA=true

<basicstation> key usage         : Key Cert Sign, CRL Sign

<basicstation> 2025-03-20 15:50:38.699 [TCE:INFO] Connecting to INFOS: wss://lls.eu1.cloud.thethings.industries:8887

<basicstation> 2025-03-20 15:50:38.947 [TCE:INFO] Infos: 2ccf:67ff:fe61:d22 muxs-::0 wss://lls.eu1.cloud.thethings.industries:8887/traffic/eui-2CCF67FFFE610D22

<basicstation> 2025-03-20 15:50:38.947 [AIO:DEBU] [4] ws_close reason=1000

<basicstation> 2025-03-20 15:50:38.947 [AIO:ERRO] Recv failed: SSL - The peer notified us that the connection is going to be closed

<basicstation> 2025-03-20 15:50:38.947 [AIO:DEBU] [4] WS connection shutdown...

<basicstation> 2025-03-20 15:50:38.971 [AIO:INFO] ./tc.trust: 

<basicstation> cert. version     : 3

<basicstation> serial number     : 04:00:00:00:00:01:15:4B:5A:C3:94

<basicstation> issuer name       : C=BE, O=GlobalSign nv-sa, OU=Root CA, CN=GlobalSign Root CA

<basicstation> subject name      : C=BE, O=GlobalSign nv-sa, OU=Root CA, CN=GlobalSign Root CA

<basicstation> issued  on        : 1998-09-01 12:00:00

<basicstation> expires on        : 2028-01-28 12:00:00

<basicstation> signed using      : RSA with SHA1

<basicstation> RSA key size      : 2048 bits

<basicstation> basic constraints : CA=true

<basicstation> key usage         : Key Cert Sign, CRL Sign

<basicstation> 2025-03-20 15:50:38.971 [TCE:VERB] Connecting to MUXS...

<basicstation> 2025-03-20 15:50:39.220 [S00:VERB] /app/config/reset.sh: Forked, waiting...

<basicstation> 2025-03-20 15:50:39.220 [S00:DEBU] execvp argv[0]: </app/config/reset.sh>

<basicstation> 2025-03-20 15:50:39.220 [S00:DEBU]        argv[1]: </dev/spidev0.0>

<basicstation> 2025-03-20 15:50:39.220 [S00:DEBU]        argv[2]: <0>

<basicstation> Concentrator reset through gpiochip4:17 (using libgpiod)

<basicstation> 2025-03-20 15:50:39.173 [TCE:VERB] Connected to MUXS.

<basicstation> 2025-03-20 15:50:39.202 [RAL:INFO] Region plan hwspec 'sx1301/1' mapped to 1 slaves 'sx1301/1'

<basicstation> 2025-03-20 15:50:39.202 [RAL:INFO] Master sending 679 bytes of JSON sx1301conf to slave (0)

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO] Configuring for region: EU868 -- 863.0MHz..870.0MHz

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   DR0  SF12/BW125 

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   DR1  SF11/BW125 

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   DR2  SF10/BW125 

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   DR3  SF9/BW125 

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   DR4  SF8/BW125 

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   DR5  SF7/BW125 

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   DR6  SF7/BW250 

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   DR7  FSK 

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   DR8  FSK 

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   DR9  FSK 

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   DR10 FSK 

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   DR11 FSK 

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   DR12 FSK 

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   DR13 FSK 

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   DR14 FSK 

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   DR15 FSK 

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   TX power: 16.0 dBm EIRP

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]             27.0 dBm EIRP for 869.4MHz..869.65MHz

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   JoinEui list: 0 entries

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   NetID filter: FFFFFFFF-FFFFFFFF-FFFFFFFF-FFFFFFFF

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO]   Dev/test settings: nocca=1 nodc=1 nodwell=1

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO] Beaconing every 2m8s on 869.525MHz(1) @ DR3 (frame layout 2/8/17)

<basicstation> 2025-03-20 15:50:39.202 [S2E:INFO] Beaconing suspend - missing GPS data: time 

<basicstation> 2025-03-20 15:50:39.528 [S00:INFO] Process /app/config/reset.sh (pid=59) completed

<basicstation> 2025-03-20 15:50:39.528 [S00:INFO] Lora gateway library version: Version: 2.1.0;

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] [LGW sx1302] full_duplex=0 clksrc=0 lorawan_public=1

<basicstation> 2025-03-20 15:50:39.529 [S00:DEBU] SX130x txlut table (16 entries)

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] SX1302 txlut  0:  rf_power=12 pa_gain=0 pwr_idx=15

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] SX1302 txlut  1:  rf_power=13 pa_gain=0 pwr_idx=16

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] SX1302 txlut  2:  rf_power=14 pa_gain=0 pwr_idx=17

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] SX1302 txlut  3:  rf_power=15 pa_gain=0 pwr_idx=19

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] SX1302 txlut  4:  rf_power=16 pa_gain=0 pwr_idx=20

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] SX1302 txlut  5:  rf_power=17 pa_gain=0 pwr_idx=22

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] SX1302 txlut  6:  rf_power=18 pa_gain=1 pwr_idx=1

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] SX1302 txlut  7:  rf_power=19 pa_gain=1 pwr_idx=2

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] SX1302 txlut  8:  rf_power=20 pa_gain=1 pwr_idx=3

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] SX1302 txlut  9:  rf_power=21 pa_gain=1 pwr_idx=4

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] SX1302 txlut 10:  rf_power=22 pa_gain=1 pwr_idx=5

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] SX1302 txlut 11:  rf_power=23 pa_gain=1 pwr_idx=6

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] SX1302 txlut 12:  rf_power=24 pa_gain=1 pwr_idx=7

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] SX1302 txlut 13:  rf_power=25 pa_gain=1 pwr_idx=9

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] SX1302 txlut 14:  rf_power=26 pa_gain=1 pwr_idx=11

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] SX1302 txlut 15:  rf_power=27 pa_gain=1 pwr_idx=14

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO]  RX/TX RF0:    867.5MHz rssi_offset=-215.4 type=5 rssi_tcomp=0.000 0.000 20.410 2162.560 0.000

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO]  RX    RF1:    868.5MHz rssi_offset=-215.4 type=5 rssi_tcomp=0.000 0.000 20.410 2162.560 0.000

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO]  [mSF]   0:    868.1MHz rf=1 freq=-400.0 datarate=0

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO]  [mSF]   1:    868.3MHz rf=1 freq=-200.0 datarate=0

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO]  [mSF]   2:    868.5MHz rf=1 freq=  +0.0 datarate=0

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO]  [mSF]   3:    867.1MHz rf=0 freq=-400.0 datarate=0

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO]  [mSF]   4:    867.3MHz rf=0 freq=-200.0 datarate=0

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO]  [mSF]   5:    867.5MHz rf=0 freq=  +0.0 datarate=0

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO]  [mSF]   6:    867.7MHz rf=0 freq=+200.0 datarate=0

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO]  [mSF]   7:    867.9MHz rf=0 freq=+400.0 datarate=0

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO]  [STD]   8:    868.3MHz rf=1 freq=-200.0 datarate=7 bw=5 Explicit header

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO]  [FSK]   9:    868.8MHz rf=1 freq=+300.0 datarate=50000 bw=0 sync_word=0/0

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] Station device: spi:/dev/spidev0.0 (PPS capture disabled)

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] [lgw_com_open:84] Opening SPI communication interface

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] [lgw_spi_open:88] Setting SPI speed to 8000000

<basicstation> 2025-03-20 15:50:39.529 [S00:INFO] [lgw_connect:1192] chip version is 0x10 (v1.0)

<basicstation> 2025-03-20 15:50:41.738 [S00:INFO] [timestamp_counter_mode:431] using legacy timestamp

<basicstation> 2025-03-20 15:50:41.787 [S00:INFO] Concentrator started (2s258ms)

<basicstation> 2025-03-20 15:51:23.777 [SYN:INFO] MCU/SX130X drift stats: min: -8.1ppm  q50: -9.0ppm  q80: -10.0ppm  max: -11.4ppm - threshold q90: -10.5ppm

<basicstation> 2025-03-20 15:51:23.777 [SYN:INFO] Mean MCU drift vs SX130X#0: -9.2ppm

<basicstation> 2025-03-20 15:51:42.681 [SYN:INFO] Time sync qualities: min=106 q90=131 max=134 (previous q90=2147483647)

<basicstation> 2025-03-20 15:51:48.982 [SYN:VERB] Time sync rejected: quality=137 threshold=131

<basicstation> 2025-03-20 15:51:49.243 [S2E:VERB] RX 868.5MHz DR2 SF10/BW125 snr=9.8 rssi=-54 xtime=0x840000040EAD1C - updf mhdr=40 DevAddr=4800001D FCtrl=80 FCnt=1576 FOpts=[] 12132C89..43CF mic=-504046708 (25 bytes)

<basicstation> 2025-03-20 15:51:57.384 [SYN:VERB] Time sync rejected: quality=135 threshold=131

<basicstation> 2025-03-20 15:52:03.685 [SYN:VERB] Time sync rejected: quality=134 threshold=131

<basicstation> 2025-03-20 15:52:09.986 [SYN:VERB] Time sync rejected: quality=133 threshold=131

<basicstation> 2025-03-20 15:52:14.186 [SYN:INFO] MCU/SX130X drift stats: min: -8.1ppm  q50: -9.5ppm  q80: -9.5ppm  max: -10.5ppm - threshold q90: -10.0ppm

<basicstation> 2025-03-20 15:52:14.186 [SYN:INFO] Mean MCU drift vs SX130X#0: -9.2ppm

<basicstation> 2025-03-20 15:52:22.589 [SYN:VERB] Time sync rejected: quality=132 threshold=131

<basicstation> 2025-03-20 15:52:40.442 [SYN:VERB] Time sync rejected: quality=132 threshold=131

<basicstation> 2025-03-20 15:52:44.643 [SYN:INFO] Time sync qualities: min=110 q90=135 max=137 (previous q90=131)

<basicstation> 2025-03-20 15:52:59.346 [SYN:INFO] MCU/SX130X drift stats: min: -8.1ppm  q50: -9.5ppm  q80: -10.2ppm  max: -10.5ppm - threshold q90: -10.5ppm

<basicstation> 2025-03-20 15:52:59.346 [SYN:INFO] Mean MCU drift vs SX130X#0: -9.5ppm

<basicstation> 2025-03-20 15:53:28.753 [SYN:VERB] Time sync rejected: quality=138 threshold=135

<basicstation> 2025-03-20 15:53:37.154 [SYN:VERB] Time sync rejected: quality=137 threshold=135

<basicstation> 2025-03-20 15:53:43.455 [SYN:INFO] Time sync qualities: min=110 q90=133 max=138 (previous q90=135)

<basicstation> 2025-03-20 15:53:43.455 [SYN:INFO] MCU/SX130X drift stats: min: -6.2ppm  q50: -9.5ppm  q80: -10.5ppm  max: -11.0ppm - threshold q90: -10.9ppm

<basicstation> 2025-03-20 15:53:43.455 [SYN:INFO] Mean MCU drift vs SX130X#0: -9.3ppm

<basicstation> 2025-03-20 15:54:24.413 [SYN:INFO] MCU/SX130X drift stats: min: -8.6ppm  q50: -9.5ppm  q80: -10.5ppm  max: -11.0ppm - threshold q90: -10.5ppm

<basicstation> 2025-03-20 15:54:24.413 [SYN:INFO] Mean MCU drift vs SX130X#0: -9.6ppm

<basicstation> 2025-03-20 15:54:45.418 [SYN:INFO] Time sync qualities: min=118 q90=131 max=132 (previous q90=133)

<basicstation> 2025-03-20 15:55:05.372 [SYN:INFO] MCU/SX130X drift stats: min: -8.6ppm  q50: -9.5ppm  q80: -10.0ppm  max: -10.9ppm - threshold q90: -10.5ppm

<basicstation> 2025-03-20 15:55:05.372 [SYN:INFO] Mean MCU drift vs SX130X#0: -9.5ppm

<basicstation> 2025-03-20 15:55:47.381 [SYN:INFO] Time sync qualities: min=119 q90=129 max=130 (previous q90=131)

<basicstation> 2025-03-20 15:55:47.381 [SYN:INFO] MCU/SX130X drift stats: min: -8.6ppm  q50: -9.5ppm  q80: -10.0ppm  max: -10.5ppm - threshold q90: -10.5ppm

<basicstation> 2025-03-20 15:55:47.381 [SYN:INFO] Mean MCU drift vs SX130X#0: -9.5ppm

<basicstation> 2025-03-20 15:55:50.128 [S2E:VERB] RX 867.3MHz DR5 SF7/BW125 snr=-3.5 rssi=-104 xtime=0x840000126A94F3 - updf mhdr=40 DevAddr=270330D2 FCtrl=81 FCnt=1294 FOpts=[02] 55C983E9..858D mic=-902540247 (21 bytes)
2 Likes

@lls at the moment stay at the version that works and once we will have a newer version that works we will keep you posted!

Having said that, could you please confirm what model of Pi are you using?

Thanks

I’m using a Raspberry pi5 / 4GB

@lls could you please tun in the Terminal > HostOS

cat /proc/cpuinfo

and paste here what you get? Thanks!

Hi,

Please see below the output

root@aecda41:~# cat /proc/cpuinfo
processor       : 0
BogoMIPS        : 108.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x4
CPU part        : 0xd0b
CPU revision    : 1

processor       : 1
BogoMIPS        : 108.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x4
CPU part        : 0xd0b
CPU revision    : 1

processor       : 2
BogoMIPS        : 108.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x4
CPU part        : 0xd0b
CPU revision    : 1

processor       : 3
BogoMIPS        : 108.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x4
CPU part        : 0xd0b
CPU revision    : 1

Revision        : c04170
Serial          : 44eb4a26cc156ca6
Model           : Raspberry Pi 5 Model B Rev 1.0
root@aecda41:~#

I’ve been having this same exact issue with my RPI4 + RAK 2287.

Same Errors and Ive tried multiple different versions of balenaOS with no success.