Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#27 Add 'Wake on Lan' ( WOL ) feature

1.1
closed
None
2014-01-06
2012-11-29
arkascha
No

I would love to see a small additional feature in smb4k:

Wake on Lan ( WOL )

That feature serves to wake a remote server that went to sleep whilst not being used. Going to sleep makes sense, it saves energy, noise and preserves the disks. However it has to be woken up again before it can be accessed by smb4k.
The solution for this is 'Wake on Lan', it consists of the server being able to react on being woken and the client sending a WOL package to the server.

The implementation is trivial, it is more a question of integration into the GUI and the workflow.

With that feature I would expect to be able to access my NAS server that went to sleep in an automatic way: when selecting a bookmarked share inside smb4k a WOL package should be sent (if activated) to the server (never hurts...). Any maybe (candy) the mount request should be repeated if it timesout since the server has to wake up first. Maybe it makes sense to limit the amount of retries and the timespan inbetween retries.

Discussion

  • arkascha
    arkascha
    2012-11-29

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -I would love to see a small additional feture in smb4k: 
    +I would love to see a small additional feature in smb4k: 
    
     Wake on Lan ( WOL )
    
     
  • arkascha
    arkascha
    2012-11-29

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -2,7 +2,7 @@
    
     Wake on Lan ( WOL )
    
    -That feature serves to wake a remote server that went to sleep whilst not being used. This makes sense, it serves energy and noise. However it has to be woken up again before it can be accessed by smb4k. 
    +That feature serves to wake a remote server that went to sleep whilst not being used. going to sleep makes sense, it saves energy and noise. However it has to be woken up again before it can be accessed by smb4k. 
     The solution for this is 'Wake on Lan', it consists of the server being able to react on being woken and the client sending a WOL package to the server. 
    
     The implementation is trivial, it is more a question of integration into the GUI and the workflow.
    
     
  • arkascha
    arkascha
    2012-11-29

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -2,7 +2,7 @@
    
     Wake on Lan ( WOL )
    
    -That feature serves to wake a remote server that went to sleep whilst not being used. going to sleep makes sense, it saves energy and noise. However it has to be woken up again before it can be accessed by smb4k. 
    +That feature serves to wake a remote server that went to sleep whilst not being used. Going to sleep makes sense, it saves energy, noise and preserves the disks. However it has to be woken up again before it can be accessed by smb4k. 
     The solution for this is 'Wake on Lan', it consists of the server being able to react on being woken and the client sending a WOL package to the server. 
    
     The implementation is trivial, it is more a question of integration into the GUI and the workflow.
    
     
  • The upcoming version 1.1.0 has a feature implemented that basically does what you want. It tries to remount a share several times before giving up. The number of retries and the waiting time between retries can be configured.

     
    • assigned_to: Alexander Reinholdt
    • milestone: New tickets --> 1.1
     
  • I'm currently implementing the sending of magic Wake-On-LAN packages. The next major release will include this feature.

     
    • status: open --> accepted
     
    • status: accepted --> pending
     
  • I just finished the implementation of the WOL feature. Smb4K 1.1.0 will ship with it. Thanks for the suggestion.

     
    • Status: pending --> closed