There are countless WOL tools, and mine is nothing special I guess. But perhaps it might be useful to someone else.
Situation: I was using a laptop as HTPC client, and have a server downstairs with sleep enables. Obviously, a WOL is required. I was using a script with mcwol but the other users (read: wife and kids) always complained about something not working, strange messages, and things simply didn't look 'right'.
Then I added a bartop, which retrieves some files from the same server. (In fact, all rarely used roms, a bit of video, lots of music and more stuff. Stuff that's often accessed from the bartop.)
For some reason, sending out countless pings before the link was stable caused the wifi adapter in the old laptop (used in the bartop) to lock-up now and again. Once a proper IP has been assigned things work fine...
I've solved it by writing my own little crappy tool. It checks adapter first, then pings a router, sends a wol to the server and then pings the server. All with a little progress bar. Oh. It also creates a desktop shortcut with all parameters set upon request.
Perhaps it is of use to someone else.
More info here:
http://bluez.home.xs4all.nl/purebasic/purebasic%2029.htm#7_wakiewakieDownload here:
http://bluez.home.xs4all.nl/purebasic/wakiewakie.zip