Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3476

Beginners • Pi 02W, "can't read /etc/rc.local no such file or directory"

$
0
0
This is almost certainly a rookie question hence I've dropped it here.

I'm setting up a 02W to run the birdnet project, having previously had it running on a Pi4.

Before even installing the software, instructions for the 02W are to run the following commands to increase the swap memory, and to disable power saving.

https://github.com/mcguirepr89/BirdNET- ... tion-Guide

Code:

sudo sed -i 's/CONF_SWAPSIZE=100/CONF_SWAPSIZE=2048/g' /etc/dphys-swapfile &&sudo sed -i 's/#CONF_MAXSWAP=2048/CONF_MAXSWAP=4096/g' /etc/dphys-swapfile &&sudo sed -i '/^exit 0/i sudo iw wlan0 set power_save off' /etc/rc.local &&sudo reboot
Which for me returns

Code:

can't read /etc/rc.local: No such file or directory
I'm guessing this is maybe something to do with systemd which may have changed since the instructions were written? I've asked on the github page, but I feel this is a pretty general question which may get a better response here.

Statistics: Posted by heyho — Fri Dec 27, 2024 12:46 pm — Replies 4 — Views 57



Viewing all articles
Browse latest Browse all 3476

Trending Articles