proxmox

Start PCs from remote (Wake on LAN, WOL) for Windows and Linux

Start PCs from remote (Wake on LAN, WOL) for Windows and Linux

#Start #PCs #remote #Wake #LAN #WOL #Windows #Linux

“Andreas Spiess”

Switching your Windows or Linux PCs on and off automatically or from a remote location can be important. In this video, you will learn how to do this from Home Assistant, Node-Red, and the Linux shell. As an example, I will save about 99% of the energy used by my Proxmox Backup server because it…

source

 

To see the full content, share this page by clicking one of the buttons below

Related Articles

35 Comments

  1. You know, Andreas, if you were production say in Autumn 40.2 KW a day you could leave it running. The video is coming soon. There is no gold detecting today. But I got a gram of 100 per gold coming from ram. I collected over the past 5 years. You always put up stuff I need just in time – jit.

  2. Hello Andreas, I have a general question: I have a Home Assistant running on a raspberry Pi4 since the corona times, unfortunately because this is not officially supported a lot of the containers stopped working.
    I already bought a Lenovo PC similar to what you have and I would like to transfer what I can to it but I don't know which VM to use for Home Assistant so I can back up easily and restore in case it crashes.
    What is your recommendation?

  3. Sorry my question, I don't have much experience, but I only to know what software is best to make backups of everything on my computer to an external disk drive. I tried several softwares but they have several problems with windows and never backup every files, they always report some problems during backup, incomplety copies and so on.

  4. I have most of my computers and other Ethernet devices participating in WOL since 2000. One machine is problematic and I see the packet hit the interface but it does not wake. Do USB Ethernet devices support WOL?

  5. Windows defaults to wake on anything, file share access, remote desktop. Under the Power Management tab of the network adapter you have to tick "Only allow magic packet to wake the computer".

    My backup setup is very similar, but I use the wakealarm with the idle sleep timer in logind.conf, so the backup computer does everything itself.

  6. There is one thing I should bring up with PBS. This will work fine for normal backups on a schedule but don't forget about garbage collection and verification. Those two jobs can take a long time to run.

  7. Nice video yet again, just found your wireless channel using qrz and subscribed. I should of gone the easy route and just read the description and info. I may talk to you one day, but at the moment only have a couple of handhelds and a pi star digital node, on hubnet or 2350 uk group. Steve M7FGF

  8. Thank you for sharing your valuable knowladge. I learn many things from your videos. Today i realised that, i learn many new things also from the comments of your videos. Thanks to your community also.

  9. For the very special instance, where you only want to back up at a fixed time: If your Hardware does not support Wake on LAN, you can set a daily wakeup time on every x86 PC in the BIOS. Another thing: While I am not yet really familiar with ProxMox: Most backup software supports running pre- and post-backup scripts. It seems ProxMox supports 'hook scripts' which can be run after backup is completed.

  10. I'm not into proxmox too much, but wouldn't the following be easier:

    on the controlling machine enter "crontab -e" and add the line "57 0 * * * wakeonlan <Backup's MAC Address>"

    On the backup server: Find the underlying backup script and add the "sleep 60; shutdown" as the last line?

  11. Worst thing happened at remote server. Linux boot demanded that I execute fsck "manually". How this stupid crap is not fixed already?
    This should be in /etc/default/grub by default: GRUB_CMDLINE_LINUX_DEFAULT=" fsck.mode=force fsck.repair=yes ".

  12. This is excellent however 3 minutes to turn on the remote server relies on both clocks being the same the wake up server and the back up server. What happens if the clocks drift from one another such as the back up server's clock is 5 minutes earlier so when started wlil it do the back ups?

  13. I'm not sure if it is a good idea to send magic packets through the internet directly. I suppose you need some device in the LAN that will listen to commands and send the magic packet.

  14. i had a machine running torrent client 24/7 once , and i had a program that capture magic packets , and it was capturing such packets ,even if i did not send them .
    are those packets possible to come from an unauthorized sources ?
    then , i was thinking that torrent data might every now and then include in random , sequence of data that express the magic data algorithm .

  15. Andreas – be careful starting a backup server only 3 minutes before the scheduled time – if there are any disk/filesystem issues or checks, they may not be finished before your schedule runs.
    I'd go with 7 or 10 mins just to be sure, or 20 mins for big spinning disks if the data is vital.

    I've recently had a NVMe filesytem check (after a power glitch) take almost 8 minutes to complete checks and fixes on a fast 2TB NVMe.

  16. Thank you very much for your effort and sharing. Indeed, I used WoL many ears ago for backup on a 2nd swtation over a distance of ca.100km. There was a VPN connection between the two stations. But later on, the amount of data got too large to synchronize in a reasonable way over the internet.

  17. Magic packages sometimes works sometimes not for me. A simpler option: In BIOS – Restore AC power loss – power ON. Now, Wi-Fi power socket. You can enable everything, even those that do not support magic packages. The rest is the same…

  18. Hi Andreas! Thanks for sharing – very clear as always 🙂. One question – is the PC in the radio shack is internet facing, or do you use something like tailscale to connect to it from home and send the magic packet? It isn't clear from the video how you manage it, and I am assuming nodered is running on your server at home.

Leave a Reply