location: Diff for "remotePowerOn_WOL"

Institute of Mathematics - PublicMathWiki:

Differences between revisions 1 and 21 (spanning 20 versions)
Revision 1 as of 2014-10-01 08:56:20
Size: 1627
Editor: bbaer
Comment:
Revision 21 as of 2014-10-02 07:19:49
Size: 2141
Editor: crose
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Power On = = Remotely power on a notebook / desktop of IMATH =
<<TableOfContents>>
Line 3: Line 4:
The idea of this new feature is simple, everyone should be able to wake their machine using localinfo.
To do this various steps are needed depending on your hardware. First check if your machine is visible on the list, if so, then the server has all the information it needs, else you may need to register your notebook.
Line 6: Line 5:
Next thing is to check your machine, it should be connected via an ethernet port with a yellow point on it, wireless lan won't work.
Line 8: Line 6:
If both things are okay, the client has to be configured. The idea of this feature is simple, everyone should be able to wake their machine using localinfo. We use the standard 'Wake on Lan' (in short WOL) feature to accomplish this.
Line 10: Line 8:
== Mac OS X == The following steps have to be taken:
 1. Activate WOL on the Device
 1. Log in to localinfo: http://www.math.uzh.ch > LI > Remote Power On (WOL)
  * Check if the device is on the list
 1. WOL only works over the yellow tagged network (LAN). WOL over WIFI is not supported.
Line 12: Line 14:
Open system preferences -> Energy saving options -> wake for network access (or wake for wifi on most notebooks). Done. = Activate WOL =
Line 14: Line 16:
== Windows == == BIOS: Linux / Windows ==
Line 16: Line 18:
Most computers support Wake On LAN on a wired network.
The Wake On LAN feature allows you to turn on a computer in SLEEP or HIBERNATE mode via the network.
To enable Wake On LAN (WOL):
 1. On bootup, instructions to access the BIOS will be briefly displayed. Press this button to enter the BIOS. The hot key is commonly either DEL, F12, or F8.
Enter the BIOS Setup at startup of the machine. Look for the an Option like `Power on by PCIE Devices`, `Power On by onboard Lan`, `On Board LAN boot (rom)` (!) and set it to enable. It is usually under `Boot` or `Advanced`.
Line 21: Line 20:
 2. Using your BIOS, modify the boot sequence to make LAN first priority.
  2.a. In a generic BIOS, boot priority settings can be found in the Boot Menu.
  2.b. In an ASUS UEFI EZ BIOS, you can drag the LAN icon to the left to set LAN as first priority.
== OS: Mac OS X ==
Line 25: Line 22:
 3. In the BIOS Setup program, set the items Power On by PCIE devices and Power On by Onboard Lan to [Enabled].  * Open system preferences -> Energy saving options -> wake for network access (or wake for wifi on most notebooks).
 * General: if you leave your office, use '''sleep''' instead of '''Power Off'''.

Note: Some Mac Mini (10.9) don't support WOL.

== OS: Windows ==
Line 28: Line 30:
 1. Right-click Computer, then click Properties > Device Manager.  1. Right-click Computer > Properties > Device Manager.
Line 31: Line 33:

== OS: Linux ==

 * Install ethtools `sudo apt-get install ethtool`
 * Run the command (necessary after each boot) {{{
sudo /sbin/ethtool -s eth0 wol g }}}
  * To automate this, there are multiple way to do this, for example:

   * For Debian / Ubuntu Linux (without network manager) edit /etc/network/interfaces and append the following to eth0: {{{
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.254
        post-up /sbin/ethtool -s eth0 wol g
        post-down /sbin/ethtool -s eth0 wol g
}}}

   * For RHEL / SL / Fedora / CentOS Linux, edit /etc/sysconfig/network-scripts/ifcfg-eth0 and add / modify the following line: {{{
ETHTOOL_OPTS="wol g" }}}
   * or {{{
ETHTOOL_OPTS="wol g autoneg off speed 100 duplex full " }}}
 
Save and close the file.

Remotely power on a notebook / desktop of IMATH

The idea of this feature is simple, everyone should be able to wake their machine using localinfo. We use the standard 'Wake on Lan' (in short WOL) feature to accomplish this.

The following steps have to be taken:

  1. Activate WOL on the Device
  2. Log in to localinfo: http://www.math.uzh.ch > LI > Remote Power On (WOL)

    • Check if the device is on the list
  3. WOL only works over the yellow tagged network (LAN). WOL over WIFI is not supported.

Activate WOL

BIOS: Linux / Windows

Enter the BIOS Setup at startup of the machine. Look for the an Option like Power on by PCIE Devices, Power On by onboard Lan, On Board LAN boot (rom) (!) and set it to enable. It is usually under Boot or Advanced.

OS: Mac OS X

  • Open system preferences -> Energy saving options -> wake for network access (or wake for wifi on most notebooks).

  • General: if you leave your office, use sleep instead of Power Off.

Note: Some Mac Mini (10.9) don't support WOL.

OS: Windows

To enable WOL under Windows:

  1. Right-click Computer > Properties > Device Manager.

  2. Under Network Adapters, double-click the device.
  3. Tick all the items under the Power Management tab.

OS: Linux

  • Install ethtools sudo apt-get install ethtool

  • Run the command (necessary after each boot)

    sudo /sbin/ethtool -s eth0 wol g 
    • To automate this, there are multiple way to do this, for example:
      • For Debian / Ubuntu Linux (without network manager) edit /etc/network/interfaces and append the following to eth0:

        auto eth0
        iface eth0 inet static
        address 192.168.1.1
        netmask 255.255.255.0
        gateway 192.168.1.254
                post-up /sbin/ethtool -s eth0 wol g
                post-down /sbin/ethtool -s eth0 wol g
      • For RHEL / SL / Fedora / CentOS Linux, edit /etc/sysconfig/network-scripts/ifcfg-eth0 and add / modify the following line:

        ETHTOOL_OPTS="wol g" 
      • or

        ETHTOOL_OPTS="wol g autoneg off speed 100 duplex full " 

Save and close the file.

PublicMathWiki: remotePowerOn_WOL (last edited 2021-02-04 18:16:11 by eseide)