(E-Mail Removed) (Hubert) said:
>I am running RedHat 6.2, and would like to change the network card
>settings to be Full Duplex. Just wondering how I can change it? Is it
>as simple as using the ifconfig?
>
>Here is a few questions I have:
> - How do I check what am I running on for the device using ifconfig?
> - How to I change the settings to be full duplex using ifconfig?
The tool you're looking for is mii-tool or mii-diag. I recall that for
mii-diag there was two versions; one that was just able to print out
the current settings, and another that was also able to change the
settings.
The typial way to achieve full-duplex is not to force any settings on
either end of the link -- in this case, the auto-negotiation will handle
the settings to 100baseTx-FD. If you force either end to 100baseTx-FD
(and disable auto-negotiation), then the _other_ end will end up to
100baseTx-HD through failed auto-negotiation.
So, in this order:
- stop forcing speed/duplex settings at all (if your hardware is from
year 1996 or newer; I think that's a rather reasonable guess as to
when the auto-neg mostly started to work -- for HP switches and HP-UX
server hardware, you might need models from -97 or -98)
- in the rare case where you actually find a problem caused by this,
resolve by the next rule
- if it's completely impossible to not force the settings (f.ex. by
braindead corporate network policies), then just force settings on
both ends to be equal; then start the fight to get the policy updated;
if you have to force because of some piece of hardware obsolete enough
to not grok the autonegotiation, start the fight to get that P-O-S
upgraded/replaced (after finding out which end of the link was the
culprit)
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)