Bug 115371 - add mii-tool support to ifup
Summary: add mii-tool support to ifup
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: ethtool
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Garzik
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-11 16:24 UTC by Stefan Voelkel
Modified: 2013-07-03 02:17 UTC (History)
2 users (show)

Fixed In Version: 4
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-19 23:27:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
This is our solution. (944 bytes, patch)
2005-01-26 12:03 UTC, Michael Bischof
no flags Details | Diff

Description Stefan Voelkel 2004-02-11 16:24:42 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5)
Gecko/20031107 Galeon/1.3.11a (Debian package 1.3.11a-2)

Description of problem:
The used NIC does not support setting connection speed etc. with
ethtool but only with mii-tool. the ifcfg-* scripts support only ethtool.

Version-Release number of selected component (if applicable):
initscripts-7.31.6.EL-1

How reproducible:
Always

Steps to Reproduce:
1. add ETHTOOL_OPTS="speed 100" to ifcfg-eth0
2. restart network


Actual Results:  speed not forced to 100 mbit

Expected Results:  speed forced to 100 mbit

Additional info:

Trying to set options with ethtool outside the script did not work
either. The NIC completly refused to work after any configuration
change has been tried with ethtool. mii-tool works nontheless.

00:05.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5703
Gigabit Ethernet (rev 02)

I'd like to see an option MIITOOL_OPTS parsed in ifup, so that if this
variable is present mii-tool is used to set NIC parameters.

Comment 1 Stefan Voelkel 2004-02-11 16:27:04 UTC
I forgot to add, that atm I use rc.local to force the NIC with
mii-tool to a certain speed. Lars Herrmann pointed me to
/sbin/ifup-local, but i'd prefer a less "tinkerish" way.

Comment 2 Bill Nottingham 2004-02-11 16:35:15 UTC
ethtool is the preferred mechanism; if that's not working, that should
be fixed.

Comment 3 Ernie Petrides 2004-03-30 02:06:27 UTC
Hello, Stefan.  Does the suggestion from Bill in comment #2
work for you?

Comment 4 Stefan Voelkel 2004-03-30 07:55:50 UTC
Hello Ernie. No, ethtool does not work. We work around this as
described in comment #1.

Comment 5 Michael Bischof 2005-01-26 12:03:09 UTC
Created attachment 110243 [details]
This is our solution.


Note You need to log in before you can comment on or make changes to this bug.