Nastaveni rychlosti ethernetove linky

Havrla havrla na lhotkanet.cz
Pátek Listopad 20 10:27:46 CET 2009


Dobry skoropoledne.

Ja nastavuji takto:
/sbin/mii-tool -F 10baseT-HD eth2


Havrla

Jan Kasprzak napsal(a):
> 	Dobry den,
>
> kvuli nejakym pokusum jsem potreboval nastavit svoji ethernetovou kartu
> misto 1Gb/s na 100Mb/s a zjistil jsem, ze to neumim nebo to nefunguje.
> Zkusil jsem rychlost natvrdo:
>
> 	ethtool -s eth0 speed 100
>
> i menit seznam nabizenych rychlosti pro automaticke vyjednavani:
>
> 	ethtool -s eth0 advertise 0xf
>
> Neco se zrejme k ethernetove karte dostalo, protoze v obou pripadech
> restartovala vyjednavani (v logu kernelu i v logu switche bylo zaznamenano
> link down a pak link up), ale rychlost se vratila vzdy na 1Gb/s a seznam
> nabizenych rychlosti podle ethtool se nezmenil:
>
> Settings for eth0:
> 	Supported ports: [ TP MII ]
> 	Supported link modes:   10baseT/Half 10baseT/Full 
> 	                        100baseT/Half 100baseT/Full 
> 	                        1000baseT/Half 1000baseT/Full 
> 	Supports auto-negotiation: Yes
> 	Advertised link modes:  10baseT/Half 10baseT/Full 
> 	                        100baseT/Half 100baseT/Full 
> 	                        1000baseT/Half 1000baseT/Full 
> 	Advertised auto-negotiation: Yes
> 	Speed: 1000Mb/s
> 	Duplex: Full
> 	Port: MII
> 	PHYAD: 0
> 	Transceiver: internal
> 	Auto-negotiation: on
> 	Supports Wake-on: pumbg
> 	Wake-on: g
> 	Current message level: 0x00000033 (51)
> 	Link detected: yes
>
> 	Kdyz jsem na switchi nastavil rychlost portu na auto-100,
> restartovalo se vyjednavani a dohodli se na 100Mb/s podle ocekavani.
>
> 	Co delam spatne? Podle lspci je sitova karta tato:
>
> Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
>
> 	Diky,
>
> -Yenya
>
>   




Další informace o konferenci Linux