wakeon lan

Soldato
Joined
30 Nov 2005
Posts
13,916
how do i send a magic packet from my ubuntu laptop to my main machine to wake it up on lan

notebook is wifi , main machine is ethernet
 
Code:
#sudo apt-get install wakeonlan
# 
# From the same subnet:
#wakeonlan 01:23:45:67:89:10
#
# From a different subnet:
#wakeonlan -i 10.0.1.255 01:23:45:67:89:10

Where 01:23:45:67:89:10 is the target machine's MAC address, and 10.0.1.255 is the subnet's broadcast address.

If you need to traverse NAT; the above commands are wrong.
 
Last edited:
Back
Top Bottom