1827853 Members
1567 Online
109969 Solutions
New Discussion

Re: network card

 
SOLVED
Go to solution
Tarek_1
Frequent Advisor

network card

Hi there,
how can i know (on redhat 7.2), how my network card is configured? I mean 10 ora 100Mbit, half or full-duplex and so on?
Thanks in advance
Tarek
6 REPLIES 6
I_M
Honored Contributor

Re: network card

Hi

Try /sbin/mii-tool

Not all the NIC are mii compatible.

Good luck
Tarek_1
Frequent Advisor

Re: network card

I got this output:
eth0: no autonegotiation, 100BaseTx-HD, link ok
My problem is that the machine on which there is the network card is very slow if compared with all the other in the same subnet.
What does this output mean?
100mbit half duplex and set manual or automatic??
Is there someone so i can set these values?
Thanks again
Tarek_1
Frequent Advisor

Re: network card

On the other linux server, different hardware but same OS, i have if i issue the same command:

eth0: negotiated 100BaseTx FD, link ok

If i wanna configure also the other server to work as this, what should i do?
I_M
Honored Contributor

Re: network card

Hello again,

When you load driver, you may set the negotiation speed by "option"

ex.)
NIC : Intel Ether Pro/100
Linux Driver : e100

e100_speed_duplex
Valid Range 0-4 Default Value 0
example usage insmod e100.o e100_speed_duplex=4,4 (for two cards)
0 indicates autodetection for both speed and duplex mode
1 indicates a speed of 10Mbps and a duplex mode of half
2 indicates a speed of 10Mbps and a duplex mode of full
3 indicates a speed of 100Mbps and a duplex mode of half
4 indicates a speed of 100Mbps and a duplex mode of full

Give us your NIC & driver name.
Then somebody will reply you how to set the negotiation speed.

Good luck



Tarek_1
Frequent Advisor

Re: network card

I attach a file with the characteristics of my card.
Tom Horan
Frequent Advisor
Solution

Re: network card

It depends on what Network card you have.

If you are using the eepro100 driver then you need to edit /etc/modules.conf (or /etc/conf.modules, they changed the name, somewhere between 6 and 7 but I forget where)

you should have something like this in there already
alias eth0 eepro100

so before that line you want to put this
options eepro100 options=0x30

This will set your card to 100MB Full Duplex, Auto-Negotiation off.

Hex Decimal Meaning
0x10 16 Force Full-Duplex operation (must be used with 0x20 or 0x40)
0x20 32 Force 100mbps-only operation
0x40 64 Force 10mbps-only

Therefore, option 0x30 = 0x20 + 0x10 ( Force 100mbps-only + Force full duplex)

Hope it helps...

You will then have to either reboot your server or do the following ..

/sbin/ifdown eth0
rmmod eepro100
/sbin/ifup eth0

Then check dmesg output, you should see the it say -
Forcing 100Mbs full-duplex operation.

Hope it helps !!

Tom