Page 1 of 1

wake on lan on Ubuntu 16.04 (KDE Neon)

Posted: Thu Oct 05, 2017 5:21 pm
by lulu116
hello
I've been seting up wolsleep/wolwake on my machines and so far so good it's working fine now.
I'm using Kde Neon 16.04 xenial (Ubuntu 16.04) and I faced some problems
1/I had to switch from SysV to systemd scripts to get correct daemons autostart at boot ...
2/using the default wolsleep script gave me a lot of problems
"echo mem > /sys/power/state"
effectively put the system to sleep but then wolwake leaves the machine in an unusable state ..
it seems to be specific to Ubuntu.I found a lot of discussions of people having problems with suspend/hibernate with ubuntu 16.04.
on the machines I have this :
>more /sys/power/state : freeze standby mem disk
>more /sys/power/mem_sleep : s2idle shallow [deep]
I tried several combinations like sending "freeze" or "disk" to /sys/power/state but non worked .. the machine just doesn't wake up :(
so finally I just replaced wolsleep with a brute force "/sbin/shutdown" command.

I don't understand that much of the power state business so if someone got this to work on a 16.04 system please let me know...

Re: wake on lan on Ubuntu 16.04 (KDE Neon)

Posted: Thu Oct 05, 2017 5:28 pm
by lulu116
I have another question about wol :
on RoyalRender if you wake up a lot of machines it "delays" each wol by a few seconds :
from RR docs : "The Server has a delay between auto-WOL of Clients. Waking up all clients at the same time can be a problem with the power supply architecture"
I've heard that it could hurt the power supply of the machines or something like that.
does afanasy takes care of that ?
I have 50 machines that can wol at the same time.

Re: wake on lan on Ubuntu 16.04 (KDE Neon)

Posted: Sat Oct 14, 2017 12:13 pm
by timurhai
Hi.
There is no wol delay in Afanasy for now.
For now, you can enable wol service just on one machine, and write a custom command for wol.
Command can do wol, than sleep for 5 seconds.
This way you just 1 machine per 5 seconds should wake.

Re: wake on lan on Ubuntu 16.04 (KDE Neon)

Posted: Sat Oct 14, 2017 3:19 pm
by lulu116
thank you.good to know.I will look at that.

Re: wake on lan on Ubuntu 16.04 (KDE Neon)

Posted: Wed Sep 19, 2018 11:22 am
by timurhai
There is a af_wolwake_interval configurable option in a new CGRU versions:

Code: Select all

"af_wolwake_interval":10,
		"":"Number of cycles (seconds) between waking each render",