I have a Linksys Router with dd-wrt installed on. Due to some problems, I would like to periodically reboot the router (let's say at 0:00 everyday). How would I do that?
[if scheduled reboot does not work]
If you have enabled ssh-server on (I don't use dd-wrt, not sure if its enabled by default), you can reboot using following command
ssh firstname.lastname@example.org reboot
You can look at this page to configure SSH public-private keys, so that you don't have to login everytime. And remember you should be running ssh-agent/putty-agent whereever your login from.
On Linux use cron to schedule reboot, and windows use Windows-Scheduler to execute command using putty.
There are low tech solutions also. You can use a light timer such as this. They also make digital ones that are more customizable.
FYI - taken from my answer to http://www.radioshack.com/product/index.jsp?productId=4405611&clickid=prod_cs