Bug 733068

Summary: default to another interface name besides eth0
Product: [Fedora] Fedora Reporter: Ken Dreyer <ktdreyer>
Component: nethogsAssignee: Anderson Silva <ansilva>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: ansilva
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-09 14:08:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ken Dreyer 2011-08-24 15:52:38 UTC
Description of problem:
nethogs defaults to using "eth0". It should default to something else, maybe "em1"?

See:
http://domsch.com/blog/?p=455
https://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming


Version-Release number of selected component:
nethogs-0.7.0-9.fc15.i686


Steps to Reproduce:
1. Run "nethogs" with no arguments
2. "ioctl failed while establishing local IP for selected device eth0. You may specify the device on the command line."
3. Re-run with "nethogs em1"
4. nethogs works

Comment 1 Anderson Silva 2011-11-09 14:06:43 UTC
This is an upstream problem. I am only the package maintainer for the distribution.

You could create a alias for your system:

alias nethogs="nethogs em1"

and place it on your bashrc

AS

Comment 2 Anderson Silva 2011-11-09 14:07:05 UTC
not really a problem, but their feature :-)

(In reply to comment #1)
> This is an upstream problem. I am only the package maintainer for the
> distribution.
> 
> You could create a alias for your system:
> 
> alias nethogs="nethogs em1"
> 
> and place it on your bashrc
> 
> AS