Add Wake-on-LAN (WOL) support for managed resources - #328
Conversation
Added MacAddress property to SystemDesktop, created WakeDesktop API endpoint for sending UDP magic packets, added MAC address input to ManagedResourceEditDialog, and added a Wake Up action to the resource card menu for Desktop items.
|
Great idea! I ran out of time today, but I will review this tomorrow. |
…ce files Move MAC address storage out of the registry and onto managed .resource files, where it is read from and written to info.json. Storing it for the system desktop and system RemoteApps does not make sense because RAWeb's server is offline whenever those machines are powered off, so there would be nothing left running to send the magic packet.
…AC address field validation
|
Hi @abdullah-erturk, Thank you for your contribution! I really liked the idea. Sorry for my delay is processing this. You did a great job setting up the backend to support this feature, but I had to make a slight change in order to test that the feature works: I made some adjustments so that:
I also added documentation to the wiki. There is now a user guide about what the Wake up button does and an administrator guide for how to properly specify the MAC address and ensure that Wkae-on-LAN works. |
This PR adds Wake-on-LAN (WOL) capabilities for Remote Desktop resources.
MacAddressproperty toSystemDesktopwith Registry persistence.WakeDesktopAPI endpoint (POST /api/resources/{identifier}/wake) to broadcast UDP magic packets.ManagedResourceEditDialogto include a MAC Address input field.GenericResourceCardMenuButtoncontext menu (visible only for Desktop resources).