this post was submitted on 12 Oct 2023
10 points (85.7% liked)

openSUSE

622 readers
3 users here now

openSUSE is an open, free and secure operating system for PC, laptops, servers and ARM devices. Managing your emails, browsing the web, watching online streams, playing games, serving websites or doing office work never felt this empowering. And best part? It's not only backed by one of the leaders in open source industry, but also driven by lively community.

founded 1 year ago
MODERATORS
10
submitted 1 year ago* (last edited 1 year ago) by ichbinjasokreativ to c/opensuse
 

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.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here