Page 2 of 2

Re: WakeOnLan on Windows

Posted: Wed Jan 11, 2023 5:53 pm
by timurhai
Also you can override such commands with yours for customization.

Re: WakeOnLan on Windows

Posted: Thu Jan 12, 2023 8:51 pm
by virtualrepublic
We were wrong. After disabling the "Magic Packet only" option something else is waking up the machines all the time after setting them to sleep. We thought that CGRU works now, but when we set the PCs to sleep they woke up within a minute later automatically. Turning off "Wake up on Pattern Match" in the adapter config seems to solve this now but now we just can wake up the PCs with AnyDesk or other tools.

We could not find any info on what happened here. CGRU fails to wake up the clients. We are no coders and have no clue how to test the script. We can wake up finally with AnyDesk or this tool: https://www.nirsoft.net/utils/wake_on_lan.html

We have no idea what kind of Windows command CGRU is using and what the method WakeMeOnLAN from nirsoft is using. We want to prevent using a separate tool when there's a direct option in CGRU.

And we have the random issue that the client is still offline in Afwatch after waking it up with AnyDesk. Stopping Afrender and restarting it solves the issue then.

Re: WakeOnLan on Windows

Posted: Fri Jan 13, 2023 11:05 am
by timurhai
Hi!

As I told before, CGRU wakes machines by this script:
https://github.com/CGRU/cgru/blob/maste ... wolwake.py

It sends a broadcast message a magick packet contains a mac address of a machine (its network interface) to wake.
You should test whis script w/o CGRU, just by hands.

Also, try to turn this option OFF:
2023-01-13_14-04.png
2023-01-13_14-04.png (194.31 KiB) Viewed 4206 times