I bought a small gigabit ethernet USB adapter, which works fine OOTB in a Raspberry Pi 3, but only at 100mbits/s. How can I make it run at full speed?
# ethtool eth1 Settings for eth1: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Advertised pause frame use: Symmetric Receive-only Advertised auto-negotiation: Yes Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Link partner advertised pause frame use: Symmetric Link partner advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Full Port: MII PHYAD: 32 Transceiver: internal Auto-negotiation: on Supports Wake-on: pumbg Wake-on: g Current message level: 0x00007fff (32767) drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol Link detected: yes
*-network:2 description: Ethernet interface physical id: 4 logical name: eth1 serial: 💩💩💩💩 size: 100Mbit/s capacity: 1Gbit/s capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.08.8 duplex=full ip=192.168.1.5 link=yes multicast=yes port=MII speed=100Mbit/s
Module Size Used by rpcsec_gss_krb5 23752 0 brcmfmac 222874 0 brcmutil 9092 1 brcmfmac cfg80211 543027 1 brcmfmac cdc_ether 6354 0 rfkill 20851 1 cfg80211 r8152 37460 0 bcm2835_gpiomem 3940 0 uio_pdrv_genirq 3923 0 uio 10204 1 uio_pdrv_genirq fixed 3285 0 snd_bcm2835 24427 0 snd_pcm 98501 1 snd_bcm2835 snd_timer 23968 1 snd_pcm snd 70032 3 snd_timer,snd_bcm2835,snd_pcm joydev 9988 0 uinput 9125 0 ipv6 408971 32
First think I noticed is that 1000 is indeed supported, but not advertised. Maybe because the fallback from USB 3 to USB 2 falls back to 100mbits/s as well?
# ethtool -s eth1 speed 1000 duplex full
But no luck.
The adapter brand is "rankie" (easy to find at amazon).
Also, the adapter is connected to a gigabit switch. My NAS is connected to that switch and is running at 1000mbits/s without issues, so I doubt that is the issue.
Finally, the Ethernet adapter is the only USB device connected to the PI, so even if I don't expect a full 1000mbps, I was expecting to get somewhere to the USB2.0 speed