Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Remotely wake from sleep

  • 10-12-2009 12:43PM
    #1
    Registered Users, Registered Users 2 Posts: 6,790 ✭✭✭


    Ok, so I was working on a remote machine and needed to reboot. But I stupidly ran 'shutdown -s' instead of 'shutdown -r' and now I can't get the damn machine (which is 8,000km away) to wake from sleep. Any hints on how I might do that? I have the IP and MAC address.

    I'm working on a mac btw, but thought this might be the best place to ask...


Comments

  • Registered Users, Registered Users 2 Posts: 355 ✭✭francosp


    Does the machine have some kind of remote serial console ?

    Most of our machine have RSC's, which allow me to directly connect to the console of the machine so I can send breaks etc to the OS


  • Registered Users, Registered Users 2 Posts: 6,790 ✭✭✭cornbb


    Unfortunately not. Some of our machines are on PDUs but not this one :(


  • Closed Accounts Posts: 12,807 ✭✭✭✭Orion


    if the nic supports it (nearly all modern network cards do) you can use wakeonlan to turn it back on. In Ubuntu it's just "wakeonlan <mac address>". In windows you can download a 'wol' utility. There will be a similar utility for macs - maybe ask in the Mac forum?


  • Registered Users, Registered Users 2 Posts: 1,760 ✭✭✭Theta


    You have to be on the same network unless you have a WOL proxy to do it from outside.


  • Registered Users, Registered Users 2 Posts: 545 ✭✭✭ravydavygravy


    Low tech solution - ring someone in the datacentre, and ask them to push the button?


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 6,790 ✭✭✭cornbb


    I did find a Perl utility called wakeonlan but it didn't do the trick. Probably a networking issue.

    Unfortunately everyone who works there is in bed right now. Oh well, it can wait a couple of hours.

    Thanks everyone.


  • Registered Users, Registered Users 2 Posts: 1,760 ✭✭✭Theta


    cornbb wrote: »
    I did find a Perl utility called wakeonlan but it didn't do the trick. Probably a networking issue.

    Unfortunately everyone who works there is in bed right now. Oh well, it can wait a couple of hours.

    Thanks everyone.

    Yup WOL works on layer two so chances are the magic packet didnt leave your network.


Advertisement