Installing LAN driver for RealTek 8111H
- Digger011
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 1
02 Oct 2025 23:51 #335749
by Digger011
Installing LAN driver for RealTek 8111H was created by Digger011
Hello,
my first post here. I am completely new to Linux.
I was able to install LinuxCNC and connect it to WiFi via USB dongle. Unfortunately I am not able to use integrated LAN adapter from Ausus N305m-e mother board. LAN chipset should be 8111H. When I open the Network manager and want to add ethernet connection, I don't get any device name from drop down manu to chose from. I would think that OS doesn't see it. If driver is missing, where should I get it and now to install it?
All of this is very new to me. To run my machine I used UCCNC but decided learn something new and to switch to LinuxCNC.
Thanks,
Milos
my first post here. I am completely new to Linux.
I was able to install LinuxCNC and connect it to WiFi via USB dongle. Unfortunately I am not able to use integrated LAN adapter from Ausus N305m-e mother board. LAN chipset should be 8111H. When I open the Network manager and want to add ethernet connection, I don't get any device name from drop down manu to chose from. I would think that OS doesn't see it. If driver is missing, where should I get it and now to install it?
All of this is very new to me. To run my machine I used UCCNC but decided learn something new and to switch to LinuxCNC.
Thanks,
Milos
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20733
- Thank you received: 7055
03 Oct 2025 00:59 #335755
by tommylight
Replied by tommylight on topic Installing LAN driver for RealTek 8111H
Download this
www.linuxmint.com/download_lmde.php
write it to USB and boot the PC from it, do not install, just check if the network works with it.
www.linuxmint.com/download_lmde.php
write it to USB and boot the PC from it, do not install, just check if the network works with it.
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 614
- Thank you received: 206
03 Oct 2025 01:40 #335757
by unknown
Replied by unknown on topic Installing LAN driver for RealTek 8111H
sudo apt-get install r8168-dkms
This package covers the RT8111H as well
See this page below.
packages.debian.org/sid/r8168-dkms
This package covers the RT8111H as well
See this page below.
packages.debian.org/sid/r8168-dkms
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- Digger011
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 1
04 Oct 2025 16:41 #335819
by Digger011
Replied by Digger011 on topic Installing LAN driver for RealTek 8111H
Hi Tommy,
I did it, and there was no Lan card reported. Even, if I tried to add new connection, didn't work.
I did it, and there was no Lan card reported. Even, if I tried to add new connection, didn't work.

Please Log in or Create an account to join the conversation.
- Digger011
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 1
04 Oct 2025 16:43 #335820
by Digger011
Replied by Digger011 on topic Installing LAN driver for RealTek 8111H
I've got this replay and I don't understand what is going on.
milos@debian:~$ sudo apt-get install r8168-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
r8168-dkms is already the newest version (8.048.03-3).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.142+deb12u1) ...
update-initramfs: deferring update (trigger activated)
Setting up r8168-dkms (8.048.03-3) ...
Removing old r8168-8.048.03 DKMS files...
Deleting module r8168-8.048.03 completely from the DKMS tree.
Loading new r8168-8.048.03 DKMS files...
Deprecated feature: REMAKE_INITRD (/usr/src/r8168-8.048.03/dkms.conf)
Building for 6.1.0-30-rt-amd64
Building initial module for 6.1.0-30-rt-amd64
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/r8168/8.048.03/source/dkms.conf)
Error! Bad return status for module build on kernel: 6.1.0-30-rt-amd64 (x86_64)
Consult /var/lib/dkms/r8168/8.048.03/build/make.log for more information.
dpkg: error processing package r8168-dkms (--configure):
installed r8168-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for initramfs-tools (0.142+deb12u1) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-30-rt-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
r8168-dkms
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
milos@debian:~$ sudo apt-get install r8168-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
r8168-dkms is already the newest version (8.048.03-3).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.142+deb12u1) ...
update-initramfs: deferring update (trigger activated)
Setting up r8168-dkms (8.048.03-3) ...
Removing old r8168-8.048.03 DKMS files...
Deleting module r8168-8.048.03 completely from the DKMS tree.
Loading new r8168-8.048.03 DKMS files...
Deprecated feature: REMAKE_INITRD (/usr/src/r8168-8.048.03/dkms.conf)
Building for 6.1.0-30-rt-amd64
Building initial module for 6.1.0-30-rt-amd64
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/r8168/8.048.03/source/dkms.conf)
Error! Bad return status for module build on kernel: 6.1.0-30-rt-amd64 (x86_64)
Consult /var/lib/dkms/r8168/8.048.03/build/make.log for more information.
dpkg: error processing package r8168-dkms (--configure):
installed r8168-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for initramfs-tools (0.142+deb12u1) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-30-rt-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
r8168-dkms
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
Please Log in or Create an account to join the conversation.
- Digger011
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 1
04 Oct 2025 17:26 #335823
by Digger011
Replied by Digger011 on topic Installing LAN driver for RealTek 8111H
I did some research and it looks like something is wrong with installation. I have no problem of reinstalling it from scratch, if it makes sense.
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 614
- Thank you received: 206
04 Oct 2025 18:57 #335828
by unknown
Replied by unknown on topic Installing LAN driver for RealTek 8111H
Please Log in or Create an account to join the conversation.
- Digger011
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 1
04 Oct 2025 22:58 #335836
by Digger011
Replied by Digger011 on topic Installing LAN driver for RealTek 8111H
It looks like the error is on my side. Lan adapter was disabled in BIOS. After enabling it, Lan connected to network using live installation.
Thank you guys for all your support and suggestions.
M
Thank you guys for all your support and suggestions.
M
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 614
- Thank you received: 206
05 Oct 2025 00:12 #335838
by unknown
Replied by unknown on topic Installing LAN driver for RealTek 8111H
I would still fix the raspi thing, it'll bite later on.
And the kernel supplied RealTek drivers aren't the best.
And the kernel supplied RealTek drivers aren't the best.
Please Log in or Create an account to join the conversation.
Time to create page: 0.080 seconds