LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 08-03-2004, 02:20 PM   #1
Corrado
Member
 
Registered: Aug 2004
Location: Washington
Distribution: RHEL 5.0
Posts: 135

Rep: Reputation: 16
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.
 
Old 08-03-2004, 02:35 PM   #2
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
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.
 
Old 08-03-2004, 04:00 PM   #3
Corrado
Member
 
Registered: Aug 2004
Location: Washington
Distribution: RHEL 5.0
Posts: 135

Original Poster
Rep: Reputation: 16
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.
 
Old 08-03-2004, 04:59 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,164

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
To make things easy you can add the command to /etc/rc.local.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the network card speed balasarius Linux - Newbie 5 09-22-2005 12:58 PM
How can I can set the max speed of the net card???? piggyaugu Linux - Newbie 2 07-02-2005 09:05 AM
How to set network card Speed/duplex in Vector Linux? si-diablo Linux - Networking 1 06-20-2005 05:46 PM
anyone managed to set up the speed touch 330 into a wireless network jimjam78 Linux - Wireless Networking 8 09-01-2004 03:26 PM
how to set up SMC EZ Card 10/100 ethernet PCI network card mymojo Linux - Networking 2 12-16-2003 03:35 AM


All times are GMT -5. The time now is 02:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration