OpenIotNetwork / ic880a-setup-scripts

TTN Gateway setup scripts (Raspi, iC880A)
MIT License
2 stars 1 forks source link

Error during gateway status check #3

Open vinualex21 opened 3 years ago

vinualex21 commented 3 years ago

Everything seems to work smoothly except for when I run the final script to check the gateway status and get the error [ERROR]: There are not enough start.sh scripts running.

What does this mean? Can someone please help me with this?

schulti commented 3 years ago

This means the packet forwarder is probably not running. Did you reboot the device as adivsed? What happens if you try to run ./start.sh through CLI?

vinualex21 commented 3 years ago

Yes, I did reboot it. When I ran the ./start.sh through CLI I got the following.

./poly_pkt_fwd: No such file or directory

vinualex21 commented 3 years ago

I'm also getting this error before that.

line 5: echo: write error: Device or resource busy

schulti commented 3 years ago

Are you running the scripts as root? The message means that the scripts cannot write on your disk/flash memory. Is your system read-only?

vinualex21 commented 3 years ago

I am running as root.

I'm not sure. I think the error is occurring on line 5 of start.sh ... line 5: echo "$SX1301_RESET_BCM_PIN" > /sys/class/gpio/export ... The permissions for the /export folder are rwx for root user.

How do I check if the system is read-only?