Realtek RTL8127ATF Support

Hello Community

Running latest Beta v1.8.0-beta2

I’ve just installed a Realtek RTL8127ATF NIC which is the Realtek 8127 but with an SFP fiber module and although the OS seems to recognise it, becaue I can see it in the network menu, I have no IP.

So my question is, is this NIC supported in the current ZimaOS Kernel?

Because uname -r tells me I have Kernel 6.18.9
And online I’ve seen this NIC is onl supporten in Kernel 7.4?

Thanks for any help or advice.

Hi, thanks for the details and screenshot.

We checked the current ZimaOS build configuration. It includes the Realtek r8127 driver, which contains code for the RTL8127ATF fiber variant. The patch you linked targets the upstream Linux r8169 driver, so the kernel version alone does not tell us whether missing driver support is causing this issue.

We would first like to confirm which driver your NIC is actually using, and whether the physical link is down or the link is up but the interface is not obtaining an IP address.

Please run these read-only commands through SSH or the system terminal and share the output. They use eth0 from your screenshot; replace it if your interface has a different name:

uname -r

cat /etc/os-release

lspci -nnk -d 10ec:

ethtool -i eth0

ethtool eth0

ip -br addr

nmcli device show eth0

Please also include the relevant logs from the current boot:

sudo journalctl -b -k --no-pager \

| grep -Ei ‘r8127|r8169|eth0|firmware’ \

| tail -n 100

sudo journalctl -b -u NetworkManager --no-pager \

| tail -n 100

Thank you

Hello

Nice Doberman. I have 2 myself. Love those dogs.

Well, during my troubleshooting I decided to replace the Realtek NIC in my ZimaOS NAS for another Fiber NIC (Asus XG-C100F) with the older AQC107 chipset and that worked immediatelly on first boot.

Got an IP after a few seconds from DHCP and 10G connectivity so I’m happy.

I then installed the new Realtek RTL8127ATF on my Windows 11 PC and also installed the Realtek drivers from their website because I had no IP as well after the first boot. Windows did not recognise the NIC properly. I was worried the card could be damaged at this point.

But…After the drivers installed I got an IP and also 10G connectivity flawlessly.

So indeed the ZimaOS is missing the correct driver, I believe.
I have no time to wait for a fix so I’ll keep this working solution for me now.

Thank you so much for the support.

I’ll paste here the results of your request regardless. Maybe it will help others?

uname -r

6.18.9

cat /etc/os-release

NAME=“ZimaOS”
BOARD=“ZimaCube”
VERSION=“v1.8.0-beta2”
ID=zimaos
VERSION_ID=1.8.0-beta2
PRETTY_NAME=“ZimaOS v1.8.0-beta2”
CPE_NAME=cpe:2.3:o:icewhale:zimaos:1.8.0-beta2::development::::zimacube:*
VARIANT=“ZimaOS ZimaCube”
VARIANT_ID=zimacube
SUPERVISOR_MACHINE=ZimaCube
SUPERVISOR_ARCH=amd64
BUILD_DATE=“2026/10/06 16:50:54 UTC”
MANUFACTURER=“IceWhale Technology”
MODEL=ZimaCube

lspci -nnk -d 10ec:

16:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8127 10GbE Controller [10ec:8127] (rev 08)
Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:0123]
Kernel driver in use: r8169
Kernel modules: r8127

ethtool -i eth0

driver: r8169
version: 6.18.9
firmware-version: rtl8127a-1_0.0.5 05/14/25
expansion-rom-version:
bus-info: 0000:16:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no

ethtool eth0

Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
10000baseT/Full
2500baseT/Full
5000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
10000baseT/Full
2500baseT/Full
5000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Auto-negotiation: on
master-slave cfg: preferred slave
master-slave status: unknown
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
MDI-X: Unknown
netlink error: Operation not permitted
Link detected: no

ip -br addr

lo UNKNOWN 127.0.0.1/8 ::1/128
eth0 DOWN
eth1 UP 10.0.0.134/24 2605:a601:aa6a:9100:20a6:508:5270:3aa/64 fe80::dfdf:40e4:784c:5b0c/64
wlan0 DOWN
thunderboltbr0 DOWN 169.254.18.190/16
virbr0 DOWN 192.168.122.1/24 fd8d:4bc9:7f1a:122::1/64
docker0 DOWN 172.17.0.1/16

nmcli device show eth0

Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
10000baseT/Full
2500baseT/Full
5000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
GENERAL.DEVICE: eth0
GENERAL.TYPE: ethernet
GENERAL.HWADDR: 1A:4B:24:C9:B8:55
GENERAL.MTU: 1500
GENERAL.STATE: 20 (unavailable)
GENERAL.CONNECTION: –
GENERAL.CON-PATH: –
WIRED-PROPERTIES.CARRIER: off
IP4.GATEWAY: –
IP6.GATEWAY: –

~

Thanks for sharing the results. I’m glad your current NIC setup is working.
The output gives us an important clue: the RTL8127ATF was actually using r8169. r8127 was listed as a matching driver module, but it was not bound to the NIC. Both “Link detected: no” and “CARRIER: off” show that the physical link was down, so we will focus first on driver binding and fiber support.
This differs from our current build configuration, which is intended to use r8127 for this device. We will check the beta2 release kernel and driver selection.
If you ever feel like trying again, you could temporarily unbind this NIC from r8169 and bind it to the existing r8127 driver to see whether the link comes up. Keeping your current working setup is perfectly fine too.
Thank you for keeping and sharing these results; they will help us improve compatibility in future releases.

Hello,

I have the same problem, and when try run it on proxmox have the same problem ;C

And have link ok using this driver from Realtek: 11.015.00

Like user from STH forum:

With native kernel driver never have link on RTL8127ATF, i think most people using RLT8127 ethernet, but i love SFP+ is more energy efficient power

My info:

michal@ZimaOS:~ ➜ $ uname -r
6.18.9
michal@ZimaOS:~ ➜ $ cat /etc/os-release
NAME=“ZimaOS”
BOARD=“ZimaCube”
VERSION=“v1.8.0-beta2”
ID=zimaos
VERSION_ID=1.8.0-beta2
PRETTY_NAME=“ZimaOS v1.8.0-beta2”
CPE_NAME=cpe:2.3:o:icewhale:zimaos:1.8.0-beta2::development::::zimacube:*
VARIANT=“ZimaOS ZimaCube”
VARIANT_ID=zimacube
SUPERVISOR_MACHINE=ZimaCube
SUPERVISOR_ARCH=amd64
BUILD_DATE=“2026/10/06 16:50:54 UTC”
MANUFACTURER=“IceWhale Technology”
MODEL=ZimaCube
michal@ZimaOS:~ ➜ $ lspci -nnk -d 10ec:
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8127 10GbE Controller [10ec:8127] (rev 08)
Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:0123]
Kernel driver in use: r8169
Kernel modules: r8127
michal@ZimaOS:~ ➜ $ ethtool -i eth0
driver: r8169
version: 6.18.9
firmware-version: rtl8127a-1_0.0.5 05/14/25
expansion-rom-version:
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no
michal@ZimaOS:~ ➜ $ ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
10000baseT/Full
2500baseT/Full
5000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
10000baseT/Full
2500baseT/Full
5000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Auto-negotiation: on
master-slave cfg: preferred slave
master-slave status: unknown
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
MDI-X: Unknown
netlink error: Operation not permitted
Link detected: no
michal@ZimaOS:~ ➜ $ ip -br addr
lo UNKNOWN 127.0.0.1/8 ::1/128
eth0 DOWN
eth1 UP 172.16.16.169/24 fe80::ba6b:a35b:861b:b474/64
eth2 DOWN
thunderboltbr0 DOWN 169.254.68.163/16
virbr0 DOWN 192.168.122.1/24 fd8d:4bc9:7f1a:122::1/64
ztb43giyw3 UNKNOWN 172.29.0.1/16 fda7:2793:a811:f7ca:ca99:93a7:2793:a811/88 fe80::c86d:d0ff:fe82:82/64
docker0 DOWN 172.17.0.1/16
tun0 UNKNOWN 10.126.126.1/24 fe80::9f7:3e25:f421:8d07/64

First identify the actual values:

sudo lspci -D -nnk -d 10ec:8127

The first field is the PCI address, for example:

0000:01:00.0 Ethernet controller …

Then run:

ls /sys/bus/pci/devices/0000:01:00.0/net/

The output is the network interface name, for example:

eth0

Replace every occurrence of 0000:01:00.0 and eth0 below with the values from your system:

sudo modprobe r8127

ls /sys/bus/pci/drivers/r8127/bind

sudo ip link set eth0 down

echo r8127 | sudo tee /sys/bus/pci/devices/0000:01:00.0/driver_override

echo 0000:01:00.0 | sudo tee /sys/bus/pci/drivers/r8169/unbind

echo 0000:01:00.0 | sudo tee /sys/bus/pci/drivers/r8127/bind

ls /sys/bus/pci/devices/0000:01:00.0/net/

sudo ip link set eth0 up

Then verify:

sudo ethtool -i eth0

sudo ethtool eth0 | grep -E ‘Speed|Duplex|Link detected’

Expected output:

driver: r8127

Link detected: yes

You can follow the above approach to switch to a different driver and test whether the network card can be properly supported.

It’s working :slight_smile:

I try before you reply using command like debian based system without successful

With Copilot add automation to work afrer reboot:

New file:

sudo nano /etc/udev/rules.d/99-rtl8127-force-r8127.rules

Paste:

ACTION==“add”, SUBSYSTEM==“pci”, ATTR{vendor}==“0x10ec”, ATTR{device}==“0x8127”,
ATTR{driver_override}=“r8127”

ACTION==“add”, SUBSYSTEM==“pci”, ATTR{vendor}==“0x10ec”, ATTR{device}==“0x8127”,
RUN+=“/bin/sh -c ‘echo 0000:01:00.0 > /sys/bus/pci/drivers/r8169/unbind’”

ACTION==“add”, SUBSYSTEM==“pci”, ATTR{vendor}==“0x10ec”, ATTR{device}==“0x8127”,
RUN+=“/bin/sh -c ‘echo 0000:01:00.0 > /sys/bus/pci/drivers/r8127/bind’”

CTRL+O to save, and: CTRL+X to exit
Two commands:

sudo udevadm control --reload
sudo udevadm trigger

Reboot and working :slight_smile:

Do you have better solution to automate it?

You can wait for the next update. In the next update, the r8127 driver will be selected by default, so you won’t need to switch it manually.

If you need it right now, you can let me know, and I’ll help you find a suitable solution. You can contact me by email—my email address is: lvzhiyuan@icewhale.org.

Work nice, plug and play in 1.8 :slight_smile:

Thanks for support :slight_smile: