LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Wake-On-Lan command (https://www.linuxquestions.org/questions/linux-server-73/wake-on-lan-command-4175549043/)

hack3rcon 07-27-2015 07:40 AM

Wake-On-Lan command
 
Hello.
Can I use Linux for Wake-On-Lan a Windows System? How about Standby?

Tnx.

michaelk 07-27-2015 07:54 AM

Yes, if you configure wake on lan for your network adapter in windows it should turn on when you send it a magic packet from a linux PC. It should work the same if the windows computer is in sleep mode.

hack3rcon 07-27-2015 09:21 AM

How can I send magic packet from Linux?

273 07-27-2015 09:30 AM

On Debian I use this:
https://packages.debian.org/search?keywords=wakeonlan
With a shortcut on my laptop to turn on my desktop. I also call it from the command line on my Pi so I can wake my desktop from anywhere via SSH on the Pi.

michaelk 07-27-2015 09:31 AM

On debian you can install etherwake via apt-get. Other utilities are wakeonlan and ether-wake. You need to find the PCs MAC and just type in the command:

etherwake 00:11:22:33:44:55 (Use the actual MAC)

hack3rcon 07-27-2015 01:34 PM

Thank you. Problem Solved.


All times are GMT -5. The time now is 12:46 PM.