location: Diff for "remotePowerOn_WOL"

Institute of Mathematics - PublicMathWiki:

Differences between revisions 2 and 37 (spanning 35 versions)
Revision 2 as of 2014-10-01 08:56:40
Size: 1625
Editor: bbaer
Comment:
Revision 37 as of 2021-02-04 18:16:11
Size: 3450
Editor: eseide
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Power On = ## page was renamed from remotePowerOn_WOL0
## page was renamed from Remote Power On (Wake on LAN - WOL)
= Remotely power on a notebook / desktop located at IMATH =
<<TableOfContents>>
Line 3: Line 6:
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 7:
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 8:
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 10:
== Mac OS X == The following steps have to be taken:
 1. Activate WOL on the Device
 1. Connect the device to the yellow tagged network (LAN).
  * WOL over WIFI is not supported.
 1. Put the device to sleep.
 1. Log in to localinfo: http://www.math.uzh.ch > LI > Remote Power On (WOL) and power on
  * If the device is not on the list, contact support@math.uzh.ch
Line 12: Line 18:
Open system preferences -> Energy saving options -> wake for network access (or wake for wifi on most notebooks). Done. = Activate WOL =
Line 14: Line 20:
== Windows == == BIOS: Linux / Windows ==
Line 16: Line 22:
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 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 24:
 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.
Note: Some newer Notebooks may only allow Boot On LAN in Sleep Mode to save Energy.
Line 25: Line 26:
 3. In the BIOS Setup program, set the items Power On by PCIE devices and Power On by Onboard Lan to [Enabled].
== 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 ==
Line 28: Line 37:
 1. Right-click Computer, then click Properties > Device Manager.
 2. Under Network Adapters, double-click the device.
 3. Tick all the items under the Power Management tab.
 * Right-click Computer > Properties > Device Manager.
 * Under Network Adapters, double-click the device.
 * Switch to the Advanced Tab and set WOL Magic Packet to enabled
     {{attachment:enable-wol.png}}
 * Tick all the items under the Power Management tab.
     {{attachment:wol_windows.png}}
 * Use Windowskey + R and type: `shell:::{67718415-c450-4f3c-bf8a-b487642dc39b}` and turn Simple TCPIP Services on
     {{attachment:windows1.png}}
 * Open UDP Port 9 in the Windows Firewall
    go to Control Panel\All Control Panel Items\Windows Firewall, click 'Advanced Settings' on the left, and create a new Inbound Rule to open the required port.
    {{attachment:irule.png}}
 * Restart Windows

== OS: Linux ==

 * Install ethtools `sudo apt-get install ethtool`
 * Run the command (necessary after each boot) {{{
sudo /sbin/ethtool -s eth0 wol g }}}
 * Auto activation during boot:

  * 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 " }}}
 
= Restrictions =
 * The device needs hardware which supports WOL.
 * WOL only works on the yellow LAN (no WLAN).
 * Typically, the device is blocked by the UZH Firewall - use thinlinc (that's behind the UZH firewall) to connect to your device.
 * Make sure that there is a service running on your device which waits for remote connection.
  * F.e. use gtkvncviewer (started on thinlinc) to connect with a GUI to your mac (not very fast) - check [[http://www.howtogeek.com/180953/3-free-ways-to-remotely-connect-to-your-macs-desktop/|Screen sharing]]

Remotely power on a notebook / desktop located at 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. Connect the device to the yellow tagged network (LAN).
    • WOL over WIFI is not supported.
  3. Put the device to sleep.
  4. Log in to localinfo: http://www.math.uzh.ch > LI > Remote Power On (WOL) and power on

Activate WOL

BIOS: Linux / Windows

Enter the BIOS Setup at startup of the machine. Look for 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.

Note: Some newer Notebooks may only allow Boot On LAN in Sleep Mode to save Energy.

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:

  • Right-click Computer > Properties > Device Manager.

  • Under Network Adapters, double-click the device.
  • Switch to the Advanced Tab and set WOL Magic Packet to enabled
    • enable-wol.png

  • Tick all the items under the Power Management tab.
    • wol_windows.png

  • Use Windowskey + R and type: shell:::{67718415-c450-4f3c-bf8a-b487642dc39b} and turn Simple TCPIP Services on

    • windows1.png

  • Open UDP Port 9 in the Windows Firewall
    • go to Control Panel\All Control Panel Items\Windows Firewall, click 'Advanced Settings' on the left, and create a new Inbound Rule to open the required port.

      irule.png

  • Restart Windows

OS: Linux

  • Install ethtools sudo apt-get install ethtool

  • Run the command (necessary after each boot)

    sudo /sbin/ethtool -s eth0 wol g 
  • Auto activation during boot:
    • 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 " 

Restrictions

  • The device needs hardware which supports WOL.
  • WOL only works on the yellow LAN (no WLAN).
  • Typically, the device is blocked by the UZH Firewall - use thinlinc (that's behind the UZH firewall) to connect to your device.
  • Make sure that there is a service running on your device which waits for remote connection.
    • F.e. use gtkvncviewer (started on thinlinc) to connect with a GUI to your mac (not very fast) - check Screen sharing

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