Because my NAS isn’t used while I’m at work, I set up a systemd service that reliably suspends the OS to memory at the same time every day (excluding weekends), and uses rtcwake to then wake it up again just before I typically get home from work. I also have an alias set up on my laptop to send a magic packet to the NAS in case I get home earlier etc. The issue is, that while the nas wakes up automatically, it does not wake up if I send a magic packet. In the BIOS of my MSI motherboard, I can change who handles wake events from OS to BIOS and doing so fixes my magic packet issues, but it also causes the systemd service to no longer wake the nas. WakeOnLAN is enabled in the network card, the network card is bridged ( I use the ‘real’ mac for WoL though). I got it to work while my nas ran ubuntu on different hardware (Biostar motherboard), but I’m a bit confused as to why I can no longer make it work.
any ideas?
Edit: I fixed it. On my specific MSI motherboard, wake event handling needs to be set to BIOS controlled, then wake on pcie needs to be enabled and wake on rtc needs to be disabled (!). This way, I guess, the BIOS does not take control over the rtc alarm, allowing the OS to write to it instead. Wake On LAN is still handled by the BIOS though, as it should be.
I also realize that this was an MSI-related topic, not so much OpenSUSE, but I’d ask the mods to keep this post around in case anybody else ever stumbles across it.