Joined: 13 Dec 2007 Posts: 59 Location: East Devon, GB
Posted: Mon 27 Feb 2012, 16:41 Post_subject:
How I got Wake On LAN (WOL) working between two Puppies
A number of folk have asked recently about this. There is already material on this forum about WOL and I reference some of it in this post, but at the risk of a bit of repetition I thought that my experience of what I did to get WOL going on a couple of Puppies might also be of interest. It was actually very straightforward.
For my Celeron machine with Puppy 4 (Dingo), I "installed" wol and arp (ethtool was already installed) from the Puppy wolandarp.tar.gz package as per the instructions in the readme: I simply copied them to /root/my-applications/bin.
Then in a terminal I ran
The two "wake-on" lines told me which wake-on-LAN modes the network interface eth0 supports, and if/which mode is enabled. In my case it wasn't enabled - it was "d", not "g" - so I changed it. It wasn't hard: in a terminal I ran
ethtool -s eth0 wol g
and that enabled WOL - ie it set the "g" option, that sets it to wake up that computer on receiving the Magic Packet.
Next (in a terminal) I ran
which identified its MAC number as 00:06:4F:02:04:64
then I shut the system down and left it turned off.
Next I "installed" wol and arp on a second machine (Sony Vaio/Fluppy 8 ).
Both machines were on my LAN.
On the Sony Vaio I opened a terminal and ran
which started up the Celeron box!
(Note: I am quite happy for this machine's MAC number to be visible here because I recently scrapped it. But before that the above WOL arrangement worked on it without any problems for six months.)
Just for fun I then set everything up to work the other way round (Celeron/Puppy 4 starting the Sony Vaio.Fluppy 8 ), which it did without any problem.
Finally I wrote a simple script that I could run from an icon on the desktop:
# This sends the "Magic Packet" to my desktop machine.