Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Python not required' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Python not required
Authored by: victory on Feb 22, '02 12:49:29AM

A couple of months back, when I first discovered that my Cube could be woken from sleep by 'magic' wake-on-LAN packets, I found a short C program that would do just that. It was more of a test program and had the MAC address of the target computer hard-coded. It was evidently written for Linux, but since it used the usual BSD-style socket calls, I did get it to complie and work under OSX. I didn't mess with it any further because of other projects.

If anyone is interested, I can try to look for the source or at least a link to where I found it.



[ Reply to This | # ]
wakelan.c
Authored by: victory on Mar 05, '02 06:02:53PM
Since at least one person has asked, here's the link to a small C prg that will send the magic WOL packet.
You will need to add the following line:
#include <unistd.h>
to the wakelan.c file, but it should configure/make just fine after that. This is a decent page of info for anyone interested in WOL.

[ Reply to This | # ]