
configured a dynamic DNS through my router, by using the free asus service configured port forwarding to forward port UDP 7 to my network card ip range - 192.168.1.255 enabled magic packet options in both BIOS and network card properties (and it works, as I was able to start it with Anydesk)

To be able to WOL through the internet, I've followed some steps described in a few other websites (I can post them if needed) - basically: I've managed to wake up my PC through LAN by using Anydesk however it only works if the other device is connected to the same local network (i mean wake up from shut-down state). I've configured a remote acces through windows and also have an Anydesk account configured (just context). chmod +x /home/$USER/wakeuppc.At my current job sometimes i have to work in remote places i have quite a large library of resources on my home PC that would be great to be accessible remotely. cat > /root/wol_fix.sh > /etc/systemd/system/wol_fix.service > /home/$USER/wakeuppc.sh Īdd execute permisson for the wakeonlan caller script. For the next step (systemd) to work correctly, you must have the she-bang line included on the first line of the file. Non-interactive creation of script which will set the "Wake-on" option to "g" which means "Wake on MagicPacket". See below link for diffent options and what they mean. ifconfig -aĬheck the ethernet adapter to see what "Wake-on" is set to. apt install wakeonlanįind your ethernet adapter, mine was called 'enp10s0' (usually called 'eth0'). Install the wakeonlan program on the computer you want to be able to wake up remotely. On the computer you want to be able to wake up remotely.

It turned out that upon shutdown, the wakeonlan option was being disabled. After re-installing the "wakeonlan" package I noticed it was not working.
