Re: Configuring NIC Card

From: Ed Wilts (ewilts_at_ewilts.org)
Date: 04/13/05

  • Next message: Bjorn Andersen: "RE: NIS problem"
    Date: Wed, 13 Apr 2005 12:13:58 -0500
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    
    

    On Wed, Apr 13, 2005 at 09:58:10AM -0500, Jay Berryman wrote:
    > If you have mii-tool installed you can force the NIC to 100MB-FD by running
    > the following command: mii-tool -F 100baseTx-FD eth0. To force this on a
    > reboot use the full path command and stick it in your /etc/rc.local file.

    Jay, please don't top post.

    A much cleaner and supported method is to edit the ifcfg script

    [root@scsftp pub]# grep ETHTOOL /etc/sysconfig/network-scripts/ifcfg-eth0
    ETHTOOL_OPTS="speed 100 duplex full autoneg off"

    You'll find this is called by /etc/sysconfig/network-scripts/ifup
    You will, of course, need ethtool installed.

    -- 
    Ed Wilts, RHCE
    Mounds View, MN, USA
    mailto:ewilts@ewilts.org
    Member #1, Red Hat Community Ambassador Program
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Bjorn Andersen: "RE: NIS problem"

    Relevant Pages

    • Re: Set Ethernet Rate
      ... able to read/write the management registers on the PHY (transceiver) ... clear the speed and duplex bits as well. ... will still try to autoneg, but it will fail and fall back to half ... most 10/100 PHYs will advertise all modes: ...
      (comp.os.vxworks)
    • Re: bge driver autoneg failure and system-wide stalls
      ... > The switch is managed, and does gigabit. ... autoneg is working just fine. ... 100 half duplex, then 10 full duplex, and finally 10 half duplex. ...
      (freebsd-current)
    • Re: Set Ethernet Rate
      ... how much functionality the driver developer decided to include in it. ... Assuming you can find a way to access the PHY, ... If you're going to turn off autoneg entirely, ... clear the speed and duplex bits as well. ...
      (comp.os.vxworks)
    • Re: Set Ethernet Rate
      ... how much functionality the driver developer decided to include in it. ... Assuming you can find a way to access the PHY, ... If you're going to turn off autoneg entirely, ... clear the speed and duplex bits as well. ...
      (comp.os.vxworks)
    • Re: Set Ethernet Rate
      ... how much functionality the driver developer decided to include in it. ... Assuming you can find a way to access the PHY, ... If you're going to turn off autoneg entirely, ... clear the speed and duplex bits as well. ...
      (comp.os.vxworks)