When we have a power failure, everything goes down includes my Tomato router and my home server. When power resumed, the router will power on but not the server. If I am not home, I can still login the router remotely via https then use WOL to start the server. But I really want the server can be started automatically after power resumed. So I think I might able to write a script in the Tomato router (maybe in WAN UP) then use some command to send wake up signal to my server. Could someone help me to write the command? I don't know how to write the command (or script) Thanks a lot.