change the speed of ethernet card

Asked by aneesh

how can I make a shell script for setting my ethernet card speed 100 Mbps using the command -"ethtool -s eth0 speed 100 duplex full autoneg off " and it must run at boot time.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Elias Julkunen (eliasj) said :
#1

I guess that If you put that line to the /etc/rc.local, it works. But I'm not 100% sure. :-)

Can you help with this problem?

Provide an answer of your own, or ask aneesh for more information if necessary.

To post a message you must log in.