Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Wake-On-Lan only works manually

If you have a question or need help, this is the place to be.
Post Reply
pigeldi
Posts: 2
Joined: Mon Nov 15, 2010 8:25 pm

Wake-On-Lan only works manually

Post by pigeldi »

Hello!

I'd like to use the wake on lan command so that my server turns on when I boot my HTPC with XBMC. Problem is: I have put wake on lan in autostart, but the server does not turn on. However if I open eventghost and execute this command manually, the server does boot as expected.
I don't get this. The autostart generally works, as XBMC is started as stated in the autostart. And the wake on lan command also works - when I execute it manually. But why is the wake on lan not working within the autostart? I have already put it in two times now, but still no success. This is how my autsotart looks like, does anyone have an idea?

Image
pigeldi
Posts: 2
Joined: Mon Nov 15, 2010 8:25 pm

Re: Wake-On-Lan only works manually

Post by pigeldi »

Well it now does work with a delay of 5 seconds between starting xbmc and the wake on lan. Could only think of the possibility that first some processes have to be finished loading before a wake on lan command can be executed. Still a logical explanation from the developers would be of interest, or a best practice that always works.
steved
Posts: 1
Joined: Fri Nov 19, 2010 1:09 am

Re: Wake-On-Lan only works manually

Post by steved »

You can do a search on the internet for mc-wol.exe it is dos base, you can create a batch file and either run it from windows startup or from eventghost. http://www.matcode.com/wol.htm. see batch file below my batch file.

cd\
cd c:\wol
mc-wol 00:30:67:07:EA:DA
sleep 5
mc-wol 00:30:67:07:EA:DA
sleep 4
mc-wol 00:30:67:07:EA:DA
sleep 30
cd\
cd C:\Program Files\SageTV\SageTV\
SageTVClient.exe
exit
Post Reply