Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 5 of 5

Thread: Wake up Lan NAS

  1. #1
    Junior Member
    Join Date
    Jan 2009
    Location
    Netherlands
    Posts
    12

    Question Wake up Lan NAS

    Hi,

    I'll hope this is the right forum.

    Let me explain the situation.

    I have a server running. Onto that server i installed Squeezebox server. This server is always on. I also have a DIY build NAS. I only use the NAS for file storage. So all music is stored on the NAS. I want all running services seperate from my storage. The NAS is going in sleep mode when not used.

    I already mounted the share where my music is stored (onto the NAS).

    Now the question. Is it possible to wake up the NAS when Squeezebox Server needs the music files?
    Last edited by master_marcel; 2010-07-12 at 12:50.

  2. #2
    Senior Member
    Join Date
    Apr 2008
    Location
    Paris, France
    Posts
    2,242

    Ideas ?

    Something like iPeng could give you this for free, because it has the capacity to send, when you start it, a wol packet to an arbitrary MAC address.
    Regular SB players will register the MAC address of the server, making their WOL feature useless. I do not have a running solution (and I fear of timeouts and other issues in practice) but I guess running a proxy service on the server could be an idea.
    - Some sort of wol proxy: when a wol packet is sent to the server, send another one to the NAS. Built using a raw socket + iptables (on linux)? There are "wol proxies" out there, I don't know what they do.
    - HTTP proxy: same idea, listening to server:9000. More flexible since every player action could trigger the wake (but timeout may apply)
    - Automount script map (linux et al.): when the NAS is down, access to a specific file hierarchy on the server is preceded with a wol packet. Something like this (the auto.nas file, specifically). Timeout issues *will* apply.

    I'd be interested to read other suggestions. Routing, proxy arp ??
    Last edited by epoch1970; 2010-07-15 at 00:19.
    2 SB 3 • 1 PCP 6 • Libratone Loop, Zipp, Zipp Mini • iPeng (iPhone + iPad) • LMS 7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa • IRBlaster by Gwendesign (Felix) • Smart Mix, Music Walk With Me, What Was That Tune? by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

  3. #3
    Junior Member
    Join Date
    Jan 2009
    Location
    Netherlands
    Posts
    12
    Thanks for your suggestions epoch1970. I almost gave up this setup, but checking this thread this morning i found your answer.

    I really like to keep my storage separate from my running services. It would be nice to get this working. I'll checkout your suggestions.

    I'll think i do a feature request to build in a option (if possible) to wake up other devices (NAS).

  4. #4
    Junior Member
    Join Date
    Jan 2009
    Location
    Netherlands
    Posts
    12
    epoch1970,

    When i use a http proxy, how to get this working? I never used a proxy before.

  5. #5
    Junior Member
    Join Date
    Jan 2009
    Location
    Netherlands
    Posts
    12
    The only two thing what have to be execute is:

    wolcmd mac address ip address subnet mask port(from windows client).

    mount //ip address/Compact-Disc-Flac /mnt/samba/Compact-Disc-Flac cifs username=someone,password=somepassword

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •