Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Realtek RTL8125 ethernet Lan not supported by HA OS (ASUS NUC 14 essential) #3880

Open
peletonduwer opened this issue Feb 15, 2025 · 4 comments
Labels
board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) bug

Comments

@peletonduwer
Copy link

Describe the issue you are experiencing

No Lan support on Realtek RTL8125 Lan controller. No IP address is assigned via Ethernet cable because the LAN controller is not supported by HA, driver r8125 is missing. With a USB to Ethernet dongle, an IP address is assigned. The LAN port Realtek RTL8125 is not recognized by HA. It was a fresh install on an ASUS NUC 14 essential

What operating system image do you use?

generic-x86-64 (Generic UEFI capable x86-64 systems)

What version of Home Assistant Operating System is installed?

14.2

Did the problem occur after upgrading the Operating System?

No

Hardware details

It was a fresh install on an ASUS NUC 14 essential

Steps to reproduce the issue

...

Anything in the Supervisor logs that might be useful for us?

No logs, no ethernet connection

Anything in the Host logs that might be useful for us?

No logs, no ethernet connection

System information

No response

Additional information

Image

@sairon
Copy link
Member

sairon commented Feb 15, 2025

r8125 is an out-of-tree driver from Realtek, RTL8125 should be supported in mainline r8169 which is built-in for generic-x86-64. Can you type login and check dmesg why the card is not initialized?

@sairon sairon added the board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) label Feb 15, 2025
@NiVo28
Copy link

NiVo28 commented Feb 15, 2025

r8125 is an out-of-tree driver from Realtek, RTL8125 should be supported in mainline r8169 which is built-in for generic-x86-64. Can you type login and check dmesg why the card is not initialized?

I have the same problem. I installed HA OS.
The commands 'login' and 'dmesg' doesn't work if I boot Ubuntu from USB.
"login: Cannot possibly work without effective root"
I tried to run these commands in HAOS too, but my screen resolution seems to be too low and I can't read the whole thing.

My LAN-adapter doesn't work in a fresh Ubuntu 22.04.
When I run lspci -vv, it shows me the mainline r8169. Only as "Kernel modules: r8169", but it doesn't show up as "Kernal driver in use".
When I install the r8125 driver and activate it through modprobe, then my LAN-adapter works. But when installing HA OS, it doesn't seem to recognize my LAN hardware.
The only way to have HA OS work with a wired internet connection is through a ethernet-usb adapter and connect it to my PC's USB-port. Which is a dirty workaround.

@jdg2025
Copy link

jdg2025 commented Feb 25, 2025

I'm having the same issue. Using a Dell Wyse 5070 ThinClient, I've installed both Ubuntu 24.04 and HOAS on two different internal drives, and regardless of which I boot to, the Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15) won't work. Without an internet connection, all the various advice about downloading and installing different drivers doesn't help because there is a litany of capabilities not installed in ubuntu from the USB drive installer so anything I try attempts to connect to the internet to download screen after screen worth of items not installed that it needs. I'm trying the same with HOAS, but similar issues. Though lspci -vv does show Kernal driver in use: r8169

@Hagren
Copy link

Hagren commented Feb 28, 2025

I ran in to the same problem with my new ASUS NUC 14 Essential. In Ubuntu 24.04 I ran 'lshw -C network' and the Realtek NIC shows up as unclaimed, so this is not an issue specific to HAOS as it is not recognised by Ubuntu either. If it should be picked up r8169 module this does not work for some reason and I have mainly used Intel NICs with Linux previously . I have downloaded the r8125 driver from Github and it works fine, but I don't know if I even have the option to install it in HAOS. I have temporarily solved my problem by running Ubuntu with VirtualBox and installing HAOS as a guest on VirtualBox. Performance is more than enough for now but I would prefer to run on bare metal as it is intended as a dedicated box for HAOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) bug
Projects
None yet
Development

No branches or pull requests

5 participants