ERROR: [main] failed to start the concentrator modify start.sh script

May 14, 2024, 17:51

incognitas0411

Hi I am getting "ERROR: [main] failed to start the concentrator" when testing out packet forwarder. I think I found the solution here https://forum.rakwireless.com/t/rak2247-spi-pi-supply-failed-to-start-concentrator-follow-up/4679 I need to modify "start.sh" script, but I have no idea what commands to type in so I get to it and do modifications. here is the script that I need to get to: RAKWireless/rak_common_for_gateway/blob/master/lora/start.sh #! /bin/bash # Reset iC880a PIN SX1301_RESET_BCM_PIN=17 echo "$SX1301_RESET_BCM_PIN" > /sys/class/gpio/export echo "out" > /sys/class/gpio/gpio$SX1301_RESET_BCM_PIN/direction echo "0" > /sys/class/gpio/gpio$SX1301_RESET_BCM_PIN/value sleep 0.1 echo "1" > /sys/class/gpio/gpio$SX1301_RESET_BCM_PIN/value sleep 0.1 echo "0" > /sys/class/gpio/gpio$SX1301_RESET_BCM_PIN/value sleep 0.1 echo "$SX1301_RESET_BCM_PIN" > /sys/class/gpio/unexport ./set_eui.sh sleep 0.2 #./update_gwid.sh ./local_conf.json sleep 0.5 ./lora_pkt_fwd

illegitimate_egg

Using nano, like I showed you yesterday, you could just do nano [file path] to edit it

incognitas0411

This is the problem I don't know file path....

illegitimate_egg

RAKWireless/rak_common_for_gateway/blob/master/lora/start.sh you have this

incognitas0411

This file taken from other post explaining the solution. So i will try this: nano RAKWireless/rak_common_for_gateway/blob/master/lora/start.sh

incognitas0411

It says directory does not exist

incognitas0411

Also I tried: nano lora/start.sh The same: directory does not exist

thunder07337

Do an
ls
then you can see what is in the directory you are in. Otherwise you are searching blindly.

incognitas0411

Thanks, finally figured it out, I am in!

incognitas0411

First time i am using rapsberry pi...

incognitas0411


thunder07337

Raspberry Pi or Linux?

incognitas0411

Raspberry Pi 4 B

incognitas0411

thunder07337

No, I have no experience with this