Powernap upstart script assumes that there is only wake-on-lan "magic packet" mode.

Bug #531950 reported by Konrad Klimaszewski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powernap
Fix Released
Medium
Dustin Kirkland 
powernap (Ubuntu)
Fix Released
Medium
Dustin Kirkland 

Bug Description

Powernap upstart script assumes that ethtool returns following string for network interfaces that support wake-on-lan:
"Supports Wake-on: g"

Whereas in my case the ethtool response is following:
"Supports Wake-on: pumbg"
In such case the script will wrongly assume that the network interface does not support wake-on-lan.

Furthermore this behavior should be optional or configurable as it can interfere with users settings.
e.g. I'm using following " etc/network/if-up.d/wol-enable" script
#!/bin/sh
/usr/sbin/ethtool -s eth1 wol u

Which sets the wake-on-lan into unicast packets mode.

Changed in powernap:
importance: Undecided → Medium
Changed in powernap (Ubuntu):
importance: Undecided → Medium
Changed in powernap:
status: New → Fix Committed
Changed in powernap (Ubuntu):
status: New → Fix Committed
assignee: nobody → Dustin Kirkland (kirkland)
Changed in powernap:
assignee: nobody → Dustin Kirkland (kirkland)
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package powernap - 1.9-0ubuntu1

---------------
powernap (1.9-0ubuntu1) lucid; urgency=low

  * debian/powernap.upstart: fix LP: #531950
    - fix ethtool regex
    - allow for admin customized ethtool script, when powernap's
      is incorrect or undesired
 -- Dustin Kirkland <email address hidden> Sat, 06 Feb 2010 22:34:43 -0600

Changed in powernap (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.