<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>55941</bug_id>
          
          <creation_ts>2004-07-03 01:01 0000</creation_ts>
          <short_desc>ethtool accepts only &quot;ethX&quot; format interfaces</short_desc>
          <delta_ts>2005-02-11 19:53:37 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jmilus@gmail.com</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>jmilus@gmail.com</who>
            <bug_when>2004-07-03 01:01:50 0000</bug_when>
            <thetext>In Linux, you can rename your interfaces with nameif tool. This is a very useful feature for boxes containing more than one interfaces. But after renamed an interface ethtool does not accept. Example:

root@medeia&gt; cat /etc/mactab
internet 00:C0:DF:14:22:1F
home 00:01:02:0B:B2:E6

root@medeia&gt; ifconfig home
home      Link encap:Ethernet  HWaddr 00:01:02:0B:B2:E6
          inet addr:172.16.36.254  Bcast:172.16.36.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:5 Base address:0xc400

root@medeia&gt; ethtool home
home does not appear to be an ethernet device
ethtool version 1.8
Usage: [...]

root@medeia&gt; ethtool eth0
Settings for eth0:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available

root@medeia&gt; ethtool eth1
Settings for eth1:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available

Reproducible: Always
Steps to Reproduce:
1.rename the eth0 interface with nameif command (for example to home)
2.try to use ethtool on it.

Actual Results:  
root@medeia&gt; ethtool home
home does not appear to be an ethernet device
ethtool version 1.8
Usage: [...]

root@medeia&gt; ethtool eth0
Settings for eth0:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available

Expected Results:  
List of the settings of the ethernet device &quot;home&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-02-11 19:53:37 0000</bug_when>
            <thetext>just added ethtool-3 which seemed to work for me ...

renamed eth1 to &apos;blah&apos; and then ran `ethtool blah` and it worked</thetext>
          </long_desc>
      
    </bug>

</bugzilla>