HOWTO: Remote Wake-up of Ubuntu Linux Machine

Recently I faced a problem of transferring files between my Laptop and Media Center Machine at home. My setup is like this: I use to store all my media files (Photos, Videos, Audio collections of family) in Media Center Machine which is powered by Ubuntu 9.10. My laptop which also runs on Ubuntu 9.10 is meant for development and study purpose only. I use to transfer big ISO files and media files (downloaded from camera to laptop) to Media Center Machine. Before doing this I have to power on Media Center Machine by opening the lock in AV Furniture and switch on the Machine which is at Hall. I am such a lazy person to think of avoiding this simple manual work, so thought of power-on the Media machine remotely from another room.

6. Run the wakeonlan utility as shown below with your MAC Address noted down

$ wakeonlan 00:1e:ba:b2:ab:0e

7. The above step should wake-up your target machine.

8. If necessary you can create a link to the above command as shown below

Enjoy the remote wake-up!

Update:

To shutdown the machine from remote, it is better to hibernate, so that using the above technique, wake-up will be easy. To hibernate remotely, you can install the “powermanagement-interface” package and issue “sudo pmi action hibernate” command using a ssh terminal to remote machine.

Follow Black God

Featured Sections

DE0-nano FPGAThis section features posts on DE0-nano FPGA Kit based projects. This kit has Cyclone IV E series FPGA with 32MB SDRAM, 40 Pin GPIOs, Accelerometer, AD Converters, built-in LEDs and Switches, etc. necessary to explore the world of FPGA.

EmbeddedThis section features my works on embedded system programming including 8051, MSP430, DE0-nano FPGA kit, etc. Mostly it features microcontroller C Programming on these hardware platforms.

Raspberry PiRaspberry Pi is an revolutionary board hackable for any purpose you imagine. Its support for standard linux stack and GPIOs makes it easy to implement any embedded system protocols. It deserves its place right from learning hello world LED programming to Home theatre system building.