How-To Geek

How to Schedule Your Computer to Wake Up at Specific Times with DD-WRT


If you don’t keep your home machines running all the time, you can power them on remotely with Wake-on-LAN. Doing things manually is a pain, but you can schedule computers to wake up automatically everyday using DD-WRT.

Being energy-conscious is a great thing. Why leave your computers on when you’re not home to use them? This situation is especially true with home theater PCs – you only really need them on when you’re home to watch stuff. The problem is that it can be a hassle to have to turn them on and wait for them to boot or wake them from sleep mode. Sure, you can use Wake-on-LAN to power them on remotely, but that also requires your intervention. If you’re using DD-WRT, however, you can set a schedule to automatically turn your machine(s) on so they’re ready for you.

We’re going to assume your computer is configured for Wake-on-LAN in the BIOS and/or operating system.

Basic WOL Configuration

Open up your browser and open up your router’s DD-WRT login page, then head to Administration > WOL.


Here, you can easily send Wake-on-LAN requests to computers by checking the “Enable WOL?” box next to the computer on the Available Hosts list.


If you have a computer that isn’t listed but is connected, you can manually enter the information at the bottom of the WOL Addresses section. Just click the “Wake Up” button to wake up that computer!

To schedule a computer to wake up (if it’s not already awake) everyday, just wait until the appropriate time of day when you want them to wake up. On the WOL page, scroll down to Automatic Wake-On-LAN.


Where it says “WOL daemon,” select the “Enable” button.


Here, you can specify at what interval to wake your computer. 86400 is what we want for a daily check. Under “Host Name” you want to put the Broadcast IP for your network. For 192.168.1.X networks, this is going to be If your computer has a “SecureOn” password for Wake-on-LAN, then you can enter that in the space provided. Lastly, enter the MAC address of the machine you want to wake at this time. You can configure multiple computers by entering multiple MAC addresses, each one in a new line. Click on Save and Apply Settings, and you’re done!

Advanced Configuration – Using Cron

If you want more specific control over when your computer wakes, DD-WRT lets you set up cron jobs for this process. Go to Administration > Management, and scroll down to the Cron section.


In this section, you want to add a line with the following format:

mm hh dd MM wd root /usr/sbin/wol -p <port> -i <IP Address> <MAC Address>

In my example above, I used the following information:

15 17 * * 1-5 root /usr/sbin/wol -p 7 -i 00:30:67:2f:4c:6c

This means that at 17 hours and 15 minutes (5:15 PM) on every weekday numbered 1-5 (Monday through Friday), that a WOL request should be sent. This request should be sent via port 7 to the Broadcast IP address to the computer connected to 00:30:67:2f:4c:6c. If you want more information on changing cron syntax, take a look at our article Build a Download Scheduler with Little Programming Skill, and jump down to the “Linux Cron” section. There, you’ll see how to customize that beginning syntax for various dates, times, days of the week, etc.

You can also add multiple cron jobs – each one on a new line – to configure different schedules for different machines!

This works without any extra configuration for computers hooked up to your router by Ethernet. If you use Static DHCP to assign IPs by MAC addresses, you can even wake sleeping (but not powered off) computers that are connected wirelessly – just be sure to use the MAC address of the wireless card and not the Ethernet card. Also note that the WOL packets are sent from within the network, so even if you’re not configured for remote access, this will still work.

Yatri Trivedi is a monk-like geek. When he's not overdosing on meditation and geek news of all kinds, he's hacking and tweaking something, often while mumbling in 4 or 5 other languages.

  • Published 08/9/11

Comments (10)

  1. Nostromo

    This would be great for me! Unfortunately, my router does not have this functionality and I can’t install other firmware or else I’ll lose free assistance/replacements!

  2. theitguy3

    Excellent article ! Thank you and keep them coming.

  3. Hari

    works super cool, i added host backup jobs with WOL cron. !

  4. Matjaz

    and why not just simply use task manager … i believe there’s such option in linux or mac os as well as is in windows ;-)

  5. Iszi

    Unfortunately, this is another article that – while cool – just goes to solving a problem the longer and harder way. Why add another component and service (the DD-WRT router, and Wake on LAN) to the solution for a problem that can just as easily be taken care of in most modern BIOSes?

  6. dima

    Will this turn on the computer if it’s off or only wake it if it’s in sleep mode?

  7. Cambo


    Enabling WOL in the BIOS yes, scheduling WOL, no.

  8. Iszi

    @Cambo – Don’t need to schedule WOL when you’re not *using* WOL. Most BIOSes have an option that allows you to schedule turn-on of the system right in the BIOS configuration. WOL is meant for situations where you don’t/can’t know whether or not the system will be on, and want to be able to remotely activate it.

  9. Madis

    Yeah… I have a computer that turned itself on every day at 4 am. And I just turned it off from a simple option in BIOS. So, if you need that simple thing, look to your BIOS before making those complicated things!

  10. Madis

    Didn’t read article and comments complitely… Iszi said same.

Enter Your Email Here to Get Access for Free:

Go check your email!