Bug 115371

Summary: add mii-tool support to ifup
Product: Red Hat Enterprise Linux 3 Reporter: Stefan Voelkel <stefan.voelkel>
Component: ethtoolAssignee: Jeff Garzik <jgarzik>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: herrmann, peterm
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-19 23:27:17 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:
Attachments:
Description Flags
This is our solution. none

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.