In Debian linux, gigabyte speeds require the installation of realtek firmware. Without the firmware, it functions at 100mbps.
rtl8111 is also a FreeBSD issue: Thread 55861
lspci -nn
(all on Ubuntu):-01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
ifconfig enp1s0
enp1s0 Link encap:Ethernet HWaddr 50:af:73:1e:a8:7d
inet addr:192.168.1.71 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: 2a01:113f:40e3:8200:cd06:8907:1a63:a943/64 Scope:Global
inet6 addr: fe80::b235:f878:76b8:31d2/64 Scope:Link
inet6 addr: 2a01:113f:40e3:8200:7d2c:33e2:4cec:4828/64 Scope:Global
inet6 addr: 2a01:113f:40e3:8200:d4e8:54b9:e54:bc86/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:169578 errors:0 dropped:0 overruns:0 frame:0
TX packets:68376 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:73848614 (73.8 MB) TX bytes:9275001 (9.2 MB)
dmesg |grep enp1s0
[ 17.105748] r8169 0000:01:00.0 enp1s0: renamed from eth0
[ 81.561281] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
[ 81.685188] r8169 0000:01:00.0 enp1s0: link down
[ 81.685378] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
[ 81.711404] r8169 0000:01:00.0 enp1s0: link down
[ 83.282606] r8169 0000:01:00.0 enp1s0: link up
[ 83.479161] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link becomes ready
Look at theifconfig
output, particularly the media field.
If you aren't satisfied with that, useman
to learn which media types the driver supports.
Then change that to your liking, usingifconfig
.
ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 50:af:73:1e:a8:7d
hwaddr 50:af:73:1e:a8:7d
inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
dmesg
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem 0xd0304000-0xd0304fff,0xd0300000-0xd0303fff irq 16 at device 0.0 on pci1
re0: Using 1 MSI-X message
re0: Chip rev. 0x2c800000
re0: MAC rev. 0x00100000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Using defaults for TSO: 65518/35/2048
re0: Ethernet address: 50:af:73:1e:a8:7d
re0: netmap queues/slots: TX 1/256, RX 1/256
man
to learn which media types the driver supports?In Debian linux, gigabyte speeds require the installation of realtek firmware. Without the firmware, it functions at 100mbps.
rtl8111 is also a FreeBSD issue: Thread 55861
..so I'm not sure what to make of that.New driver version 1.93 seems to include patches required for FreeBSD 11.
Regarding your questions, the logs you posted appear to answer them already.
What does happen when you utter this at the console as root?
Code:ifconfig re0 media 1000baseT
status: no carrier
I guess you will avoid Realtek in future, too
ifconfig_re0=...
line in /etc/rc.conf to have this permanent.Selling them in used PCs is always a good way to get rid of them...a used...
dmesg
:-re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem 0xd0304000-0xd0304fff,0xd0300000-0xd0303fff irq 16 at device 0.0 on pci1
re0: Using 1 MSI-X message
re0: Chip rev. 0x2c800000
re0: MAC rev. 0x00100000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Using defaults for TSO: 65518/35/2048
re0: Ethernet address: 50:af:73:1e:a8:7d
re0: netmap queues/slots: TX 1/256, RX 1/256