Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Jason Temple
    Guest

    executing binaries on a squeezebox

    Howdy All,
    I was curious if anyone has an easy way of loading software into the
    squeezebox. What I'm looking to do is cross compile ether-wake and tie
    it in with the rc scripts on the squeezebox (or whatever scripts are
    used to start when powered on) in order to execute a wake on lan event
    (magic packet) on the slimserver nic. I poked around a bit and did not
    find mention of this so far.

    Any pointers would be great, thanks!

    jas

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.6 (GNU/Linux)

    iD8DBQBCCWJvlRglocHBb0QRAnQoAKCeIibNeXF3OpOKpVAA4e BEqy0m4gCaAr6z
    J2Iew6tH8e/nrJQE2EbK3jU=
    =3ZFa
    -----END PGP SIGNATURE-----

  2. #2
    NOT a Slim Devices Employee kdf's Avatar
    Join Date
    Apr 2005
    Posts
    9,493

    executing binaries on a squeezebox

    Quoting Jason Temple <jason (AT) temple (DOT) net>:

    > Howdy All,
    > I was curious if anyone has an easy way of loading software into the
    > squeezebox. What I'm looking to do is cross compile ether-wake and tie
    > it in with the rc scripts on the squeezebox (or whatever scripts are
    > used to start when powered on) in order to execute a wake on lan event
    > (magic packet) on the slimserver nic. I poked around a bit and did not
    > find mention of this so far.
    >
    > Any pointers would be great, thanks!


    Basicaly, you can't. The squeezebox powered by a Ubicom cpu, and its
    development environment is not something they they make available freely.
    There are ongoing talks to arrange some method for custom firmware, but at this
    time it is still talk.

    -kdf

  3. #3
    Jason Temple
    Guest

    executing binaries on a squeezebox

    Rats...any ideas on how to remotely trigger a server with a bunch of
    disks to spin up only when needed? I've got quite a bit of disk space
    that I don't necessarily want to spin 24x7, yet I definitely want
    available...

    The idea is simple, power on the SB and the server starts up a minute
    later, then some sort of polling script on the server to determine if
    any clients are currently connected/playing and if not, shutdown and
    wait until the next wake statement.

    any ideas??

    jas

    On Tue, 2005-02-08 at 17:17 -0800, kdf wrote:
    > Quoting Jason Temple <jason (AT) temple (DOT) net>:
    >
    > > Howdy All,
    > > I was curious if anyone has an easy way of loading software into the
    > > squeezebox. What I'm looking to do is cross compile ether-wake and tie
    > > it in with the rc scripts on the squeezebox (or whatever scripts are
    > > used to start when powered on) in order to execute a wake on lan event
    > > (magic packet) on the slimserver nic. I poked around a bit and did not
    > > find mention of this so far.
    > >
    > > Any pointers would be great, thanks!

    >
    > Basicaly, you can't. The squeezebox powered by a Ubicom cpu, and its
    > development environment is not something they they make available freely.
    > There are ongoing talks to arrange some method for custom firmware, but at this
    > time it is still talk.
    >
    > -kdf
    >

  4. #4
    Jason Temple
    Guest

    executing binaries on a squeezebox

    Rats...any ideas on how to remotely trigger a server with a bunch of
    disks to spin up only when needed? I've got quite a bit of disk space
    that I don't necessarily want to spin 24x7, yet I definitely want
    available...

    The idea is simple, power on the SB and the server starts up a minute
    later, then some sort of polling script on the server to determine if
    any clients are currently connected/playing and if not, shutdown and
    wait until the next wake statement.

    any ideas??

    jas

    On Tue, 2005-02-08 at 17:17 -0800, kdf wrote:
    > Quoting Jason Temple <jason (AT) temple (DOT) net>:
    >
    > > Howdy All,
    > > I was curious if anyone has an easy way of loading software into the
    > > squeezebox. What I'm looking to do is cross compile ether-wake and tie
    > > it in with the rc scripts on the squeezebox (or whatever scripts are
    > > used to start when powered on) in order to execute a wake on lan event
    > > (magic packet) on the slimserver nic. I poked around a bit and did not
    > > find mention of this so far.
    > >
    > > Any pointers would be great, thanks!

    >
    > Basicaly, you can't. The squeezebox powered by a Ubicom cpu, and its
    > development environment is not something they they make available freely.
    > There are ongoing talks to arrange some method for custom firmware, but at this
    > time it is still talk.
    >
    > -kdf
    >

  5. #5
    Jason Temple
    Guest

    executing binaries on a squeezebox

    Rats...any ideas on how to remotely trigger a server with a bunch of
    disks to spin up only when needed? I've got quite a bit of disk space
    that I don't necessarily want to spin 24x7, yet I definitely want
    available...

    The idea is simple, power on the SB and the server starts up a minute
    later, then some sort of polling script on the server to determine if
    any clients are currently connected/playing and if not, shutdown and
    wait until the next wake statement.

    any ideas??

    jas

    On Tue, 2005-02-08 at 17:17 -0800, kdf wrote:
    > Quoting Jason Temple <jason (AT) temple (DOT) net>:
    >
    > > Howdy All,
    > > I was curious if anyone has an easy way of loading software into the
    > > squeezebox. What I'm looking to do is cross compile ether-wake and tie
    > > it in with the rc scripts on the squeezebox (or whatever scripts are
    > > used to start when powered on) in order to execute a wake on lan event
    > > (magic packet) on the slimserver nic. I poked around a bit and did not
    > > find mention of this so far.
    > >
    > > Any pointers would be great, thanks!

    >
    > Basicaly, you can't. The squeezebox powered by a Ubicom cpu, and its
    > development environment is not something they they make available freely.
    > There are ongoing talks to arrange some method for custom firmware, but at this
    > time it is still talk.
    >
    > -kdf
    >

  6. #6
    Jason Temple
    Guest

    executing binaries on a squeezebox

    Rats...any ideas on how to remotely trigger a server with a bunch of
    disks to spin up only when needed? I've got quite a bit of disk space
    that I don't necessarily want to spin 24x7, yet I definitely want
    available...

    The idea is simple, power on the SB and the server starts up a minute
    later, then some sort of polling script on the server to determine if
    any clients are currently connected/playing and if not, shutdown and
    wait until the next wake statement.

    any ideas??

    jas

    On Tue, 2005-02-08 at 17:17 -0800, kdf wrote:
    > Quoting Jason Temple <jason (AT) temple (DOT) net>:
    >
    > > Howdy All,
    > > I was curious if anyone has an easy way of loading software into the
    > > squeezebox. What I'm looking to do is cross compile ether-wake and tie
    > > it in with the rc scripts on the squeezebox (or whatever scripts are
    > > used to start when powered on) in order to execute a wake on lan event
    > > (magic packet) on the slimserver nic. I poked around a bit and did not
    > > find mention of this so far.
    > >
    > > Any pointers would be great, thanks!

    >
    > Basicaly, you can't. The squeezebox powered by a Ubicom cpu, and its
    > development environment is not something they they make available freely.
    > There are ongoing talks to arrange some method for custom firmware, but at this
    > time it is still talk.
    >
    > -kdf
    >

  7. #7
    Senior Member
    Join Date
    Apr 2005
    Location
    Arlington, MA
    Posts
    198

    executing binaries on a squeezebox

    On Sun, 13 Feb 2005 16:14:49 -0500, Jason Temple <jason (AT) temple (DOT) net> wrote:
    >
    > any ideas??
    >


    There's a feature request already:
    http://bugs.slimdevices.com/show_bug.cgi?id=331

    I don't know if it's going to be implemented, though.

    - Jacob

  8. #8
    Pat Farrell
    Guest

    executing binaries on a squeezebox

    At 04:14 PM 2/13/2005, Jason Temple wrote:
    >The idea is simple, power on the SB and the server starts up a minute
    >later, then some sort of polling script on the server to determine if
    >any clients are currently connected/playing and if not, shutdown and
    >wait until the next wake statement.
    >any ideas??


    As others have posted, it is not easy.
    Which raises in my feeble mind, why would you want to do this?
    I'm not sure that it is a good trade off to power down disks,
    it is likely that the power-down/spin up cycle is more likely to
    take life out of the disks than just leaving them running.

    Same with cycling the CPU, thermal stress and all that.

    If you want to save power, why not get a low power CPU/MB,
    like a Via Eden system?

    i would suggest looking at what real problem you want to
    solve, since the obvious choice is blocked.

    Pat

  9. #9
    Senior Member kefa's Avatar
    Join Date
    Apr 2005
    Location
    Highbury
    Posts
    102

    I wanna do this too

    I live in a small flat, so I have tucked the (Fedora linux) Slimserver in the bedroom, so that it doesn't cause noise when listening to music in the lounge over wi-fi. What I want is an easy way to turn the Slimserver on an off from my Squeezebox. (wake-up on LAN, execute script to turn off, etc.).

    I don't want to leave my PC switched on all the time for a number of reasons (packed full of additional hot disks that are screwed in to the case: not sure the cooling really supports this!!, wouldn't want to give hackers the chance to take over the box by leaving it on 24/7, makes too much noise in the bedroom to sleep with it on).

    On the other hand, I'm lazy so I don't want to have to walk in to the bedroom to power the Slimserver on and off every time I want to listen to music.

    (I got the SB2 for convenience in the first place, right...)

  10. #10
    Senior Member
    Join Date
    Apr 2005
    Location
    Minnesnowta, USA
    Posts
    117
    Quote Originally Posted by kefa
    I live in a small flat, so I have tucked the (Fedora linux) Slimserver in the bedroom, so that it doesn't cause noise when listening to music in the lounge over wi-fi. What I want is an easy way to turn the Slimserver on an off from my Squeezebox. (wake-up on LAN, execute script to turn off, etc.).
    I think this would be pretty useful -- if the Squeezebox can't connect to the SlimServer, it could try sending a WakeOnLan packet, and display a message to the effect of "the server should be booting now, this'll take a bit...".

    I wouldn't want the squeezebox's power button to turn OFF my slimserver box, but slimserver is aware of the squeezebox's power status -- you could probably watch for that change in a script on your server, and perform a shutdown at that point.

Posting Permissions

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