wake on lan on Ubuntu 16.04 (KDE Neon)

Installation and configuration.
Post Reply
User avatar
lulu116
Posts: 16
Joined: Mon Oct 02, 2017 5:26 pm
Location: Paris - France

wake on lan on Ubuntu 16.04 (KDE Neon)

Post 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...
KDE neon User Edition - 18.04 - bionic - No windows for me thanks
User avatar
lulu116
Posts: 16
Joined: Mon Oct 02, 2017 5:26 pm
Location: Paris - France

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

Post 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.
KDE neon User Edition - 18.04 - bionic - No windows for me thanks
User avatar
timurhai
Site Admin
Posts: 910
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

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

Post 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.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
User avatar
lulu116
Posts: 16
Joined: Mon Oct 02, 2017 5:26 pm
Location: Paris - France

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

Post by lulu116 »

thank you.good to know.I will look at that.
KDE neon User Edition - 18.04 - bionic - No windows for me thanks
User avatar
timurhai
Site Admin
Posts: 910
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

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

Post 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",
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
User avatar
lulu116
Posts: 16
Joined: Mon Oct 02, 2017 5:26 pm
Location: Paris - France

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

Post by lulu116 »

thank you Timur.I will try that
luc
KDE neon User Edition - 18.04 - bionic - No windows for me thanks
Post Reply