• 1
  • 29
  • 30
  • 31(current)
  • 32
  • 33
  • 38
Automatic WakeOnLan upon accessing MySql or FileShares
Your paste seems to be broken, try http://xbmclogs.com/
For the discovery issue, was it solved when you tweaked the router?
Reply
Remove the . At the end of his link. It will work then.
Reply
WOL works when I launch XBMC but when I resume from sleep with XBMC already open it does not wake the server. I remember it worked fine when I first tried it on prior builds but it does not work anymore. I tried the latest build from kricker and the xbmc 13 alpha.

Is there any solution?
Reply
(2013-08-22, 21:30)rasstar Wrote: WOL works when I launch XBMC but when I resume from sleep with XBMC already open it does not wake the server. I remember it worked fine when I first tried it on prior builds but it does not work anymore. I tried the latest build from kricker and the xbmc 13 alpha.

Is there any solution?

Logs please
Reply
(2013-08-22, 17:58)Bonzi Wrote: This is the log when it tries to wake up the host 'TOWER' which is my unraid http://pastebin.com/hGfwJUzM. I've also tried to just put the IP address, but that does not work either.

I discovered that the mac address was being lost from the arp table on my pfsense router after some time. I made it a permanent entry. It gets further now, a box opens up and it says waiting for network but unraid still does not wake.

Log shows that DNS fails to lookup 'tower' and the entire process break because of that. If your router cannot be trusted, I would recommend switching to using ip-adresses or check out http://wiki.xbmc.org/?title=advancedsett...3Chosts.3E ?
When switching to ip-address you must do so in your mysql setup and sources-setup and 'wakeonlan.xml' , if by any chance you tried to change only 'wakeonlan.xml' to ipaddress that would not work.
Reply
(2013-08-22, 21:58)t4_ravenbird Wrote:
(2013-08-22, 21:30)rasstar Wrote: WOL works when I launch XBMC but when I resume from sleep with XBMC already open it does not wake the server. I remember it worked fine when I first tried it on prior builds but it does not work anymore. I tried the latest build from kricker and the xbmc 13 alpha.

Is there any solution?

Logs please

http://pastebin.com/2ZaHwMBf

It does not seem to attempt to wake the server when I resume from sleep.

<onaccesswakeup>
<netinittimeout>20</netinittimeout>
<netsettletime>500</netsettletime>
<wakeup>
<host>192.168.1.10</host>
<mac>6C:F0:49:01:85:50</mac>
<pingport>0</pingport>
<pingmode>0</pingmode>
<timeout>300</timeout>
<waitonline>40</waitonline>
<waitonline2>40</waitonline2>
<waitservices>5</waitservices>
</wakeup>
</onaccesswakeup>
Reply
(2013-08-22, 22:11)t4_ravenbird Wrote:
(2013-08-22, 17:58)Bonzi Wrote: This is the log when it tries to wake up the host 'TOWER' which is my unraid http://pastebin.com/hGfwJUzM. I've also tried to just put the IP address, but that does not work either.

I discovered that the mac address was being lost from the arp table on my pfsense router after some time. I made it a permanent entry. It gets further now, a box opens up and it says waiting for network but unraid still does not wake.

Log shows that DNS fails to lookup 'tower' and the entire process break because of that. If your router cannot be trusted, I would recommend switching to using ip-adresses or check out http://wiki.xbmc.org/?title=advancedsett...3Chosts.3E ?
When switching to ip-address you must do so in your mysql setup and sources-setup and 'wakeonlan.xml' , if by any chance you tried to change only 'wakeonlan.xml' to ipaddress that would not work.

Yes, thank you. Adding the hosts entry to my advanced settings worked. Thanks a lot for taking the time to help me and for getting this feature into mainline. It's great not to have to walk to the other room to turn on my server!
Reply
(2013-08-22, 22:49)rasstar Wrote: ...
http://pastebin.com/2ZaHwMBf

It does not seem to attempt to wake the server when I resume from sleep.
...

This log is too small, does not show enough of what happened before resume. Wake-on-access does not kick in but we need bigger log to figure out the reason

@Bonzi ; Excellent
Reply
(2013-08-23, 09:37)t4_ravenbird Wrote:
(2013-08-22, 22:49)rasstar Wrote: ...
http://pastebin.com/2ZaHwMBf

It does not seem to attempt to wake the server when I resume from sleep.
...

This log is too small, does not show enough of what happened before resume. Wake-on-access does not kick in but we need bigger log to figure out the reason

@Bonzi ; Excellent

This is the complete log.
http://pastebin.com/z1e1UxLM
Reply
(2013-08-23, 20:18)rasstar Wrote: ...
This is the complete log.
http://pastebin.com/z1e1UxLM

Wake-on-access will not necessarily kick in just because the HTPC slept ; it only ever kicks in when HTPC has not communicated with Server for more than <timeout> seconds.
In your log the timeout is 10 minutes and woa notices contact to server at 19:54:52 and so there is no reason to kick in at 19:58:12 when you resume since 10 minutes has not yet passed. Did you manually make your server go to sleep in the meantime? If so, the logic breaks. Otherwise, if the server goes into sleep-mode that quickly, you need to lower the <timeout> parameter to match the servers idle-timeout.
Reply
(2013-08-23, 21:06)t4_ravenbird Wrote:
(2013-08-23, 20:18)rasstar Wrote: ...
This is the complete log.
http://pastebin.com/z1e1UxLM

Wake-on-access will not necessarily kick in just because the HTPC slept ; it only ever kicks in when HTPC has not communicated with Server for more than <timeout> seconds.
In your log the timeout is 10 minutes and woa notices contact to server at 19:54:52 and so there is no reason to kick in at 19:58:12 when you resume since 10 minutes has not yet passed. Did you manually make your server go to sleep in the meantime? If so, the logic breaks. Otherwise, if the server goes into sleep-mode that quickly, you need to lower the <timeout> parameter to match the servers idle-timeout.

Is there a way to get it to send a wake signal every time I resume the htpc from sleep? When I resume from sleep and the server is sleeping it locks up.
Reply
There is a WOL addon that you can use in conjunction with this. It may be set to send a WOL right after resuming from standby.
Reply
(2013-08-24, 00:44)rasstar Wrote: ..
Is there a way to get it to send a wake signal every time I resume the htpc from sleep? When I resume from sleep and the server is sleeping it locks up.

True, if you sleep for just a few minutes, and also in the mean-time turn off the server manually before it reaches the normal idle-mode. This is as designed.
We could add extra wol-transmission after resume, or better, reset all timeout counters, but I dont really see why we would want to do so. If you force-sleep the server you will break woa, adding extra resume-logic would prevent breaking woa but only if htpc is asleep so it is an incomplete 'fix' of a dubious problem.

Does woa work as expected for you if you do a more realistic test ; Suspend htpc, wait for server to go to sleep, then wake htpc ? If not, please try to make a log with it.
Reply
(2013-08-24, 04:22)kricker Wrote: There is a WOL addon that you can use in conjunction with this. It may be set to send a WOL right after resuming from standby.

Yes, but I think it kicks only after XBMC tries to connect MySQL so it does not fix the issue
Reply
The WOL add on works well. It checks for the server every time I resume from sleep.
Reply
  • 1
  • 29
  • 30
  • 31(current)
  • 32
  • 33
  • 38

Logout Mark Read Team Forum Stats Members Help
Automatic WakeOnLan upon accessing MySql or FileShares4