Remote sleep and reboot


    Feb 01 2008 | 1:37 pm
    Hi everyone!
    I'm running 10 MacMinis in an exhibition.
    For more control I want a central computer, running a MAX patch. It should be able to remotely restart them and put them to sleep, individually. Can MAX do such a thing?
    greets
    Woody

    • Feb 01 2008 | 2:24 pm
    • Feb 01 2008 | 2:24 pm
      max can send shell commands via the shell object.
      On Feb 1, 2008, at 8:37 AM, Wouter Verbiest wrote:
      >
      > Hi everyone!
      >
      > I'm running 10 MacMinis in an exhibition.
      > For more control I want to build a central computer, running a MAX
      > patch. It should be able to remotely restart them and put them to
      > sleep, individually. Can MAX do such a thing?
      >
      > greets
      > Woody
    • Feb 01 2008 | 3:53 pm
      Interesting.
      I just hooked my Macbook to my PC using a basic switch.
      Then I installed the aka.power external (http://www.iamas.ac.jp/~aka/max/#aka_power) on my MacBook.
      Via udpsend and udpreceive I sent the Macbook a "sleep" message on its correct host and port, which got routed to the aka.power object. And so it went to sleep...
      Very nice, and very simple. But now, how do I wake it up using MAX?
      I am not a big programmer, so, any simple suggestions?
    • Feb 01 2008 | 4:34 pm
    • Feb 02 2008 | 10:57 am
      On 1-feb-2008, at 16:53, Wouter Verbiest wrote:
      >
      > Interesting.
      > I just hooked my Macbook to my PC using a basic switch.
      > Then I installed the aka.power external (http://www.iamas.ac.jp/
      > ~aka/max/#aka_power) on my MacBook.
      >
      > Via udpsend and udpreceive I sent the Macbook a "sleep" message on
      > its correct host and port, which got routed to the aka.power
      > object. And so it went to sleep...
      > Very nice, and very simple. But now, how do I wake it up using MAX?
      you might try to wake the mac using "wake on LAN"
      also be sure to check your system preferences > energy saver >
      options > wake options
      and check "wake for ethernet network administrator access" on the mac
      minis you want to wake up
      HtH
      -jennek
    • Feb 02 2008 | 12:56 pm
      Does anyone know how to send a Wake-on-lan message/package using MAX?
    • Feb 03 2008 | 4:30 am
      Hi,
      On 2008/02/02, at 19:57, jennek geels wrote:
      > you might try to wake the mac using "wake on LAN"
      It's useful information.
      I success it with aka.datagram & udpsend.
      Check the attached patch.
      Of course, you have to change 'MAC address' and 'Broadcast address' as
      your network environment.
      Thanks,
      Masayuki
    • Feb 03 2008 | 7:54 pm
      Thanks Masayuki!
      But..what attached patch do you mean...?
    • Feb 04 2008 | 12:23 am
      On 2008/02/04, at 4:54, Wouter Verbiest wrote:
      > But..what attached patch do you mean...?
      You can wake another sleeping Mac (maybe PC too) up with that patch.
      (I made spelling mistakes. sorry)
      Connect two computers to LAN ( with Ehternet cables ).
      Change the message to a sleeping computer's MAC address ( of Ethernet
      chip ).
      MAC address is normally expressed in a hexadecimal with colon ( ex.
      00:0a:95:c4:a9:56 ) but you have to express it in a decimal and comma
      ( ex. 0, 10, 149, 196, 169, 86 ) in this patch.
      And click the button.
      The broadcast address 255.255.255.255 will work but it's better to
      change it according to your subnet address. Don't change the port
      number 6.
      Cheers,
      Masayuki
    • Feb 04 2008 | 12:32 pm
      On 3-feb-2008, at 20:54, Wouter Verbiest wrote:
      > Thanks Masayuki!
      > But..what attached patch do you mean...?
      Patches attached to the mailing list do not make it to the forum,
      if I remember correctly.
      here is the text version of the patch that Masayuki posted.
      to quickly input the mac address in hexadecimal, use numbox with its
      display style set to hex.
      -jennek
      max v2;