Installing LAN driver for RealTek 8111H

More
1 year 4 weeks ago #335749 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

Please Log in to join the conversation.

More
1 year 4 weeks ago #335755 by tommylight
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.

Please Log in to join the conversation.

More
1 year 4 weeks ago #335757 by unknown
sudo apt-get install r8168-dkms

This package covers the RT8111H as well

See this page below.
packages.debian.org/sid/r8168-dkms

Please Log in to join the conversation.

More
1 year 3 weeks ago #335819 by Digger011
Hi Tommy,
I did it, and there was no Lan card reported. Even, if I tried to add new connection, didn't work. :(

Please Log in to join the conversation.

More
1 year 3 weeks ago #335820 by Digger011
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)

Please Log in to join the conversation.

More
1 year 3 weeks ago #335823 by Digger011
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 to join the conversation.

More
More
1 year 3 weeks ago #335836 by Digger011
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

Please Log in to join the conversation.

More
1 year 3 weeks ago #335838 by unknown
I would still fix the raspi thing, it'll bite later on.

And the kernel supplied RealTek drivers aren't the best.

Please Log in to join the conversation.

Time to create page: 0.105 seconds
Powered by Kunena Forum