PDA

View Full Version : Problem with Wake Over LAN



Busse
June 30th, 2009, 11:43 AM
Hi
I'm having some problems with waking another computer over LAN. I'v found the LUA command "[ret], [err] = win.WakeOverLan([ip], [mac])" but the computer wont wake up. I have tried different program (mc-wol) and that one works.The log display shows "LUA sucess (nothing triggered)"
i'm having vista on both pc's and a switch between (Netgear GS108).
Anyone who knows what i am doing wrong?
Thanks

Rob H
June 30th, 2009, 12:05 PM
What are you using as the IP address? Note that this should be a broadcast address not the IP address of the machine in question (since it doesn't have one when it's asleep). As far as I recall a broadcast address of 255.255.255.255 doesn't work. On my network the following works for me


win.WakeOverLan("192.168.0.255", "00:1B:21:0E:C8:CB")

Busse
June 30th, 2009, 12:45 PM
I did actually try with the IP adress. it worked when i finally found my broadcast adress. The IP adress was 169.254.12.232 so the broadcast adress was 169.254.255.255
thanks Rob

NeoMorph
June 30th, 2009, 04:11 PM
Isn't it actually the physical MAC address of the lan chip?

Easiest way of finding the MAC address is to click on the Local Area Connection icon in your tooltray (if you haven't got it in the tooltray you will have to go to the Network Connections from your Control Panel) and then going to the support tab and then clicking the "Details" button. The very top entry on the box that pops up is the physical address or MAC of your connection.

I use WOL a lot on my home network. Saves energy to wake up and shut down the systems only when you need them. Thing is I used external links to another program in my old system. I can see you can WOL internally now but can you send a shutdown command as well?

Oh yeah, and is there an updated manual for Girder now? I think mine is still for G4.

Rob H
June 30th, 2009, 05:37 PM
You need both the broadcast address for your LAN segment and the MAC address for the network card.

I send a Girder event to do the shutdown of my media server which uses a OS|Standby/Hibernate action to send the server to sleep.

NeoMorph
July 1st, 2009, 05:16 PM
Strange... my old system (which was lost when the hard drive crashed and then I found the backups were corrupted) needed only the MAC address to work.

Rob H
July 1st, 2009, 05:19 PM
Was that from NR then? That doesn't use a broadcast address.

NeoMorph
July 2nd, 2009, 10:24 PM
It was girder running another program called mc-wol.exe. I didn't realise there was internal commands to WOL directly in girder itself.