Rak831 doesnt start


(Paulo Sérgio) #1

Hi!

When i start my RAK831 I see this error on logs

Jul 10 23:39:16 eui-b827ebb73008ffff ttn-gateway[5608]: INFO: Description configured to “Rak831”
Jul 10 23:39:16 eui-b827ebb73008ffff ttn-gateway[5608]: INFO: Successfully contacted server router.eu.thethings.network
Jul 10 23:39:16 eui-b827ebb73008ffff ttn-gateway[5608]: INFO: [main] Starting the concentrator
Jul 10 23:39:16 eui-b827ebb73008ffff ttn-gateway[5608]: ERROR: [main] failed to start the concentrator

failed to start the concentrator ??? Any help??

Thanks !


(Frederir) #2

I had the same error when the reset pin for rak831 was not properly configured.

What is your hardware setup ?


(Paulo Sérgio) #3

Hi,

I solve my problem making a reset.
For reset I use a new Linux script.

  • Create a new script file : some_name.sh
    ======================================
    #!/bin/bash
    echo “17” > /sys/class/gpio/export
    echo “out” > /sys/class/gpio/gpio17/direction
    echo “1” > /sys/class/gpio/gpio17/value
    sleep 5
    echo “0” > /sys/class/gpio/gpio17/value
    sleep 1
    echo “0” > /sys/class/gpio/gpio17/value
    ===================================

  • Than I gave execute permission, something like:
    sudo chmod 777 ./some_name.sh

  • Than I executed:
    sudo ./some_name.sh

Gateway connected !

Good luck


(Weidner) #4

I changed the number of the used RESET pin in the file /opt/ttn-gateway/bin/start.sh to
SX1301_RESET_BCM_PIN=25

and then it worked.