First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 55941
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Milus János <jmilus@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 55941 depends on: Show dependency tree
Show dependency graph
Bug 55941 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-07-03 01:01 0000
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 From SpanKY 2005-02-11 19:53:37 0000 -------
just added ethtool-3 which seemed to work for me ...

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

First Last Prev Next    No search results available      Search page      Enter new bug