location: Diff for "remotePowerOn_WOL"

Institute of Mathematics - PublicMathWiki:

Differences between revisions 10 and 11
Revision 10 as of 2014-10-01 11:24:26
Size: 1933
Editor: bbaer
Comment:
Revision 11 as of 2014-10-01 11:25:57
Size: 1907
Editor: bbaer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 37: Line 37:
If you are using Debian / Ubuntu Linux, edit /etc/network/interfaces and append the following to eth0: For Debian / Ubuntu Linux, edit /etc/network/interfaces and append the following to eth0:
Line 49: Line 49:
If you are using RHEL / SL / Fedora / CentOS Linux, edit /etc/sysconfig/network-scripts/ifcfg-eth0 and add / modify the following line: For RHEL / SL / Fedora / CentOS Linux, edit /etc/sysconfig/network-scripts/ifcfg-eth0 and add / modify the following line:

WOL: Remotely power on a notebook / dekstop 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 > Power On (WOL)

Check if the device is on the list and note that WOL only works over the yellow tagged network.

Activate WOL

Mac OS X

Setup

Open system preferences -> Energy saving options -> wake for network access (or wake for wifi on most notebooks). Use "sleep" instead of Power Off.

BIOS

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

Windows

To enable WOL under Windows:

  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.

Linux

Install ethtools and run the command  sudo /sbin/ethtool -s eth0 wol g 

This command has to be run once anytime before the computer is shutdown, there are multiple way to automate this, for example:

For Debian / Ubuntu Linux, 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)