LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can't set speed for network card (https://www.linuxquestions.org/questions/linux-networking-3/cant-set-speed-for-network-card-212993/)

Corrado 08-03-2004 01:20 PM

Can't set speed for network card
 
I need to set my network card to 100baseT/Full Duplex. Turning off auto negotiation.

I have tried...
mii-tool eth0 --force=100baseTx-FD

It seems to work temporarily but the setting won't survive a reboot. How do I make it permanent? Help.

nhs 08-03-2004 01:35 PM

You need to add the line to one of the startup scripts. These are usually found at /etc/rc.d/init.d. /etc/rc.d/init.d/network is probably the best bet.

Corrado 08-03-2004 03:00 PM

IDoes anyone know if there an easier way to do it other than hard code it in the startup script? I wouldn't know where to place it in the script.

michaelk 08-03-2004 03:59 PM

To make things easy you can add the command to /etc/rc.local.


All times are GMT -5. The time now is 06:36 PM.