Red Hat Bugzilla – Bug 115371
add mii-tool support to ifup
Last modified: 2013-07-02 22:17:47 EDT
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):
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
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.
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.
ethtool is the preferred mechanism; if that's not working, that should
Hello, Stefan. Does the suggestion from Bill in comment #2
work for you?
Hello Ernie. No, ethtool does not work. We work around this as
described in comment #1.
Created attachment 110243 [details]
This is our solution.