On Wed, 07 Sep 2005 16:16:10 -0700, huangfan99 wrote:
> Hi, I have 2 linux boxes runing RedHat7.3. I am trying to change
> ethernet card duplex mode with mii-tool. Both machines can be changed
> successfully. But after the change and I restart network or reboot, one
> machine keep the new mode and the other go back to old mode. I cannot
> figure out how it comes two different results? My question is that how
> can I make the new change persistent and survive network restart and
> reboot? Is there configuration file I should change?
Assuming eth0, you could append the mii-tool command to
/etc/sysconfig/network-scripts/ifup-eth0
If that file dosen't exist, create it with a first line
#! /bin/bash
|