Link to home
Start Free TrialLog in
Avatar of rob_keeling
rob_keeling

asked on

Using MAC addresses from DHCP to send wake on lan packets to all machines.

We have recently migrated a linux dhcp server to windows 2003.

The Linux system had a quick script that read mac addresses from the dhcp leases file, and I could then send a wake on lan packet to all the pc`s dhcp had "seen".

Since moving to windows I am struggling to get hold of the mac addresses from dhcp, or a utility to send the WOL Packets.

Is this possible? If so how?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of grsteed
grsteed

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rob_keeling
rob_keeling

ASKER

OK, that really helps getting the data out of dhcp. The next stage it converting this to a format useable with a wol package.

Previously this was using grep on linux, which of course doesn`t exist natively in windows.

Hitting google for stage  two, but any suggestions greatly recieved.

Thanks

Rob
Check out this link

http://www.softpanorama.org/Unixification/index.shtml

Click on the SFU for UNIX commands for windows.  I haven't used it so I can't vouch for it.


Cheers,

Gary
Gary,

Yes I have seen some of this, and the cygwin equivelents. Actually I am stuck trying to find a win32 command line program to send wake on lan packets!

Tried several last night, all with no response from the PC`s. Didn`t think windows firewall would stop them being transmitted?

Going to try a manual cut copy paste across to the old linux server and confirm WOL is ok from there.

Rob

Here's a good tutorial on WOL.
http://www.activexperts.com/activsocket/tutorials/wol/

Here's a link to a WOL client.
http://ahh.sourceforge.net/wol/

There's supposed to be a program from AMD that's free, but I couldn't find it on their site.

Cheers,

Gary