>> > Hi,
>> > I just installed Red hat 9 and I have a D-Link 538 100/10 NIC. In
>> > order to connect to my router I need to set the NIC's speed to 10mbps.
>> > I tried putting MEDIA=10baseT in ifcfg-eth0 (which has no effect) and
>> > "ifconfig eth0 media 10baseT" which gives an "operation not permitted"
>> > error. I can do it from winXP (dual boot) so I know the NIC is
>> > capable of switching speeds...
>> > Any hints?
>> Not sure how to do that in ifconfig (maybe your syntax is incomplete or
>> needs quotes around value), or how to do it in /etc/modules.conf. Have
>> you tried using mii-tool (see 'man mii-tool). Try it from the shell first
>> (as root, or 'su -') and see if something like following works:
>> mii-tool -F 10baseT-HD eth0
>> or if either full or half duplex would work:
>> mii-tool -A 10baseT-FD,10baseT-HD eth0
>> If one of these work, you need to figure out where to put an
>> /sbin/mii-tool statement in an init script after that interface is brought
>> up.
> I get:
> SIOCGMIIPHY on 'eth0' failed: Invalid argument
> Is it possible that the current driver does not support setting the
> speed of the NIC?
> The driver cd that came with my NIC has a linux driver (A C file)
> written for Red Hat 6, and I get all sorts of errors trying to compile
> it.
RH 9 (or any 2.4 kernel) should have already had 8139too module that
should work for your nic. You should have checked that before compiling
your own older module. Hope you did not mess anything up. Some systems
that try to recognize the nic, try to use rtl8139 module, which did not
work for my DFE-530TX+ nics, which I think have same chip as your 538.
But 8139too works fine. Maybe the newer module would work better
automatically with your router without having to do anything.
The older module might not have supported 'mii-tool' or other methods of
easily changing settings. Someone mentioned 'ethtool', but I do not know
what that is because it is not on any of my SuSE systems (maybe RH
specific or something very new).
--
David Efflandt - All spam ignored http://www.de-srv.com/