Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3260

Hardware • [Solved] Seagate Personal Cloud NAS SRPD20 WOL

$
0
0
Hi folks,

I have a Seagate NAS running Debian Bookworm. I'm unable to get it to sleep, or resume from sleep via a WOL packet like it does with the original firmware.

I searched though the original firmware and found the required code.

It doesn't actually sleep, it shuts down and can be woken by WOL.

I figured out the box needs 2 things to accomplish this - the ethtool eth0 wol needs to be set to "g", and 2 GPIOs need to be set.

Debian 12 (and perhaps earlier versions) already automatically sets eth0 WOL to g, but for the sake of completeness, this can be manually set with

Code:

ethtool -s eth0 wol g
The GPIO code for enabling WOL in the ethernet chip on the Seagate is

Code:

echo 59 > /sys/class/gpio/exportecho 61 > /sys/class/gpio/exportecho out > /sys/class/gpio/gpio59/directionecho out > /sys/class/gpio/gpio61/directionecho 1 > /sys/class/gpio/gpio59/valueecho 1 > /sys/class/gpio/gpio61/valueecho 59 > /sys/class/gpio/unexportecho 61 > /sys/class/gpio/unexport
Issue poweroff, and the NAS can be woken via WOL magic packet.

Statistics: Posted by tony_p — 2024-03-05 23:49 — Replies 1 — Views 63



Viewing all articles
Browse latest Browse all 3260

Trending Articles