Feature Request: Wake on Lan
I would like the ability with DHCP to Wake on Lan with "magic packet", as the mac address is already listed when using Adguard Home as DHCP Server for network.
Uh, never heard of anything like that. Could you please provide some examples? Maybe some other software already has a similar feature?
For example many webinterfaces of routers have a button next to recently connected devices to wake them up¹; there is also the CLI-tool wol and the GUI-Tool gwakeonlan and I remember using a few Android/iOS Apps that allow you to send WoL-Magicpackets …for history and more on WoL see: https://en.wikipedia.org/wiki/Wake-on-LAN
It works like this: you send a special packet (that is literally called "magic packet") to the MAC-address of the machine you want to wakeup, the NIC receives it and wakes the machine.
¹: Usually it only works with machines in standby-states, but some manufacturers also have capabilities for remote-booting via WoL (yes really. you send a special packet to the MAC-address and then it cold boots :exploding_head: )
How exactly @NicLogix wants this integrated into AGH is also unclear to me :D
As stated by HorayNarea, Wake on Lan is able to boot or bring pc out of suspend. The "magic packet" is the most popular way of doing it. This packet is sent on the broadcast address (ex. Subnet 192.168.0.0, sent on 192.168.0.255) on port 9. It is a L2 - L3 routing protocol, so needs an ARP binding (Mac to IP). This is usually done on the router. The info to send the packet is already in Adguard when you set an IP reservation via Mac. I do not know enough code to explain how to implement this, but a separate page in the Web UI which can list the Adguard client, and send the packet would be full marks. A backend like etherwake might do the trick.
I only have Linux Debian PC's, but the concept is the same for Windoze.
Seems a little bit out of scope for us, but I'll mark it as feature request and we'll see if there are more people requesting it.
Maybe it can be easily add with this work ? https://github.com/sabhiram/go-wol I use it but a "All-in-one" interface through the DHCP of AdGuard should be better
This WOL feature would be great, especially if additionnaly exposed in api /control server
this would be a fantastic feature, more one vote for this!