The last few months, I've been sleeping my jellyfin/backup server. I wake it with homeassistant sending the WOL packet. Works immediately world wide.❤❤❤
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...
Windows Updates often reset adapter settings and causes this. This is much rarer in linux so check you have the correct line in /etc/network/interfaces (or equivalent) to force set it on every boot. Occasionally, I've seen cheap overloaded switches drop WOL packets when overloaded or if there are too many of them on a network (maybe it's similar to ARP table overload symptoms) Personally, I use both WOL and a wifi switch or GPIO relay for important machines
I use also a NUC with the Wake Up on Power Option, but my question is how are you sending this remotely do you have a public IP or how are you accessing your system from outside? For example here in Germany I had for my HA the duckdns with some open port but since I changed my Internet provider it doesn't work anymore so I guess the port is now blocked ... 😢
The problem with those is that if something goes wrong with the socket (bad supply cap) there's a chance you'll be power cycling your computer many many times before you notice something's wrong. A cheaper alternative would be to have an esp32 bridge the power switch. Make it take power from the standby 5V that way you don't need an external adapter.
I've used WOL for many years and I've found this problems: 1) WOL support in motherboards is not consistent and does not always works reliably. 2) On several combinations of power outage/resets the g setting is wiped in the networking card 3) If the computer is not responsive there is nothing to do Nowadays I only use WOL on a set of computers when I need to do some kind of maintenance on a the weekend and I use PXE to boot them in a special mode to make a low level check. I strongly recommend you to check PIKVM to control that remote computer as it gives you the possibility to enter the bios or attach a virtual cd if you want to reinstall it, for example.
Thank you for sharing your experience. I agree, if my life would depend on it there are better ways. However, if you watched the video till the end, I showed what I do it if it did not run... So far I had no need for a KVM. But if you want to do manitenance, this is a good solution!
@@AndreasSpiess I've watched the entire video as I learn a lot from all of them. I use piKVM in servers that are many miles away and it help me work as I was standing right next to them and I thought it would be a good idea, but now that I think it a bit more, having a raspberry pi running would defeat the purpose of turning the server off to save on electricity.
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.
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.
I asgree, using a BIOS timer could also be a good idea. Keep in mind that the backup job runs on one machine and the shutdown on another one. The second one does not know when all backups are finished.
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.
The worst would be that I have a mail in my inbox in the morning about the failed backup and I have to start backup manually… But you can change it of course.
Have the backup server signal to the "production" one when it finished booting up, wait on the production server for this signal before starting the backup
sure if neglect verification jobs, scrub tasks, it's possible, but I'd strongly advise against this approach. It kills all falwors from PBS, which is amazing product. Same with e-mails. I think internal postfix is more than enough.
@@eugenesmirnov252 It all depends on the environment and the kind of data or activities. I'm referring to a data collector system (sensor data and video images) and a database server. At 4 am. in the morning there were no operations going on. Perfect timing...
Cool! I use Wake Up on Lan to backup several Proxmox servers (with multiple VMs) to a NAS backup sever, but use a cron job to do wake up and shutdown the NAS server.
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.
@@AndreasSpiess Perhaps the Advanced tab predates it being a native part of NDIS. It certainly has that legacy OEM property page feel, with its Windows 95 style controls and gray background.
Super video. Now I'm investing the possibility to send a Wake on Lan signal from a ESP32 or ESP8266. If you let your ESP monitor your network (WAN, WiFi and Home Assistant by ping of MQTT) then you are able to detect if the network is up but Home Assistant is down (in case of a restored power down). If that's the case, I have to boot my HyperV machine which not always turns itself on after a power down. Wake up Lan sended from a ESP should be great for this job :)
If you’re on the same network I use an ios app called simple wake on lan. It detects the device and has a scan, so it does multiple devices as well (FOSS too with github). My systemd oneshot script frequently does not work (2/9 times it does). My solution is to send two commands when shutting down. I set ethtool to set wol g && systemctl suspend. Works flawlessly!
This is very handy for not encrypted hard drives. Unfortunately if you have encrypted drive and you need to put password to boot it may be not so easy. Anyway. Material as good as always! Thanks Andreas for doing this!
Dear Andreas, thanks for a great inspiration! I found it maybe easier to shedule the activities using cron instead of standalone services. The only thing you have to pay attention to in this case is to use full paths to the commands (i.e. /bin/wakeonlan instead wakeonlan etc.) but it works like a charm. Have a nice day! Jakub
I use WakeOnLan to wake up my home PC when I need to connect to it using a VNC server. I am able to log into my router's SSH terminal from the WAN, and from there send the WOL packet to the computer. The only downside is that there are thousands of Russian and Chinese IP addresses also trying to log into the same SSH terminal every hour.
Good tutorial. I have some observations. Not on every machine there is a wake-on-lan capability. Laptops usually don't have it. On some machines with buggy bios/uefi (like HP) wake-on-lan do not work. In your bash script I would consider two changes. "sleep" blocks signals like sigterm, so script itself could block shutting down system for "$interval". Better option is to make function with loop and run sleep couple of times for 1 second at a time. Second small improvement is to check if user is logged on machine before shutdown and block shutdown if it is. (It can be frustrating when machine is powering down when some maintenance is being done). Something like "$(who | awk '{print $1}' | sort | uniq)" - if empty then nobody is logged.
Thank you for the additions. As mentioned, I used the code of somebody else and did not change it. If "sleep" blocks the script, why would adding a loop containing sleep change the situation?
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.
I was using WOL to start my Linux PC sending the packet from the router, however, after working fine for a few months is topped turning off if WOL was enabled, it would power down and reboot. My kludge solution which has so far been working fine was to set it to turn on with AC i.e. switch on if power is lost and restored and then to use a WiFi enabled SmartPlug that I can turn / off remotely. Turn it on PC powers up, finishing doing stuff remotely, check the power draw on the plug has dropped off and turn the power off.
Nice overview, thank you! A question about your backup software - does it allow executing external command(s) after it finishes? Creates a file somewhere? Or writes a log file which clearly states a'la "Done" when it'd done for this time? If a status file (a lock file?) appears or disappears, that could be used with systemd path units - it can monitor files or directories. Also, you can monitor log files with systemd (requires a simple shell script that tail -f's and greps a logfile).
These 1L machines support Intel vPro if you have i5 or i7 CPU that supports it. In this case you have full IPMI/iLO/iDRAC/IMM2 functionality. You can remote install OS, you can start it up and access BIOS. The only difference is that you need dumb display connnector, cause if that PC doesn't detect monitor it simply doesn't output anything on video output. It took me a while to fine the ones that work (not all). But after that these small machines can be used as a servers. I mostly use newer model M900, M910q and M920q. On the last model you can install i9 CPU with 6 core and 64GB which is quite powerful home server running Proxmox. :)
As somebody already mentioned WoL can be not very reliable depending on the network Intel AMT is the opposite. You can use Mesh Commander to control these 1L PCs or use Linux amt software to control it from command line. :)
I sorted this a bit different way: PBS is one of my VMs on PVE. So no extra machine is needed for backup. And the storage is the part of TrueNAS, shared to PBS. Even more elegant because no need for any automation ;-)
@@AndreasSpiess funny thing: I just set it up like 2y ago - never used before It is part of big project: LET ME CONTROL MY DATA - "bring back control" if you remember Brexit slogan ;-)
I use the node red WOL to turn my LG webos tv on. I had to enable it in the configuration of the tv. And it does not work for the first power on after a power out.
Hello Adreas, thank you for demystifying and explaining that Topic! Another great and high quality Video of yours! Even if I am aware that this is not part of the scope of the video, I still have a question about the backup: Why did you choose an extra backup server? If i remember correctly proxmox can save backups directly to a NFS Share, so you can use a NAS and still have Production- and Backup-Systems separated. Whats the benefit of your way? Thanks in advance and have great Sunday!
@@AndreasSpiess Nowadays you enable PCIe wake up, and then you have to configure it in the network card. Some time ago there where NIC's that store this setting permanently and even some that had dip switches.
I tried WoL but had it fail after an unclean OS shutdown. I went with a Sequent Microsystems 8-relay Pi HAT instead. I wired these to the motherboard headers for the front-panel power switch on each computer to complement a PiKVM and TESmart KVM switch. Close contacts 0.5 second for power on and 5 seconds for power off with the screen in PiKVM to show what is going on.
Hi how did you do that remotly? I cannot connect to another location as I do not have public IP and I am behind the CGNAT in both cases. The only way i was able to run that is via old mobil phone using TASKER and plugin of the WOL app. This can be used at home but not in my another location due to need of charging of the phone.
I am not a big fan of UDP, as it is not that secure and is usually prone to IP Spoofing and DDoS attacks. That is one of the first things I did was disable UDP on anything that is connected to my home network. For a remote control as in Andreas' scenario, I would probably use a SwitchBot (which is USB, not sure about the newer versions) sitting on top of the PC to turn it on/off. The remote location would be running Home Assistant on a Raspberry Pi (Linux) in "Bridged" mode and running on a Local VPN from my home network. Ideally, if the remote ISP router has VLAN capabilities I would put the Pi in its own VLAN restricting how the Pi can be accessed (Only via VPN or Local access). A small battery backup would keep the Pi running. I would use a USB dongle (plugged into the Pi) to communicate with the SwitchBot. I would do whatever automatic programming was needed on the remote location's Pi/Home Assistant, and have HA send back SMS messages with the current state after the commands were sent by HA. The closest I came to the above scenario was when we had our RV parked in the GA mountains 500 miles north of us and I had a Pi/Home Assistant in it and communicating over a Pi/VPN. The Pi would send me a lot of unnecessary data like Temp inside/outside, humidity, motion sensors, battery/Solar voltages.... and I could turn on/off lights inside RV remotely to drive the other RVers Crazy, when they knew we were at home in Florida. I had to disable the outside motion sensors in HA because around 2AM in the morning a family of deer would always walk past the RV and activate the outside motion sensor and send me a text. GREAT Video!!
Keep in mind that these things work in your LAN (even if you use VPN). So, UDP is no problem with me. Your proposal works too, but maybe is a bit more complex.
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?
I created a Proxmox VM and installed the standard version of HA. Then I made a backup on the Raspberry and a restore on Proxmox. I think, I made a video about this.
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.
There are many possibilities and there is nothing like "the best solution". I for example do not backup my system drive. If it crashes I take the opportunity and create a new installation (including cleanup). All important files are in Dropbox that is automatically synchronized with the cloud. Maybe not for you. So you have to search RUclips for a method that fits your needs.
For wifi only systems and/or for machines that require passwords to boot, one option is to suspend to ram. I have the same lenovo mini PC as Andreas shows in this video and I use it on wifi only. I suspend it with a script over SSH and I take it out of suspend with a magic packet over wifi. Power consumption is very low. Drivers have some bugs so my suspend config file reloads them automatically after coming out of suspend.
@@AndreasSpiess I also always just assumed that it wouldn't work and I've been in data networking all my life. I too only recently found this out. Somehow it's counter-intuitive that they'd keep a wifi adapter half-alive all the time, but feels more natural to do so with the Ethernet, I don't know why, some brain blind spot I guess :) It does not work on all devices, but when i saw the lenovo thinkcentre in your video I figured I should mention this since that's the exact machine I'm using. I haven't tried WOL from a shutdown state, only from suspend to ram state. It wouldn't work well for me since I need a manual password for the whole disk encryption entered on boot. If BIOS supports it, perhaps WOL works on these machines from a 'powered off' state as well...
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
I'm curious why the backup task runs via time instead of on a successful boot? Feels like it would be just as easy for there to be a script that runs the backup on startup. Then you are less likely to run into weird edge cases.
I configured Wake on LAN too, but ended using rtcwake to avoid having to write scripts to handle turning on, waiting, doing backup and then shutdown. Now my secondary servers only come on in the afternoon/evening to get/send replications.
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.
I use wol with node red and it works flawlessly, unless after a power outage, after this, it won't be able to turn on the pc. I am still trying to make an esp connected to pc button in order to make it switch even after a power outage
Some Windows machine not work when they are shutdown from Windows, they must be additional PowerOff from GRID for minute and then Grid back then wol can run a PC. Probably some S state are reason. Win10/11 destroy WOL feature.
@@AndreasSpiess My Win10 after shutdown do a Link Down on ether port. After re-power from grid a ether go up on 10Mb and wait for WOL who can be send from local MikroTik. I use a wifi socket to just on 30s do grid off .
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?
Theoretically it is possible for USB device to wake up a PC. However you'd need to first make sure that the USB remain powered when the PC is powered down or suspended.
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 .
The required format of the magic packet (six bytes of all ones, followed by sixteen copies of the six-byte MAC address) is deliberately designed to make it highly unlikely for this to happen by chance. But even if an unauthorized source outside your network managed to get the correct 102 bytes into a packet on your network, they would still have difficulty getting it to the target host, if the latter is powered off. They can't explicitly direct it to that host's MAC address, since they could only do that from within the same subnet. If they simply send it to the target host's IP address, this will normally only work if the host was very recently powered off, such that the relevant IP-to-MAC mapping hasn't yet aged out of the ARP cache on the last-hop router. If they try sending to the subnet's broadcast IP address, this is likely to fail, because in general routers are configured by default to drop subnet-directed broadcasts, because they can be dangerous. In summary, unless you've taken special steps to make wake-on-LAN work to your hosts from outside your network, the only way an outside attacker is likely to be able to make it work is sending frequent packets to the target's IP address, at a shorter interval than your router's ARP cache timeout. And of course you can still firewall those packets.
@@SheeplessNW6 i can remember if the magic packet capture software had a port setting on it , or it just picked the string of data that represented the wake up call
I'm still waiting for this feature to be implemented natively into routers. I ping or try to access an IP address, and if there is no response, the router pulls the MAC address and sends the magic packet to it. To answer someone else's problem: a sleeping or hibernating computer can still have an encrypted drive decrypted after wake or boot.
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.
Why exactly “not a good idea”? Security? Yes, a proxy is always possible and if you know, you put a firewall rule to only accept such request from the IP address you want!
@@pepeshopping Security and reliability. I wasn't even aware of the possibility to send the magic paket through the internet as it operates on lower network level. If there is a device doing the proxy work, it could just "push" the power button with a relay.
You tried to mask your mac address visible, however at time 5:04 in the video, it remained visible in the sniffer output. Above the 16 repetitions of mac.
@@pepeshopping i know, but as Andreas invested lot efforts to mask the full mac address appearances throughout the whole video, he may have reason for it.
Hi Andreas, I wish for you the bests. I should be tanking to you because most of your diy solutions help me to understanding the electronics and find the better way in to electronics circuits design. I need to make diy high power laser source for my self use, but I need to make my own laser diode and laser pump, but before I had made Buck converter with pwm out put and i tested on one 10 watt laser diode, if i can made my own laser diode at home I can make many laser array of bar for many solutions. because of that I need your help to find a very cheap solutions to reach my goals. One of them is making a DIY fiber laser cutter and fiber laser welder. Please show me some way if you have that before or if not please make it for us, because it go to help each men for rising them self in the high tech with beter understanding electronics manufacturing. Have nice time and best regards. Thanks. Farbod D'Jam
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?
@@tonysheerness2427 it's not strictly necessary for the backup server to have an Internet connection. It just needs to be able to connect to an NTP server, which could be on your local network. I run an NTP server on my always-on home server (in turn synchonised to one or more servers outside my network), and other hosts on my network talk NTP to that local server only. Even if you run a totally isolated network, there is still value in running a local NTP server. If its clock is free-running, without any accurate reference, it will of course drift, but often "agreed time" is more important than "accurate time" (i.e. keeping all your hosts in sync, even if they're out of sync with the outside world).
@@tonysheerness2427no! My main and bkp firewalls do get NTP updates from the Internet and then provide NTP services to the LANs. Even with the internet down, all servers and clients would have the same time.
I agree, you ahve to have synchronized clocks for the shutdown timer. After another comment I changed it and start the autoshutdown after the boot of the backup server. Like hat, no synchronization between systems is needed.
Problem with sleep is if there is a power outage while in sleep: The machine is not “listening” to the USB or network UPS monitoring and could lose power while sleeping (not good), if the UPS shutdown when depleted. Hibernation can work, but I don’t want to have to use few more GB in storage for the hibernation file. The extra minute or two from cold boot is nothing compared to the 8-16 hours fully powered off.
I suppose with 10 minutes to perform the back up, you're okay... for now. But I wonder how your schedule of 1:00 a.m. integrates with daylight savings time adjustments. In Switzerland, your adjustment times are 2:00 a.m. and 3:00 a.m. As your computer empire grows, so will back-up times, you may want to consider starting everything after 3:10 a.m. and avoid any possible entanglement daylight savings time adjustments might introduce. A thorough analysis of my point may prove my concern unwarranted... but "we like to keep things simple," changing the start time of your back-up to a window beyond the daylight savings times adjustment might avoid any problem the Promox back-up software and/or your systems might encounter should back-ups be in progress longer than you originally determined. I cannot imagine trying to design software to handle a back-up during a daylight-savings time adjustment when times magically change. Were I a company offering such a service, I finesse the entire issue and recommend software backups do not occur where there is a risk of running into the adjustment time window.
There is no problem if you set it up properly! Do not schedule anything using daylight savings time! Simply schedule using STANDARD time and done. Example: Do not use EDT or EST, just use ET!
Hi Andreas! I use this tiny PC-s too. IT has a handy feature. On the back one USB is marked with a keyboard sign. If you plug in a keyboard to that USB port or a receiver from a wireless keyboard, you can power it on with the Alt+P key combination. I have one built in under my TV as a media PC with a wireless keyboard mouse combo. I use Mikrotik routers too, and they have wake on lan function too. I write a script in a router with the wol command and the MAC address, so i dont have to type in the MAC address evry time. Then i connect to my router, and can wake up the PC by running the script. Thank you for the videos, they are awesome.
Left Alt or Right Alt... you know, I ask bcs when I work on infoline 20y ago a old person travel between Phone and PC bcs insted Press L_Alt+F4 he pressing R_Alt + F + 4 xD to close current window who have a close X on right/top corner but he use a 650x480 crt and not see that big window xD
@@peppigue if you enable Bitlocker, the usual case is that there's a boot PIN or Password required to start the OS. If nothing is entered, the PC usually just shutsdown again.
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 ".
Hi i want to remote machine on which ip is (192.168.31.2) from my local machine which ip is (192.168.8.93) how to do this using wakeonlan? is it possible?
The last few months, I've been sleeping my jellyfin/backup server. I wake it with homeassistant sending the WOL packet. Works immediately world wide.❤❤❤
Thank you for sharing your experience!
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...
Windows Updates often reset adapter settings and causes this. This is much rarer in linux so check you have the correct line in /etc/network/interfaces (or equivalent) to force set it on every boot. Occasionally, I've seen cheap overloaded switches drop WOL packets when overloaded or if there are too many of them on a network (maybe it's similar to ARP table overload symptoms)
Personally, I use both WOL and a wifi switch or GPIO relay for important machines
Please also see my comment about the automatic wakeup features that afaik every x86 pc has these days.
Also a good possibility. Shutdown is probably a bit different.
I use also a NUC with the Wake Up on Power Option, but my question is how are you sending this remotely do you have a public IP or how are you accessing your system from outside?
For example here in Germany I had for my HA the duckdns with some open port but since I changed my Internet provider it doesn't work anymore so I guess the port is now blocked ... 😢
The problem with those is that if something goes wrong with the socket (bad supply cap) there's a chance you'll be power cycling your computer many many times before you notice something's wrong. A cheaper alternative would be to have an esp32 bridge the power switch. Make it take power from the standby 5V that way you don't need an external adapter.
I've used WOL for many years and I've found this problems:
1) WOL support in motherboards is not consistent and does not always works reliably.
2) On several combinations of power outage/resets the g setting is wiped in the networking card
3) If the computer is not responsive there is nothing to do
Nowadays I only use WOL on a set of computers when I need to do some kind of maintenance on a the weekend and I use PXE to boot them in a special mode to make a low level check.
I strongly recommend you to check PIKVM to control that remote computer as it gives you the possibility to enter the bios or attach a virtual cd if you want to reinstall it, for example.
Thank you for sharing your experience. I agree, if my life would depend on it there are better ways. However, if you watched the video till the end, I showed what I do it if it did not run...
So far I had no need for a KVM. But if you want to do manitenance, this is a good solution!
@@AndreasSpiess I've watched the entire video as I learn a lot from all of them. I use piKVM in servers that are many miles away and it help me work as I was standing right next to them and I thought it would be a good idea, but now that I think it a bit more, having a raspberry pi running would defeat the purpose of turning the server off to save on electricity.
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.
Thank you for sharing your experience!
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.
I asgree, using a BIOS timer could also be a good idea.
Keep in mind that the backup job runs on one machine and the shutdown on another one. The second one does not know when all backups are finished.
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.
The worst would be that I have a mail in my inbox in the morning about the failed backup and I have to start backup manually… But you can change it of course.
Indeed a interesting remark. My experience with backups depending on the products/equipment used... 30 minutes as a safe margin.
Have the backup server signal to the "production" one when it finished booting up, wait on the production server for this signal before starting the backup
sure if neglect verification jobs, scrub tasks, it's possible, but I'd strongly advise against this approach. It kills all falwors from PBS, which is amazing product.
Same with e-mails. I think internal postfix is more than enough.
@@eugenesmirnov252 It all depends on the environment and the kind of data or activities. I'm referring to a data collector system (sensor data and video images) and a database server. At 4 am. in the morning there were no operations going on. Perfect timing...
Cool! I use Wake Up on Lan to backup several Proxmox servers (with multiple VMs) to a NAS backup sever, but use a cron job to do wake up and shutdown the NAS server.
Corn jobs are also a good solution!
I do something similar too. But I use cron to execute tasks at certain times.
Cron jobs are also a good way getting the same results.
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.
Indeed, a lot of knowledge is also in the comments!
I usually enable magic packet in the Power Management tab. Windows default is to wake on any activity which tends to cause unintended waking.
Thanks. I did not know this is a possibility.
@@AndreasSpiess Perhaps the Advanced tab predates it being a native part of NDIS. It certainly has that legacy OEM property page feel, with its Windows 95 style controls and gray background.
Super video. Now I'm investing the possibility to send a Wake on Lan signal from a ESP32 or ESP8266.
If you let your ESP monitor your network (WAN, WiFi and Home Assistant by ping of MQTT) then you are able to detect if the network is up but Home Assistant is down (in case of a restored power down). If that's the case, I have to boot my HyperV machine which not always turns itself on after a power down.
Wake up Lan sended from a ESP should be great for this job :)
I assume you find an ESP32 project for this purpose.
@@AndreasSpiess I hope so. If anybody has already done it, it will save me a lot of time :)
Thanks for Wake on Magic Packet info! (Sometimes you really need to dig)
You are welcome!
If you’re on the same network I use an ios app called simple wake on lan. It detects the device and has a scan, so it does multiple devices as well (FOSS too with github).
My systemd oneshot script frequently does not work (2/9 times it does). My solution is to send two commands when shutting down. I set ethtool to set wol g && systemctl suspend. Works flawlessly!
Thank you for the additional info!
This is very handy for not encrypted hard drives. Unfortunately if you have encrypted drive and you need to put password to boot it may be not so easy. Anyway. Material as good as always! Thanks Andreas for doing this!
Indeed, I have no encrypted system drives!
Dear Andreas, thanks for a great inspiration! I found it maybe easier to shedule the activities using cron instead of standalone services. The only thing you have to pay attention to in this case is to use full paths to the commands (i.e. /bin/wakeonlan instead wakeonlan etc.) but it works like a charm. Have a nice day! Jakub
Indeed, cron jobs are another possibility I often use.
Somehow something that I'm waiting for... Thanks Sir !
My pleasure!
I use WakeOnLan to wake up my home PC when I need to connect to it using a VNC server. I am able to log into my router's SSH terminal from the WAN, and from there send the WOL packet to the computer. The only downside is that there are thousands of Russian and Chinese IP addresses also trying to log into the same SSH terminal every hour.
A good idea if nobody is home...
Good tutorial. I have some observations.
Not on every machine there is a wake-on-lan capability. Laptops usually don't have it. On some machines with buggy bios/uefi (like HP) wake-on-lan do not work.
In your bash script I would consider two changes. "sleep" blocks signals like sigterm, so script itself could block shutting down system for "$interval". Better option is to make function with loop and run sleep couple of times for 1 second at a time.
Second small improvement is to check if user is logged on machine before shutdown and block shutdown if it is. (It can be frustrating when machine is powering down when some maintenance is being done). Something like "$(who | awk '{print $1}' | sort | uniq)" - if empty then nobody is logged.
Thank you for the additions. As mentioned, I used the code of somebody else and did not change it.
If "sleep" blocks the script, why would adding a loop containing sleep change the situation?
@@AndreasSpiess Because system could terminate script between short sleeps.
Thank you - for some reason I never thought that WoL funcionality could be available via Home Assistant!
So you know now ;-)
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.
Yes, it is connected with Zerotier. I made a video about it on this and my second channel. It uses 4G and CGNAT.
@@AndreasSpiess Thanks - I'll look that video up!
As always, very informative. Thanks for sharing, especially the knowledge you got by having to dig deeper
You are welcome!
WoL over WLAN (WoWLAN) is also possible with the right hardware/software combination.
Thanks! I did not know.
I was using WOL to start my Linux PC sending the packet from the router, however, after working fine for a few months is topped turning off if WOL was enabled, it would power down and reboot. My kludge solution which has so far been working fine was to set it to turn on with AC i.e. switch on if power is lost and restored and then to use a WiFi enabled SmartPlug that I can turn / off remotely. Turn it on PC powers up, finishing doing stuff remotely, check the power draw on the plug has dropped off and turn the power off.
A good solution to measure the current draw!
Nice overview, thank you!
A question about your backup software - does it allow executing external command(s) after it finishes? Creates a file somewhere? Or writes a log file which clearly states a'la "Done" when it'd done for this time?
If a status file (a lock file?) appears or disappears, that could be used with systemd path units - it can monitor files or directories. Also, you can monitor log files with systemd (requires a simple shell script that tail -f's and greps a logfile).
I do not know Proxmox Backup server well. I only use it for the described task. Maybe somebody else knows?
These 1L machines support Intel vPro if you have i5 or i7 CPU that supports it. In this case you have full IPMI/iLO/iDRAC/IMM2 functionality. You can remote install OS, you can start it up and access BIOS. The only difference is that you need dumb display connnector, cause if that PC doesn't detect monitor it simply doesn't output anything on video output. It took me a while to fine the ones that work (not all). But after that these small machines can be used as a servers. I mostly use newer model M900, M910q and M920q. On the last model you can install i9 CPU with 6 core and 64GB which is quite powerful home server running Proxmox. :)
As somebody already mentioned WoL can be not very reliable depending on the network Intel AMT is the opposite. You can use Mesh Commander to control these 1L PCs or use Linux amt software to control it from command line. :)
Good to know. Thank you!
I sorted this a bit different way: PBS is one of my VMs on PVE. So no extra machine is needed for backup. And the storage is the part of TrueNAS, shared to PBS. Even more elegant because no need for any automation ;-)
Thank you for sharing your setup. So far I refused to have a NAS because I never needed one.
@@AndreasSpiess funny thing: I just set it up like 2y ago - never used before
It is part of big project: LET ME CONTROL MY DATA - "bring back control" if you remember Brexit slogan ;-)
hi everyone, this is the best youtube channel for youngsters that wants to learn new technological stuff.
Thank you for your kind words!
I use the node red WOL to turn my LG webos tv on.
I had to enable it in the configuration of the tv. And it does not work for the first power on after a power out.
Thank you for sharing your experience!
Hello Adreas, thank you for demystifying and explaining that Topic! Another great and high quality Video of yours!
Even if I am aware that this is not part of the scope of the video, I still have a question about the backup:
Why did you choose an extra backup server? If i remember correctly proxmox can save backups directly to a NFS Share, so you can use a NAS and still have Production- and Backup-Systems separated. Whats the benefit of your way?
Thanks in advance and have great Sunday!
I wanted a different HW because I will locate it in a different location. And I had such a PC laying around…
Used to be that setting the BIOS was enough. These days OS drivers seem to want to be involved, which only complicates things.
I also thought it was enough. But it wasn’t 😉
@@AndreasSpiess Nowadays you enable PCIe wake up, and then you have to configure it in the network card. Some time ago there where NIC's that store this setting permanently and even some that had dip switches.
FYI you forgot to blank out one screen where it showed your MAC address. You got most of them but there was one where it showed the full address.
Thank you. Obviously I was not paying enought attention :-(
I tried WoL but had it fail after an unclean OS shutdown. I went with a Sequent Microsystems 8-relay Pi HAT instead. I wired these to the motherboard headers for the front-panel power switch on each computer to complement a PiKVM and TESmart KVM switch. Close contacts 0.5 second for power on and 5 seconds for power off with the screen in PiKVM to show what is going on.
A good idea if you already operate this infrastructure.
Hi how did you do that remotly? I cannot connect to another location as I do not have public IP and I am behind the CGNAT in both cases. The only way i was able to run that is via old mobil phone using TASKER and plugin of the WOL app. This can be used at home but not in my another location due to need of charging of the phone.
I use Zerotier to "punch holes" through CGNAT (I made a video about it).
I am not a big fan of UDP, as it is not that secure and is usually prone to IP Spoofing and DDoS attacks. That is one of the first things I did was disable UDP on anything that is connected to my home network. For a remote control as in Andreas' scenario, I would probably use a SwitchBot (which is USB, not sure about the newer versions) sitting on top of the PC to turn it on/off. The remote location would be running Home Assistant on a Raspberry Pi (Linux) in "Bridged" mode and running on a Local VPN from my home network. Ideally, if the remote ISP router has VLAN capabilities I would put the Pi in its own VLAN restricting how the Pi can be accessed (Only via VPN or Local access). A small battery backup would keep the Pi running. I would use a USB dongle (plugged into the Pi) to communicate with the SwitchBot. I would do whatever automatic programming was needed on the remote location's Pi/Home Assistant, and have HA send back SMS messages with the current state after the commands were sent by HA.
The closest I came to the above scenario was when we had our RV parked in the GA mountains 500 miles north of us and I had a Pi/Home Assistant in it and communicating over a Pi/VPN. The Pi would send me a lot of unnecessary data like Temp inside/outside, humidity, motion sensors, battery/Solar voltages.... and I could turn on/off lights inside RV remotely to drive the other RVers Crazy, when they knew we were at home in Florida. I had to disable the outside motion sensors in HA because around 2AM in the morning a family of deer would always walk past the RV and activate the outside motion sensor and send me a text.
GREAT Video!!
Keep in mind that these things work in your LAN (even if you use VPN). So, UDP is no problem with me. Your proposal works too, but maybe is a bit more complex.
It was fun doing this 15 yrs ago
on many older linux distros, you'll need "ifconfig" instead of "ip a"
Yes, that changed recently.
Another option is to use your Bios to wake up the workstation using a clock. My bios has the option to set a time to power on my computer.
A good solution for the backup scenario. Not so convenient for the remote radio station...
Well I'll be! I was just talking about you the other day sir, in relation to Lo-Ra. I hope those people came and found you on that.
I do not know if they found me …
@@AndreasSpiess His loss if he did Andreas, but there's no way to be sure.
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?
I created a Proxmox VM and installed the standard version of HA. Then I made a backup on the Raspberry and a restore on Proxmox. I think, I made a video about this.
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.
There are many possibilities and there is nothing like "the best solution". I for example do not backup my system drive. If it crashes I take the opportunity and create a new installation (including cleanup). All important files are in Dropbox that is automatically synchronized with the cloud.
Maybe not for you. So you have to search RUclips for a method that fits your needs.
For wifi only systems and/or for machines that require passwords to boot, one option is to suspend to ram. I have the same lenovo mini PC as Andreas shows in this video and I use it on wifi only. I suspend it with a script over SSH and I take it out of suspend with a magic packet over wifi. Power consumption is very low. Drivers have some bugs so my suspend config file reloads them automatically after coming out of suspend.
Thank you for sharing your experience. I did not know it works with wifi
@@AndreasSpiess I also always just assumed that it wouldn't work and I've been in data networking all my life. I too only recently found this out. Somehow it's counter-intuitive that they'd keep a wifi adapter half-alive all the time, but feels more natural to do so with the Ethernet, I don't know why, some brain blind spot I guess :)
It does not work on all devices, but when i saw the lenovo thinkcentre in your video I figured I should mention this since that's the exact machine I'm using. I haven't tried WOL from a shutdown state, only from suspend to ram state. It wouldn't work well for me since I need a manual password for the whole disk encryption entered on boot. If BIOS supports it, perhaps WOL works on these machines from a 'powered off' state as well...
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
Cron jobs are a good alternative. But your second proposal seems not to wait till the last backup is finished.
I'm curious why the backup task runs via time instead of on a successful boot? Feels like it would be just as easy for there to be a script that runs the backup on startup. Then you are less likely to run into weird edge cases.
I agree for my setup. In the project I used, the backup times were very long. So this is maybe why he did it like that.
I changed my setup according your tip. Thanks!
Thanks a lot for the bonus (good idea 🙂to get a email notification) . As usual, the subject is very interesting
Glad you kept watching till the end ;-)
@@AndreasSpiess I always enjoy sitting in 1st row
I configured Wake on LAN too, but ended using rtcwake to avoid having to write scripts to handle turning on, waiting, doing backup and then shutdown.
Now my secondary servers only come on in the afternoon/evening to get/send replications.
Thank you for sharing. Also a good solution for the backup. For the remote station probably not.
@@AndreasSpiess
details, expand on
“not good for remote station”??
@@pepeshopping I presented two scenarios: One was the start of the backup server and one with a PC in a remote location.
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.
I hope they will use a task, too. Then, the autoshutdowns should wait, too.
We could send magic packets using an esp over wifi as well couldn't we? Using motion detection in esphome or something?
I think this should be possible, but never tried.
This was most useful. Thanks, Andreas
My pleasure!
There is also wwol wireless wake on lan
I did not know. Thanks!
I use wol with node red and it works flawlessly, unless after a power outage, after this, it won't be able to turn on the pc. I am still trying to make an esp connected to pc button in order to make it switch even after a power outage
Interesting. We do not have many power outages, so I did not think about that.
You know a Docker container can "use" the host's network and it will run that way.
You can set it up for all containers. But it needs networking knowledge (not available in my case)
Some Windows machine not work when they are shutdown from Windows, they must be additional PowerOff from GRID for minute and then Grid back then wol can run a PC. Probably some S state are reason. Win10/11 destroy WOL feature.
Thanks for the additional info. My PC runs windows 10.
@@AndreasSpiess My Win10 after shutdown do a Link Down on ether port. After re-power from grid a ether go up on 10Mb and wait for WOL who can be send from local MikroTik. I use a wifi socket to just on 30s do grid off .
Very well done video 👍👏
Thank you 👍
Front row once again! Great video!
Thanks!
What is the Best WOL program in the Windows OS (and possible portable or without installation needs) ?
Wakeonlan from Nirsoft (I think) works great and is portable
@@PR-cj8pd Sure I did test it and it is working fine. Thanks
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?
Likely not
I do not know :-(
Theoretically it is possible for USB device to wake up a PC. However you'd need to first make sure that the USB remain powered when the PC is powered down or suspended.
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 .
The required format of the magic packet (six bytes of all ones, followed by sixteen copies of the six-byte MAC address) is deliberately designed to make it highly unlikely for this to happen by chance. But even if an unauthorized source outside your network managed to get the correct 102 bytes into a packet on your network, they would still have difficulty getting it to the target host, if the latter is powered off. They can't explicitly direct it to that host's MAC address, since they could only do that from within the same subnet. If they simply send it to the target host's IP address, this will normally only work if the host was very recently powered off, such that the relevant IP-to-MAC mapping hasn't yet aged out of the ARP cache on the last-hop router. If they try sending to the subnet's broadcast IP address, this is likely to fail, because in general routers are configured by default to drop subnet-directed broadcasts, because they can be dangerous. In summary, unless you've taken special steps to make wake-on-LAN work to your hosts from outside your network, the only way an outside attacker is likely to be able to make it work is sending frequent packets to the target's IP address, at a shorter interval than your router's ARP cache timeout. And of course you can still firewall those packets.
@@SheeplessNW6 i can remember if the magic packet capture software had a port setting on it , or it just picked the string of data that represented the wake up call
I'm still waiting for this feature to be implemented natively into routers. I ping or try to access an IP address, and if there is no response, the router pulls the MAC address and sends the magic packet to it. To answer someone else's problem: a sleeping or hibernating computer can still have an encrypted drive decrypted after wake or boot.
£Good idea! Maybe you can write a script on your router?
Indeed useful, interesting and entertaining.
Thank you!
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.
Why exactly “not a good idea”?
Security?
Yes, a proxy is always possible and if you know, you put a firewall rule to only accept such request from the IP address you want!
@@pepeshopping Security and reliability. I wasn't even aware of the possibility to send the magic paket through the internet as it operates on lower network level. If there is a device doing the proxy work, it could just "push" the power button with a relay.
Of course I use something like a VPN (in my case Zerotier) to connect the remote station with my LAN (see another video).
For easy remote shutdown of Linux machines, I just add a user that has /usr/bin/poweroff as his shell.
Thank you for the tip!
You tried to mask your mac address visible, however at time 5:04 in the video, it remained visible in the sniffer output.
Above the 16 repetitions of mac.
So?
Guess you don’t understand that you cannot do anything with that info from the “scary internet side”.
@@pepeshopping i know, but as Andreas invested lot efforts to mask the full mac address appearances throughout the whole video, he may have reason for it.
Thanks for the info! So I did not pay enough attention :-(
Hi Andreas,
I wish for you the bests.
I should be tanking to you because most of your diy solutions help me to understanding the electronics and find the better way in to electronics circuits design.
I need to make diy high power laser source for my self use, but I need to make my own laser diode and laser pump, but before I had made Buck converter with pwm out put and i tested on one 10 watt laser diode, if i can made my own laser diode at home I can make many laser array of bar for many solutions.
because of that I need your help to find a very cheap solutions to reach my goals.
One of them is making a DIY fiber laser cutter and fiber laser welder.
Please show me some way if you have that before or if not please make it for us, because it go to help each men for rising them self in the high tech with beter understanding electronics manufacturing.
Have nice time and best regards.
Thanks.
Farbod D'Jam
I have no clue how to build a laser. I even do not know if this is possible without expensive gear.
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?
I haven't run Proxmox Backup Server myself, but it's based on Debian, so I expect it will synch its clock via NTP during boot.
@@SheeplessNW6 That is if it has an internet connection.
@@tonysheerness2427 it's not strictly necessary for the backup server to have an Internet connection. It just needs to be able to connect to an NTP server, which could be on your local network. I run an NTP server on my always-on home server (in turn synchonised to one or more servers outside my network), and other hosts on my network talk NTP to that local server only. Even if you run a totally isolated network, there is still value in running a local NTP server. If its clock is free-running, without any accurate reference, it will of course drift, but often "agreed time" is more important than "accurate time" (i.e. keeping all your hosts in sync, even if they're out of sync with the outside world).
@@tonysheerness2427no!
My main and bkp firewalls do get NTP updates from the Internet and then provide NTP services to the LANs.
Even with the internet down, all servers and clients would have the same time.
I agree, you ahve to have synchronized clocks for the shutdown timer. After another comment I changed it and start the autoshutdown after the boot of the backup server. Like hat, no synchronization between systems is needed.
Die mac adresse ist im wireshark nicht überall geschwärzt.
Vielen Dank. Da habe ich nicht gut aufgepasst. Ist nicht so tragisch…
Boot is expensive. Maybe hibernate or sleep if wol every day is needed
yeah should do a scenario specific energy comparison of different options
Problem with sleep is if there is a power outage while in sleep:
The machine is not “listening” to the USB or network UPS monitoring and could lose power while sleeping (not good), if the UPS shutdown when depleted.
Hibernation can work, but I don’t want to have to use few more GB in storage for the hibernation file.
The extra minute or two from cold boot is nothing compared to the 8-16 hours fully powered off.
My Proxmox Backup server boots in less than a minute. So it is ok for me, and I like "clean boots"
I suppose with 10 minutes to perform the back up, you're okay... for now. But I wonder how your schedule of 1:00 a.m. integrates with daylight savings time adjustments. In Switzerland, your adjustment times are 2:00 a.m. and 3:00 a.m. As your computer empire grows, so will back-up times, you may want to consider starting everything after 3:10 a.m. and avoid any possible entanglement daylight savings time adjustments might introduce. A thorough analysis of my point may prove my concern unwarranted... but "we like to keep things simple," changing the start time of your back-up to a window beyond the daylight savings times adjustment might avoid any problem the Promox back-up software and/or your systems might encounter should back-ups be in progress longer than you originally determined.
I cannot imagine trying to design software to handle a back-up during a daylight-savings time adjustment when times magically change. Were I a company offering such a service, I finesse the entire issue and recommend software backups do not occur where there is a risk of running into the adjustment time window.
There is no problem if you set it up properly!
Do not schedule anything using daylight savings time!
Simply schedule using STANDARD time and done.
Example: Do not use EDT or EST, just use ET!
Good idea. I do not care when it runs and it will reduce the risk! So I will change it.
Is wake on lan safe like if an iot device is compromised.
It has no protection, it just boots if it gets the packet.
Thankyou thumbs up
:-)
Hi Andreas! I use this tiny PC-s too. IT has a handy feature. On the back one USB is marked with a keyboard sign. If you plug in a keyboard to that USB port or a receiver from a wireless keyboard, you can power it on with the Alt+P key combination. I have one built in under my TV as a media PC with a wireless keyboard mouse combo.
I use Mikrotik routers too, and they have wake on lan function too. I write a script in a router with the wol command and the MAC address, so i dont have to type in the MAC address evry time. Then i connect to my router, and can wake up the PC by running the script.
Thank you for the videos, they are awesome.
Left Alt or Right Alt... you know, I ask bcs when I work on infoline 20y ago a old person travel between Phone and PC bcs insted Press L_Alt+F4 he pressing R_Alt + F + 4 xD to close current window who have a close X on right/top corner but he use a 650x480 crt and not see that big window xD
at MikroTik the best keys are F6 who works as L_ALT+TAB, and TAB in terminal :D
@@SiBex_ovh The power on combination on the tiny PC is Left Alt + P.
Interesting alternative. I did not know it existed.
WOL is incompatible with Bitlocker since most require a boot password.
no?
@@peppigue if you enable Bitlocker, the usual case is that there's a boot PIN or Password required to start the OS.
If nothing is entered, the PC usually just shutsdown again.
Thank you for the info. I do not use Bitlocker.
@@lohphat more common to not require a user password, just uses the key in the tpm
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 ".
such much angry
Stupid crap?
Less stupid people would not be using any system that can get corruption, or that cannot fix it automatically.
Hi i want to remote machine on which ip is (192.168.31.2) from my local machine which ip is (192.168.8.93) how to do this using wakeonlan? is it possible?
I assume you have to instruct your router to allow these WOL packets pass from one subnet to another . But I am no router/network expert.
raspberry pi 4 works with magic packet ?
It shows a "g". But I did not check.
@@AndreasSpiess raspberry pi 4 dont have wake on lan
I had a Raspberry Pi start up my server.
Also a good idea!
Wouldn't the Management Engine be more secure and robust? If it fails to boot you can also have KVM access.
Command line tools to automate that???
@@pepeshopping ipmitool
@@pepeshopping ipmitool tool is the standard utility
I do not know. For me this solution is sufficient because I get a mail if the backup failed and I can start it in the morning.
i know it one time node red it will be in this account
I do not understand :-(
you were so fast explaining the config for windows, can yo explain it better?, thanks
Maybe you google the lacking part? I cannot change the video :-(
👍🏻👍🏻👍🏻👍🏻👍🏻
Intel AMT can do this
Yes, but WHICH tools are free/open source to manage/use it?
Thank you for the additional info!
7:45 I hope you do not write 24 times 7 as 24/7 in your program code!
The convention of 24/7, that is 24÷7, to mean 24×7 has never made sense to me.
You are righ!
On wifi wake also working sometimes, but not all adapters can, and this windows-only feature.
ruclips.net/video/wg9YFAVweiM/видео.html
Thank you for the link. Very useful! I did not know it.
Mikrotik routers ... Nice!
Indeed!