LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 05-13-2004, 06:57 PM   #1
coolgy768
Member
 
Registered: Oct 2003
Distribution: Redhat 9.0, SuSE, Lindows, Mandrake
Posts: 30

Rep: Reputation: 15
how do I use mii-tool to change the speed?


The current output of mii-tool is:

eth0: 10 Mbit, half duplex, no link

I want to change it to 100 Mbit, full duplex. how do I go about doing that, can I even use mii-tool, I'm a n00b so help me out in english, thanks in advance
 
Old 05-13-2004, 07:18 PM   #2
kvedaa
Member
 
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
as root:

mii-tool -F 100baseTx-FD eth0

you can run mii-tool again afterwards to verify that it has accepted your settings. Remeber that this setting change will not be in effect after your next reboot.

I hope this helps
 
Old 05-13-2004, 07:21 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,736

Rep: Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921
See man pages for mii-tool. Use the -F option set speed.

The default is normally auto-negotiation but it doesn't appear that you have a link. Have you checked the hardware etc?

Which distribution is running on this PC?
 
Old 05-13-2004, 08:28 PM   #4
coolgy768
Member
 
Registered: Oct 2003
Distribution: Redhat 9.0, SuSE, Lindows, Mandrake
Posts: 30

Original Poster
Rep: Reputation: 15
thanks guys..but it's not changing anything. I'm using SuSE 9.0. I ran the command:

mii-tool -F 100baseTx-FD eth0

as root, and then ran "mii-tool" again, and it outputted the same thing. My network card is configured as:

MYSON SURECOM EP-320X-S 100/10M Ethernet PCI Adapter

...please help!


Last edited by coolgy768; 05-13-2004 at 08:41 PM.
 
Old 05-13-2004, 09:53 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,736

Rep: Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921
Are you still getting a no like indication?
 
Old 05-13-2004, 09:55 PM   #6
coolgy768
Member
 
Registered: Oct 2003
Distribution: Redhat 9.0, SuSE, Lindows, Mandrake
Posts: 30

Original Poster
Rep: Reputation: 15
A what? It's still not working correctly if that's what you're asking..
 
Old 05-13-2004, 10:41 PM   #7
kvedaa
Member
 
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
It sounds like your card feels that it cannot maintain 100 full duplex. I have not dealt with this particular card before, and honestly I cannot remember the last time I ran into such a problem. But I ran the name of the card through google rather quickly and saw a handful of post regarding cards that appear to be from the same manufacture. It seems that these cards use the 'fealnx' driver.

I would start with looking to see if your system is currently using the 'fealnx' driver for your network card. One way to do this is to use the 'lsmod' command as root. This should provide a list of loaded modules, look through this output for 'fealnx'.

While it is not much it is a start.
 
Old 05-13-2004, 10:48 PM   #8
kvedaa
Member
 
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
If it appears that you are using the correct driver, it might be worth trying another tool to set your desired NIC settings.

ethtool

To try to set eth0 to 100Mb/s full duplex, the command should look something like:

ethtool -s eth0 speed 100 duplex full
 
Old 05-14-2004, 07:13 AM   #9
coolgy768
Member
 
Registered: Oct 2003
Distribution: Redhat 9.0, SuSE, Lindows, Mandrake
Posts: 30

Original Poster
Rep: Reputation: 15
this is the output from 'lsmod' for 'fealnx':

fealnx 10896 1

I also tried changing the speed and duplex with 'ethtool' with the command from the post above, and that didn't work either. Seems I have a stubborn NIC on my hands. Any more help would be apreciated. 'Cause this problem is really bugging me now. Thanks once again, for any help you can provide.
 
Old 07-04-2004, 06:29 AM   #10
karosa
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
Thumbs down fealnx

Well the reason is that fealnx is obsolete, and almost useless..

There's a driver here: www.scyld.com/ethercard_drivers.html

Altough not perfect but still much better than fealnx..
I couldn't get samba to work with it though..

Your best bet is still to go and buy a realtek based NIC.. It's much better than noname Myson anyway

Call me a blockhead but I still say I won't buy hardware FOR an os to work..
 
  


Reply



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
eth0 problem with mii-tool ravi_foru Linux - Networking 2 06-28-2005 11:54 PM
mii-tool lie to me czezz Linux - Networking 1 11-09-2004 05:07 AM
mii-tool showing 100mbps TheRealDeal Linux - Networking 1 09-01-2004 07:03 PM
A question about mii-tool yi.zhang Linux - Networking 2 04-02-2004 11:07 AM
How Can i change the Interface speed without the mii-tool? aramirez Linux - General 2 01-15-2004 12:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:22 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
Open Source Consulting | Domain Registration