Wake-On-Lan
For WOL I will use the tool wakelan by Christopher Chan-Nui which is in the ipkg list for our convenience. It will allow us to wake up a PC for instance via IP or MAC address.
Login as "root" and type:
/opt/bin/ipkg install wakelan
You can use the following options while kicking on your device:
Usage: wakelan [options] [mac] [broadcast] [port]
-b addr broadcast address
-m mac mac address of host
-p port UDP port to broadcast to
-v[v] version
My PC has a fixed local IP, so in my case I will use this instead of its MAC address (which didn't work somehow with a quick test).
My PC's local IP address is 192.168.0.2 so the command to wake up my PC (which is in SLEEP mode) is as follows:
... et voilà my PC welcomes me with its logon prompt. This isn't as convenient as having a Wake Up feature inside the e-TRAYz web interface but better than nothing.
ether-wake is another WOL tool by Donald Becker which worked with my MAC addresses. Let's assume my PC had the MAC address AA:BB:CC:DD:EE:FF then I would wake it up like this:
This will wake up my PC. Now it's not always convenient to keep the MAC address in your memory so there's nothing better than using an alias for your PC. Let's call my PC "mypc" and add the alias in /etc/ethers with:
Next time I want to wake up my PC I will only have to type:
That's all. And if you want to add more aliases to the list use ">>" instead of ">" to append it to the file:
Enjoy the insomnia feature.



