Comment 3 for bug 981461

Revision history for this message
Stéphane Graber (stgraber) wrote : Re: wol broken on HP ProLiant N40L (Broadcom tg3 driver)

I'll have to test when I get back home and have access to server hardware.

Looking at our current initscripts "/etc/init.d/networking stop" gets called in rc0.d which will call ifdown and ultimately do the "ifconfig ethX down", unless the interface isn't defined in /etc/network/interfaces.

So maybe we have a race somewhere and the interface doesn't reliably get brought down on shutdown, causing this bug.

We can't call ethtool as it's not shipped by default in Ubuntu and certainly won't introduce it in an SRU.
Also, based on what I remember about that specific call and somewhat confirmed by the manpage entry, "wol g" actually turns on wake-on-lan ignoring the BIOS setting which we certainly don't want to do.

So what we want is for a machine where the BIOS is properly configured and supports wake-on-lan to actually wake up on magic packet but not make every single Ubuntu system suddenly boot when they get one ;)