Automatic WakeOnLan upon accessing MySql or FileShares

  Thread Rating:
  • 4 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
D-an-W Offline
Senior Member
Posts: 113
Joined: Dec 2011
Reputation: 1
Post: #541
I have WOL working ok with my NAS (Synology DS215j), the only issue seems to be the time it waits for the NAS to wake which seems to be just over two minutes from fully off.

I tried the settings below thinking Kodi would wait four minutes in total but it still starts without fully waiting and because of that doesn't show my shares.

Code:
<onaccesswakeup>
    <netinittimeout>20</netinittimeout>
    <netsettletime>500</netsettletime>
    <wakeup>
        <host>XXX.XXX.XXX.XXX</host>
        <mac>00:11:22:33:44:55</mac>
        <pingport>0</pingport>
        <pingmode>0</pingmode>
        <timeout>300</timeout>
        <waitonline>120</waitonline>
        <waitonline2>120</waitonline2>
        <waitservices>5</waitservices>
    </wakeup>
</onaccesswakeup>

Am I right in saying I need to increase <waitservices> and perhaps decrease <waitonline> a little for this to work?
find quote
t4_ravenbird Offline
Senior Member
Posts: 231
Joined: Mar 2012
Reputation: 8
Post: #542
In general, yes. You also may want to investigate the log file (wiki) - all events are time-stamped so it can be helpful to figure out what is going on
find quote
D-an-W Offline
Senior Member
Posts: 113
Joined: Dec 2011
Reputation: 1
Post: #543
Thanks, I set them both to 60 seconds and a couple of seconds after the NAS has fully booted (There is a beep) Kodi launched and all the shares were present.
find quote
Post Reply