Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hello out there any one there who knows how i can configure a lan card to operate at 10mbps half duplex, since my lan card on a win98 machine is operating in that mode since its a old card i cannot change that, i'm hoping that i can change the one on the linux since it states it is a 10/100mbps card
thanks for the help
mii-tool -A 10baseT-HD #Sets what your card is advertizing
mii-tool -F 10baseT-HD #Forces your card to work at 10mbs half duplex.
You can try either of these commands.
I use the first one but have mine doing full duplex, I have to do this because I have a bad port on my router that only operates at 10mbs.
If it works then put it in your rc.local or S99local, which ever you use to do this at boot.
open a terminal, any will do
su to root: su -
type: mii-tool -A 10baseT-HD or mii-tool -F 10baseT-HD
You should see a "Restarting auto negotiation"
And now everything should be good to dgo.
or the second way:
Find out where mii-tool is located:
find / -name mii*
the * is because I have seen it named differently
It should find it in /sbin/mii-tool
Now that you know where it is located, you need to find out what runlevel you are in:
type runlevel
If you bootup into X then more than likely it is going to be runlevel 5.
Now that you know what runlevel you are in you can edit the appropriate file.
/etc/rc.d/rc5.d/S99local
you can edit this file by any editor you are comfortable with.
You are going to add just one line:
/sbin/mii-tool -A 10baseT-HD
there is no space between 10base and -HD, so it'll be 10baseT-HD.
Now when you bootup it will always set your network speed to 10 baseT at half duplex.
thanks hanzerik i did not see in your first message that is was mii-tool finally got it to swith over to half duplex 10mbs oh by the way i have been using the linux for 6 days and would like to know what do you call the command mii-tool and also i have asked a couple of guys in another site with about the same setup about how to connect my linux to the internet thru my win98 internet connection sharing machine my question is what gateway address do i put in my linux machine hey thanks again
I think win98se's ICS uses 192.168.0.1 as the gateway for the clients. You should be able to run winipcfg on your win98 box and look at the properties of you ICS connection to find out. I havnt used 98 in a while.
thanks i am able to connect to the net, and now studying how to use samba and my last topic would be how to connect to the internet thru modem connection to my lan, which is better dial up to a networked windows machine or server itself or thru the linux .
I too am having a problem with getting my nics running at the right speed, I have two Realtek cards connecting two Debian computers via a cross-over cable.
when I run the mii-tool I get the following
eth0: negotiated 100baseTx-FD flow-control, link ok
eth1: 10 Mbit, half duplex, no link
eth2: 10 Mbit, half duplex, no link
eth1 is the link between the two both of which is using the same nic, and the link is working but as you can see at 10 HD, regardsless if I connect eth1 to my 10/100 switch is claims the same thing.
Now I'm considering that it is the nic/drivers, so I am going to try purchasing a better nic, so if anyone could help me getting the RealTek 8139 chip set working at 100 FD, that would be great.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.