Bug 1003875

Summary: Fixing ether-wake
Product: [Fedora] Fedora Reporter: Andrew Haley <aph>
Component: net-toolsAssignee: Jiri Popelka <jpopelka>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: iprikryl, jpopelka
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: net-tools-2.0-0.11.20130607git.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-04 12:44:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
It's a patch none

Description Andrew Haley 2013-09-03 12:13:17 UTC
Description of problem:

I've long been annoyed by

 $ sudo ether-wake mercury
Specify -i <interface>.

The man page of ether-wake says:

OPTIONS

       -i ifname
              Use interface ifname instead of the default "eth0".

but it's no longer true that "eth0" is the default.  These days, the default ethernet interface varies, so you have to probe to find the name.

I have a patch that iterates of all interfaces by default.

Comment 1 Andrew Haley 2013-09-03 12:40:53 UTC
Created attachment 793165 [details]
It's a patch

Comment 2 Jiri Popelka 2013-09-04 12:44:00 UTC
Thank you for the patch Andrew !