I wanted my pc to boot up each workday at 08:50, so decided to use my Mango router as it's already on the network and runs OpenWRT.
- Install etherwake via: http://<mango-IP>/cgi-bin/luci/admin/system/opkg
- Use: https://crontab.guru/#50_8_*_*_1-5 to find the crontab timing.
- SSH to the Mango router and run the following command to find the name of your LAN interface that can see the target PC.
IP a - In http://<mango-IP>/cgi-bin/luci/admin/system/crontab add the following line.
50 8 * * 1-5 etherwake -b -i br-lan <MAC address of target PC>
No comments:
Post a Comment