WOL and remote shutdown

Discussion in 'Hardware' started by AJ, Feb 19, 2007.

  1. AJ

    AJ 01000001 01100100 01101101 01101001 01101110 Administrator

    6,897
    182
    221
    The people in the know at my school are wanting to make us more environmentally friendly. The see all of the PC's still turned on all day and night and think "wouldn't be a good idea to turn these off when they are not being used".

    Guess who's got that job :eek:

    Need a solution to this so that at a certain time at night the computers turn themselves off and restart in the morning. I think the majority of machines have "Wake up on LAN" on the NIC's.

    Is anyone doing this with their network at the moment and how do you achieve it.

    Thanks a lot
     
    Certifications: MCSE, MCSA (messaging), ITIL Foundation v3
    WIP: Breathing in and out, but not out and in, that's just wrong
  2. Sparky
    Highly Decorated Member Award 500 Likes Award

    Sparky Zettabyte Poster Moderator

    10,718
    543
    364
    To shut them down you could use a batch file with the ‘shutdown’ command and run this as a scheduled task.

    I’ve never actually seen the ‘wake on LAN’ feature working before but it looks like it might help. Not sure it switches a PC on or just boots it up from ‘hibernate’ mode or something like that. :biggrin
     
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) MS-900 AZ-900 Security+ Network+ A+
    WIP: Microsoft Certs
  3. zebulebu

    zebulebu Terabyte Poster

    3,748
    330
    187
    Yep, batch file to shut down is the quickest way to implement the first part.

    WOL is definitely the way to go for your second problem too. If you're not familiar with it, basically, WOL works by reserving a small amount of power for the NIC. The NIC listens for a 'magic packet' containing the WOL instructions, sent to the broadcast address of the subnet that NIC sits on. When it receives the magic packet, the PC boots - its that simple.

    In order to get WOL working in your environment, you'll need to make sure of two things:

    Firstly, that the boxes you're trying to 'wake up' support WOL. This shouldn't be too much of an issue, as most modern Mobos support this feature - though you may need to enable it in the BIOS for older machines. If your machines are too old or just plain don't have WOL support, you;re out of luck :(

    Second thing, provided your machines support WOL is to either script a 'wake up call' in Perl or something similar, or to get some software that supports it (something like this)
     
    Certifications: A few
    WIP: None - f*** 'em
  4. Phil
    Honorary Member

    Phil Gigabyte Poster

    1,680
    7
    87
    Certifications: MCSE:M & S MCSA:M CCNA CNA
    WIP: 2003 Upgrade, CCNA Upgrade
  5. AJ

    AJ 01000001 01100100 01101101 01101001 01101110 Administrator

    6,897
    182
    221
    Hey nice one mate, forget about that.
     
    Certifications: MCSE, MCSA (messaging), ITIL Foundation v3
    WIP: Breathing in and out, but not out and in, that's just wrong

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.