RAK51446 & RPi 4

I have an RPi 4 board with Bookworm installed on it. I tried to install the RAK5146 (SPI) gateway using install. In the end, I got a message: “sed: can’t read: No such file or directory,” so I’m sure something went wrong. But the gateway’s green LED was fired, so I thought that the gateway was installed. But after the reboot, the green LED stopped to fire. Any action on the gateway-config doesn’t take effect.
After the installation, I should have the wireless gateway’s logo on the screen, but that hasn’t happened.

What went wrong?

PS. I made the same installation on the other gateway a year ago, and it still works.

Hello @marekpow ,

Please re-run the install like that: sudo bash -x ./isntall.sh
If you get errors again please give us the whole error and execution messages.

Nikola Semov

The same error:

I didn’t install the Chirpstack with this install. I preinstalled the newest version of it before installing the gateway. However, I tried installing the Chirpstack along with the gateway, but I got the same error.

I successfully installed the gateway on the same board but with the bullseye on it. It doesn’t work with the bookworm edition of the Raspberry OS.

I usually don’t install the Chirpstack with the gateway because I’m sure that the gateway installs an older version of it.

BTW: there is a typo in your answer. Should be: /install.sh.

@Nikola, I made my last installation of the gateway in January this year. It still works. I made it on RPi4, and the bookworm was installed on it. The last change to the gateway was made in 2021, so this concludes that something changed in the bookworm edition, I think.

I found a workaround for RPi 4.

I installed the Bullseye on it. Next, I installed the latest version of the Chirpstack, and next, I installed the common gateway:

sudo ./install.sh --chirpstack=not_install

After that, I upgraded to the Bookworm version of the Raspberry Pi OS.
It simply works on the Bookworm and RPi 4.

It doesn’t work on the RPi 5 because this board doesn’t allow the installation of the Bullseye. Installation of the common gateway doesn’t work on this board and the Bookworm.

Hello @Nikola, do you (as the Rakwireless company) have a plan to improve the Rak common gateway so we can install it on the Bookworkm RP OS?

Hello @Nikola, I asked a question. Could you please give me an answer?

hi mark - this is key for me to understand. are you saying that the rakcommongateway does not work on rpi 5? @Nikola - please clarify. thanks in advance.

@prateek it doesn’t work on the Bookworm, it works on the Bullseye. It isn’t possible to install the r-w-g on the RPi 5 because it isn’t possible to install the Bullseye on the RPi 5 (it isn’t on the list of available OSes to install on this board.

I found a workaround to install w-r-g on the RPi 4 with the Bookworm on the board.

I described it in a few posts above.

The problem concerns only Bookworm OS. For any other, there is no problem. My former sensors work on the RPi 4 with the Bullseye on them.

I am struggling with SPI not being seen for RAK5146 on RPI4b+ using RAKPIOS. I wonder about restarting completely with Bullseye. Would it be possible for you to email me your steps? [email protected]. thank you!!

@prateek, I wrote about how to do it in one post above.

I installed the Bullseye on RPi4. Next, I installed the latest version of the Chirpstack, and next, I installed the common gateway:

sudo ./install.sh --chirpstack=not_install

Common rak gateway is here

i did that too, and it worked. so you were not successful at all on bookworm or their rakpios versions?

did you manage to install anything on a rpi5 board?

how did you move this to ssd?

@prateek RP5 should be able to use SSD by default. I haven’t tried it yet.
I found a page that said how to install SSD on RPi 4 and OS-es lower than Bookworm.

I attached SSD disk to RPi4 a long time ago, probably I used this page.

1 Like