WakeOnLan on Windows

Installation and configuration.
User avatar
timurhai
Site Admin
Posts: 866
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: WakeOnLan on Windows

Post by timurhai »

Also you can override such commands with yours for customization.
Timur Hairulin
CGRU 3.3.0, Ubuntu 20.04 LTS, MS Windows 10 (clients only).
virtualrepublic
Posts: 8
Joined: Thu Mar 03, 2022 3:23 pm

Re: WakeOnLan on Windows

Post 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.
User avatar
timurhai
Site Admin
Posts: 866
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: WakeOnLan on Windows

Post 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 189 times
Timur Hairulin
CGRU 3.3.0, Ubuntu 20.04 LTS, MS Windows 10 (clients only).
Post Reply