Little-Miss Posted September 16, 2010 Posted September 16, 2010 I'm currently testing this on a machine. I've downloaded a WOL.exe, (dont know if there is a best place to get one or if they are all the same?) placed it in C: have created a bat containing C:\wol.exe XX:XX:XX:XX:XX:XX. I tried running it knowing full well it wouldnt run first time, i then checked the bios to find wake on lan off so sorted that... Have tried running it again, but still not booting up. Am i missing something?
Martin Posted September 16, 2010 Posted September 16, 2010 Are the colons valid in the MAC address (i.e. which WOL.EXE are you using)? Does the source machine have a firewall? Is the target on the same subnet? mb 1
mattx Posted September 16, 2010 Posted September 16, 2010 I dump the contents of my DHCP log into a spread sheet, tidy it up and then: wol 0024219ac5ee wol 0024219ac5a8 wol 001109189dc3 ...you get the picture. Also make sure you have set the right settings on the NICs of the PCs you are trying to wake up [ allow magic packet and pattern match ] 1
Little-Miss Posted September 16, 2010 Author Posted September 16, 2010 just checked power management of the nic and its all on...
K.C.Leblanc Posted September 16, 2010 Posted September 16, 2010 WOL needs the mac address without the colons. I have a spreadsheet of macs and then use the following function to built the batch file; =CONCATENATE("wol ",REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(B55,3,1,""),5,1,""),7,1,""),9,1,""),11,1,"")) In this instance the original Mac address is in cell B55. You can also use find and replace to get rid of the colons. 1
Little-Miss Posted September 16, 2010 Author Posted September 16, 2010 oooh!! it worked!! Might have been the removal of the colons but im unsure! Will test on another machine. I only know cus ive just realised someone has logged into the machine that ive been trying to wake!! lol
K.C.Leblanc Posted September 16, 2010 Posted September 16, 2010 oooh!! it worked!! Might have been the removal of the colons but im unsure! Will test on another machine. I only know cus ive just realised someone has logged into the machine that ive been trying to wake!! lol I found you need to remove the colons, Oh and you might want to have a look at this for harvesting your Mac address lists. 2
Little-Miss Posted September 16, 2010 Author Posted September 16, 2010 Excellent! Thanks guys. Stupid thing is i RTFM on the website! lol Things is now, it seems that none of my bios's seem to have WOL activated!!
Little-Miss Posted September 16, 2010 Author Posted September 16, 2010 is there a way of making the BAT a bit easier to read. Can i include the names of the machines without breaking the file?
mattx Posted September 16, 2010 Posted September 16, 2010 is there a way of making the BAT a bit easier to read. Can i include the names of the machines without breaking the file? You can REM them out: REM PC001 wol 0024219ac5ee REM PC002 wol 0024219ac5a8 REM PC003 wol 001109189dc3 You get the idea.... 1
penfold Posted September 16, 2010 Posted September 16, 2010 is there a way of making the BAT a bit easier to read. Can i include the names of the machines without breaking the file? In the past, I've also seperated the rooms out into a number of bat files so you can isolate each room individually. I found it made it easier to troubleshoot if 1 machine started giving me problems as you already knew which room it was before looking any further. 1
Little-Miss Posted September 16, 2010 Author Posted September 16, 2010 Thanks Mattx thats what i thought... Penfold - Dur! Makes so much sense! lol
Little-Miss Posted September 16, 2010 Author Posted September 16, 2010 lol me again! So do i lay it out like this... C:\wol.exe xxxxxxxxxxxx xxxxxxxxxxxx xxxxxxxxxxxx or C:\wol.exe xxxxxxxxxxxx C:\wol.exe xxxxxxxxxxxx C:\wol.exe xxxxxxxxxxxx C:\wol.exe xxxxxxxxxxxx
K.C.Leblanc Posted September 16, 2010 Posted September 16, 2010 lol me again! So do i lay it out like this... C:\wol.exe xxxxxxxxxxxx xxxxxxxxxxxx xxxxxxxxxxxx or C:\wol.exe xxxxxxxxxxxx C:\wol.exe xxxxxxxxxxxx C:\wol.exe xxxxxxxxxxxx C:\wol.exe xxxxxxxxxxxx Second one, or put wol.exe in the same folder as the batch file and just do wol.exe xxxxxxxxxxxx or even wol xxxxxxxxxxxx It doesn't however work if the batch file is on a network share. 1
SYNACK Posted September 16, 2010 Posted September 16, 2010 The second one, a bach file is just a list of command prompt commands, in this case wol.exe with the argument of the MAC you want to wake. Each new line is a new command hence you need to run wol.exe each time as the pc will just look at you funny 'ffffffff' is not recognized as an internal or external command, operable program or batch file. if you type a mac address into the command prompt without telling it what to do with it 1
Little-Miss Posted September 16, 2010 Author Posted September 16, 2010 ....as the pc will just look at you funny..... That's normal!!
K.C.Leblanc Posted September 16, 2010 Posted September 16, 2010 There are more suffisticated ways to do it, but I just used this spread sheet and then copy and paste the last collumn into notepad. littlemiss.xls 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now