Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-25-2008, 04:31 PM   #1
Registered: Feb 2007
Posts: 386

Rep: Reputation: 30
Wake on Lan & Sleep on lan?

I think wake-on-lan is a cool thing for the current economical situation.

I was playing around with it and made it work on my computer.
Is there a Sleep-on-lan where you send package to turn off or nicely shutdown the machine (similar to wake-on-lan package)?
Old 06-25-2008, 06:34 PM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
The simple answer is no: wake-on-lan is a BIOS feature intended to solve the problem of powering up the machine without having to have the machine on to process network traffic.

But if you have terminal access to the machine then you can easily shut it down, to sleep, suspend or hibernate. The technology to do this is called ACPI.

To hybernate/suspend, try

To hybernate/suspend for a certain amount of time, try apmsleep:

Personally, I would create a user called acpi on the machine you want to control, and give that user permissions to run apm and apmsleep using sudo.

For example, to use one machine to tell another to standby, you could then use:
ssh -f acpi@host sudo apm -S


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Small Linux Sever with Wake On Lan & Hibernation bbenn Linux - General 0 07-18-2007 09:34 AM
wake on lan magic packet does not wake. albean Linux - Networking 1 06-30-2007 04:57 PM
wake on lan?? alaios Linux - Hardware 2 08-10-2004 02:04 PM
Wake-on-LAN dARkHunTEr Linux - Hardware 0 11-04-2003 05:17 PM
wake-on-lan PlatinumRik Linux - Hardware 1 04-09-2003 04:52 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration