I've been trying today to figure out how to make an Ubuntu box wake on lan. The computer is pretty old, but I found the WOL option in BIOS (I also enabled wake up on pci). The network card is ADMTek NC100 Network Everywhere (revision 11). From what I've read on the net, it should also support WOL.
First, I tried with ethtool, but because of the fact that the NIC's driver is tulip, ethtool does not give me any info about it.
ethtool eth0
Settings for eth0:
No data available
ethtool -i eth0
driver: tulip
version: 1.1.15
firmware-version:
bus-info: 0000:02:0c.0
The command I first tried to use was:
ethtool -s eth0 wol g
but it didn't work (because of tulip, I guess).
Next, I tried to modify /proc/acpi/wakeup. The initial state was:
Device S-state Status Sysfs node
SBTN S4 *enabled
PCI1 S4 disabled pci:0000:00:1e.0
UAR1 S4 disabled pnp:00:08
USB S4 disabled pci:0000:00:1f.2
USB2 S4 disabled pci:0000:00:1f.4
AC9 S4 disabled
SMB S4 disabled pci:0000:00:1f.3
so i tried to enable the PCI for wakeup (even though it wasn't my ethernet card's slot) by doing this:
grep 'PCI1.*enabled' < /proc/acpi/wakeup >/dev/null || \
echo PCI1 > /proc/acpi/wakeup
After the command is run, the PCI port is listed there as enabled, but WOL still doesn't work. I've tried it by using this client for Windows XP. I haven't tested to see if it sends the magic package ok, but it was among the first in Google search and there were references for it all around, so I don't think that the problem comes from here.
I've ran out of ideas (and out of forums to search :) so I hope someone here has figured out a solution for this issue. Thanks :).