wake on lan on Ubuntu 16.04 (KDE Neon)

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

wake on lan on Ubuntu 16.04 (KDE Neon)

Post by lulu116 » Thu Oct 05, 2017 5:21 pm

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 5.10 - 16.04 - xenial - No windows for me thanks

User avatar
lulu116
Posts: 14
Joined: Mon Oct 02, 2017 5:26 pm
Location: Paris - France

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

Post by lulu116 » Thu Oct 05, 2017 5:28 pm

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 5.10 - 16.04 - xenial - No windows for me thanks

User avatar
timurhai
Site Admin
Posts: 383
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 » Sat Oct 14, 2017 12:13 pm

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 2.3.0 Debian 9, Ubuntu 18.04LTS, MS Windows 7,10 (client only).

User avatar
lulu116
Posts: 14
Joined: Mon Oct 02, 2017 5:26 pm
Location: Paris - France

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

Post by lulu116 » Sat Oct 14, 2017 3:19 pm

thank you.good to know.I will look at that.
KDE neon User Edition 5.10 - 16.04 - xenial - No windows for me thanks

User avatar
timurhai
Site Admin
Posts: 383
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 » Wed Sep 19, 2018 11:22 am

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 2.3.0 Debian 9, Ubuntu 18.04LTS, MS Windows 7,10 (client only).

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests