Skip to main content

Posts

Showing posts from March, 2012

WakeOnLAN and Magic Packets Explained

WakeOnLAN concept is used to Power on the system when you know its MAC address. This WakeOnLAN uses Magic Packet technology to power on the target system.Brief note on setting up WakeOnLAN:Let say we have two systems A and B. B wants to wakeup A remotely. So here are the steps for thatEnter BIOS setup in A system. And Enable Wake on LAN option in it. (Name may be different in different systems)Now you need to enable WakeOnLAN for the NIC card also. Run the following command in A system.$sudo ethtool eth0 -s wol gInstall ethtool if it is not there$sudo apt-get install ethtoolNotedown the MAC address of A's system. ( let's say aa:bb:cc:dd:ee:ff)Install wakeonlan on B's system$sudo apt-get install wakeonlanorwrite a script for wakeonlan ( you can have it from here).Run the following command in B's system powering off A's system:$wakeonlan aa:bb:cc:dd:ee:ffThat's only a four step method. Have fun.... :-)Not satisfied with the brief one.... Okay. Read on geek, the…