LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-07-2004, 10:41 AM   #1
pwangee
LQ Newbie
 
Registered: Mar 2004
Posts: 19

Rep: Reputation: 0
Change ethernet card to 10Mbps (ethtool doesn’t work for FC1)


Hi,

I meet a problem when I try to change the speed of my Ethernet card. My card supports 10/100, and I find that “ethtool” is a tool to display and change Ethernet card settings. I try to change the speed to 10Mbps.

ethtool –s eth1 speed 10

But my os is Federo core 1(redhat) which doesn’t support this tool. I tried it in different linux kernel such as 2.4.21 and 2.6.4, and it doesn’t work.

Do you know some other tools that can work in Federo core 1? Or give some suggestions to change the Ethernet card speed to 10.

Thanks
Peng
 
Old 07-07-2004, 01:57 PM   #2
Phaethar
Member
 
Registered: Oct 2003
Location: MN
Distribution: CentOS, Fedora
Posts: 182

Rep: Reputation: 30
I believe the mii-tool will work with FC1. The syntax to change it to 10Mbps full duplex would be:

mii-tool -F 10baseT-FD

If you're on a hub, use HD instead.

Also, if I remember right, you must log in as root (su won't find the command by default).

Hope this helps!
 
Old 07-07-2004, 02:36 PM   #3
pwangee
LQ Newbie
 
Registered: Mar 2004
Posts: 19

Original Poster
Rep: Reputation: 0
hi,

Thanks for your help. But when I use the command

mii-tool -F 10baseT-FD eth1

It gives following infomation:

no MII interfaces found

What's the problem with my computer?
 
Old 07-07-2004, 02:53 PM   #4
Phaethar
Member
 
Registered: Oct 2003
Location: MN
Distribution: CentOS, Fedora
Posts: 182

Rep: Reputation: 30
Hey pwangee,

If you just type 'mii-tool', what output do you get? With only a single adapter, you should see something like this:

Code:
[root@Test root]# mii-tool
eth0: negotiated 100baseTx-FD, link ok
At least, that's the output I've always gotten before. I've only had to force a link speed a couple of times in Fedora, but each time this tool has read my NIC without any problems and allowed me to force the setting if need be.
 
Old 07-07-2004, 03:01 PM   #5
pwangee
LQ Newbie
 
Registered: Mar 2004
Posts: 19

Original Poster
Rep: Reputation: 0
hi,

I have two network cards named eth0 and eth1. If I only input the command #mii-tool, it still gives following infomation:

no MII interfaces found

I don't know why.

By the way, my kernel is 2.4.21. How about yours?
 
Old 07-07-2004, 03:11 PM   #6
Phaethar
Member
 
Registered: Oct 2003
Location: MN
Distribution: CentOS, Fedora
Posts: 182

Rep: Reputation: 30
Wow, can't say I've seen that before. If it helps any, I'm running a slightly newer kernel version, 2.4.22-1.2197.nptl on my test Fedora system. Although I know I've run this on older systems as well (RH9) without any problem.

I'm not sure why neither of your cards are showing up...
 
Old 07-08-2004, 08:30 AM   #7
pwangee
LQ Newbie
 
Registered: Mar 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Hi,

I am confused since I can run ethtool in my home desktop whose linux kernel is same as the machine in my lab. And I use the following two commands and the commands work fine.
ethtool –s eth1 autoneg off
ethtool –s eth1 speed 10
I change the speed to 10Mbps successfully.

It seems that there are two possibilities to cause this condition.
First is the property of the Ethernet card, since I use different NIC in the two computers. But I don’t think it’s the right reason.
Second is the configuration of the kernel. Although they use the same linux kernel, they may have different configuration file. I prefer to this reason.

Does anyone have any experience about this? Thanks

Peng
 
  


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
ethtool reporting problem on fc1 ih83 Linux - Software 2 07-09-2005 02:45 AM
Getting Ethernet card to work Kensai Linux - Hardware 1 11-17-2004 07:29 AM
Change ethernet card to 10Mbps (ethtool doesn’t work for FC1) pwangee Linux - Networking 0 07-07-2004 09:45 AM
ethtool wont recognise my pcmcia card baby_bandit Linux - Networking 0 03-06-2004 01:02 PM
How do I get my ethernet card to work? RJWMU Linux - Newbie 4 05-16-2003 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:45 PM.

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
Open Source Consulting | Domain Registration