Shavlik: Enable Wake-on-LAN

Version 5

    Author: Shavlik

    Category: Configuration

    Inputs:

    DellBiosWOL - WOL Enable WOL for Dell Bios with OMCI installed (Example: 4 =  LAN only, 6 = WLAN and LAN, 7 = WLAN only).  Default is 4.

    Minimum ITScripts engine version required: 8.0.0.0

    Modifies the target machine: Yes

    Name: Enable Wake-on-LAN

    Outputs: An Operations Monitor message that indicates if the script was successful.

    Purpose: This script will enable Wake-on-LAN (WoL) in the operating system of a target machine that uses an Intel or Broadcom NIC. The script has an optional parameter to handle BIOS configuration for Dell only machines with OpenManage Client Instrumentation (OMCI) installed and that have platforms that support WoL.

    Script Version: 1.0.0.21

    Target Type: Any

     

    Technical Description:

    This script uses WMI to connect to the remote machine's registry. If the script fails to connect the script will return the following:

    "Failed to connect to WMI."

     

    The script determines if the NIC is Intel or Broadcom. The script then determines if a change is necessary to the Intel or Broadcom network card.

    • If a change is required the script will make the change to each card and return one of the following:
      "Intel NIC WOL successfully updated."
      "Broadcom NIC WOL successfully updated."
    • If a change is not needed the script will return one of the following:
      "Intel NIC WOL is already configured. No changes required."
      "Broadcom NIC WOL is already configured. No changes required."

     

    If the NIC is not Intel or Broadcom the script returns:
    "Failed to find qualified NIC "
    "Unable to find qualified NIC for WOL."
    "Unable to find wireless NIC make sure it is enabled"

     

    The script determines if the remote machine uses a Dell BIOS that has OMCI installed and is on a platform that supports WoL. If so, the script determines if a change to the BIOS is needed to enable Wake-on-LAN.

    • If a change is needed the script will make the change and return the following:
      "Dell BIOS: Now set to WOL Enabled."

     

    • If the script fails to make the change it will return:
      "Unable to set BIOS WOL setting."

     

    • If a change is not needed the script will return:
      "Dell BIOS: No change needed."

     

    For non-Dell machines and for Dell machines without OMCI installed, you may have to manually modify the BIOS in order to enable WoL.

     

    Possible Operations Monitor results include:

    "Intel NIC WOL successfully updated."

    "Intel NIC WOL successfully updated. Unable to modify BIOS because OMCI is not installed or system is not a Dell."

    "Broadcom NIC WOL successfully updated."

    "Broadcom NIC WOL successfully updated. Dell BIOS: No changes required."

    "Intel NIC WOL is already configured. No changes required."

    "Broadcom NIC WOL is already configured. No changes required."

    "Unable to find qualified NIC for WOL."

    "Unable to find Wireless NIC make sure it is enabled"

     

    A number of other result messages not listed here are also possible.