4 ms·
I recently had a similar problem for my Linux-based desktop, but found that it didn't support wake on LAN. So instead I wired an ESP8266 to the ATX power pins o
by wzdd 3y ago
I recently had a similar problem for my Linux-based desktop, but found that it didn't support wake on LAN. So instead I wired an ESP8266 to the ATX power pins on the motherboard (via an opto-isolator, in parallel with the actual switch so both could be used). Code on the esp8266, which connects to a network server, can then "depress" the power line for a configurable number of milliseconds.
Apart from working on my PC, this is also quite nice as it gives you a way to force-power-off remotely if necessary.
- nick238 3y agoI converted an old system to a server, and the WOL was super unreliable (poor mobo support, crappy network, ??). Wound up getting a PiKVM setup for $100 + RPi5 (Geekworm KVM-A8 Kit "PCIe" Version) which works pretty well, if perhaps overkill. The "official" PiKVM hardware is a bit more expensive (~$300 but also has a fancy steel case and HDMI passthrough) There's a BliKVM "card" which also looks interesting and I'd probably use if I did it again because I was trying to fit the card above the GPU and it took some modding.
- leptons 3y agoI did something similar recently. I wanted to wake my laptop via wifi. There's no way to do it using WoL with the laptop's wifi card. For some reason the laptop's wifi card won't be powered during sleep or never responds to WoL packets, but the USB port is powered during sleep. I got an ESP32-S3 which has built-in USB. I cobbled together the examples from the ESP-IDF framework. Using one wifi example I got the ESP32 to detect WoL packets sent to it, and the other example was the USB HID example that acts like a mouse and moves the cursor around. So now I can send a WoL request to the ESP32, and it will then "move the mouse" and wake the laptop. It worked like a charm and only took me about 2 evenings to put together.
- ahartmetz 3y agoOn my desktop, wake on LAN stopped working after a BIOS update, so I set it to "power on after power fail" (when the power comes back) and plugged it into a WiFi switchable power socket on which I installed the Tasmota firmware. Power outages and therefore undesired activation are extremely rare where I live. Probably less than one in five years.
- seabass-labrax 3y agoMy first computer had an unintended 'power on after power fail' mode, resulting from a short-circuited power button! I don't believe modern motherboards would do that; they must be listening for their power button's state transition when it is depressed rather than simply checking whether it is closed.