Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55941 - ethtool accepts only "ethX" format interfaces
Summary: ethtool accepts only "ethX" format interfaces
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-03 01:01 UTC by Milus János
Modified: 2005-02-11 19:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milus János 2004-07-03 01:01:50 UTC
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> cat /etc/mactab
internet 00:C0:DF:14:22:1F
home 00:01:02:0B:B2:E6

root@medeia> 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> ethtool home
home does not appear to be an ethernet device
ethtool version 1.8
Usage: [...]

root@medeia> 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> 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> ethtool home
home does not appear to be an ethernet device
ethtool version 1.8
Usage: [...]

root@medeia> 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 "home"
Comment 1 SpanKY gentoo-dev 2005-02-11 19:53:37 UTC
just added ethtool-3 which seemed to work for me ...

renamed eth1 to 'blah' and then ran `ethtool blah` and it worked