goncalomb / reolink-tools

My explorations, tools and scripts for Reolink hardware (NVR only, for now).
16 stars 2 forks source link

RLN-36: depmod: can't open 'modules.dep': Read-only file system #3

Open tv7363 opened 5 months ago

tv7363 commented 5 months ago

Hi,

Managed to get SSH working on the RLN-36. The beep function in autoexec.sh needs to me modified to write to gpio194, not gpio0, like so:

beep() { echo 1 >/sys/class/gpio/gpio194/value ; sleep 0.2 echo 0 >/sys/class/gpio/gpio194/value ; sleep 0.8 }

However I don;t seem to reach the final 2 beeps. I believe it's failing at the depmod command, since I see an INJECTION_POINT directory populated, and when I run depmod from ssh I get "depmod: can't open 'modules.dep': Read-only file system". Can't figure our where the echoes in the script are logged.

I'm kind of a noob so I would appreciate help, I don't believe the kernel modules are loaded