RE: Wake-on-LAN on PRO/1000 dual port adapter.

From: Feldman, Scott (scott.feldman@intel.com)
Date: Mon Nov 03 2003 - 14:29:26 EST


> I have a system whose motherboard (Supermicro X5DP8-G2) comes
> with a builtin Intel PRO/1000 MT Dual Port Server Adapter
> (82546EB). The system is running RedHat Linux kernel 2.4.18
> and the NIC driver is e1000 version 4.4.12.

Get the update driver from sf.net/projects/e1000. 5.2.20 is the current
version. There have been some WoL bug fixes since 4.4.12.

> I am wondering if it is possible to disable WOL on this NIC.
> From looking at the driver code, it's clear that the function
> e1000_suspend() is the one that sets up the NIC for what it
> should do in response to a WOL event. The driver writes WUC
> and WUFC registers with a 0 and then calls
> pci_enable_wake() for state 3 and 4 with a 0. However, this
> does not seem to disable WOL. Namely, even if I force
> execution of this code path, once the system shuts down and a
> magic packet is sent to the NIC, the system will come up again.

Use "ethtool -s eth<X> wol d" to disable wakeup on this interface.
Looks like the EEPROM for this LOM is programmed to enable WoL on
power-up. Verify with ethtool eth<x>.

-scott
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html