nilix.net           

wake on lan client pc's from a linux pc (server)

What do you need:
1 file to download
A network card that can do wake on lan.
Enable the optie wake on lan in the bios of the client pc.


To start download the file
ether.c

And save it on the computer that must wake a other pc.
(in text mode) Type
gcc ether.c
cp ./a.out /bin/ether
chmod 755 /bin/ether

Now you can use the program ether to wake up a client pc.
Use it like: ether 11:22:33:44:55:66
You have to put the mac adres of that client network card after ether command.

windows client pc
Go to: start--control panel--network--network connections--properties of the network--configure(upper right)
last tab paper Power Management-- be sure that de second rule is enabled. allow this device to bring the computer out of standby.


linux client pc
Test first of you can shutdown your linux client and boot it up from a other pc.
If this is nog working then enter the next line as root in a console:
ethtool -s eth0 wol g
Now shut down the pc and try again.

PROBLEMS


1- coputer don't start-up?
If the computer who send the wake up signal has more then 2 network cards. Then try ether -i eth1 mac-adres.
By default ether will send wake up signal to eth0.