> > I've been searching for this, and seem to find the answer. I have a > > box > > with a realtek controller. The network is working, but some of our > > clients with this box need to force the speed and duplex to make > > their > > switches happy. Can somebody give me some pointers on setting this > > at boot time? > > > > Here's the relevant output of lspci: > > > > > > 01:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. > > RTL-8139 (rev 10) > > Subsystem: Realtek Semiconductor Co., Ltd. RT8139 > > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- > > ParErr- Stepping- SERR+ FastB2B- > > Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium > > >TAbort- > > <TAbort- <MAbort- >SERR- <PERR- > > Latency: 32 (8000ns min, 16000ns max) > > Interrupt: pin A routed to IRQ 10 > > Region 0: I/O ports at cc00 [size=256] > > Region 1: Memory at efdfff00 (32-bit, non-prefetchable) > > [size=256] > > Capabilities: [50] Power Management version 2 > > Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA > > PME(D0-,D1+,D2+,D3hot+,D3cold+) > > Status: D0 PME-Enable- DSel=0 DScale=0 PME- > > Perhaps mii-tool from the net-tools package might help you... > > To set the speed automagically once the network starts up I personally > use this on my RTL-8139: > > ,----[ cat /etc/network/interfaces ] > | [...] > | auto eth0 > | iface eth0 inet static > | address 192.168.0.1 > | netmask 255.255.255.0 > | up mii-tool -F 100baseTx-FD eth0 > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > `---- > > Or, if you have a 2.4 kernel, you can use ethtool as Greg suggested. >
Thanks for the suggestions, but they are not working. The Realtek keeps trying to auto negotiate. Does anybody have any other ideas?
signature.asc
Description: This is a digitally signed message part