I've gathered some tips to set up "Wake on Lan" so you can wake any computer in your house from your mobile/PPC.
I'm assuming you've configured your computers to operate with "Wake on Lan". This is sometimes a bit of magic, so I'm not covering that in this howto.
These steps install a program called WakeOnLan.exe and set up shortcuts to it so you can just click on an icon to start each PC:
- Install WakeOnLan from the xda-developers. Just unzip it and put it in "\Program Files\WakeOnLan\WakeOnLan.exe" on your device.
- Browse to this location with explorer on your PPC. Select the WakeOnLan executable and click "copy"
- Browse to where you want the shortcut to appear:
- "\Windows\Start Menu" will show in your start menu (I use this one)
- "\Windows\Startup" will be run when you reset or power cycle the device
- "\Windows\Programs" will apear in your Start Menu > Programs folder
- "\Windows\Settings" will appear in your system settings
- Select on some empty space (not an existing file) in your chosen folder and choose "Paste shortcut"
- Use a text editor on Windows / Linux to edit this new file, or one on your device (I didn't have any that would open on my device so I copied it to Linux, edited in emacs, then copied it back)
- Edit the line that looks like:
40#"\Program Files\WakeOnLan\WakeOnLan.exe"
essentially this is a character count, a "#", the location the shortcut points to, and arguments. Add your MAC address like this and take note of the quotes:
58#"\Program Files\WakeOnLan\WakeOnLan.exe" AA:BB:CC:DD:EE:FF
- count the characters of the shortcut, mac address, and space, then add one. This is your new number (in my case, 58).
An easy way to do this is to use "wc" on Linux:
echo "\Program Files\WakeOnLan\WakeOnLan.exe AA:BB:CC:DD:EE:FF" | wc -c 57
(remember to add 1!)
Now, what if you don't want to repeat that process all the time? Well there's a program called "WoL Everywhere" that does it all for you. You'll need the .NET Compact Framework 3.5
Thanks to codekingdom and christec.
No comments:
Post a Comment