Update: I found the problem with the “buggy” network driver. It was actually the RAM which is behaving unstable. The RAM is Kingston HyperX Impact 8GB 2933MHz DDR4 CL17 – avoid it for the Odroid H2+. So both drivers should be stable enough.
Update 09.01.2021: I’ve built the driver for base 7.9 kernel so you can install it from a flash drive, without a usb lan card. See the downloads section below.
Well the 9.003.05-1 version I found on ElRepo
turned out to be buggy and killed my whole network. I downloaded the version r8125-9.004.01 driver from Realtek and applied the changes from the ELRepo patch. I made a new patch, so if you are interested in compiling the original source you can do this:
tar jxf r8125-9.004.01.tar.bz2
patch -p1 <../NickSoft-r8125-9.004.01-centos.patch
Or you can get the rpms and rebuild from src rpm:
Make sure you update first. your kernel version needs to be higher than 3.10.0-1160.11.1.el7:
rpmbuild --rebuild --define "kversion $(uname -r)" r8125-kmod-9.004.01-1.el7.src.rpm
Then install the rpm:
rpm -Uvh /root/rpmbuild/RPMS/x86_64/kmod-r8125-9.004.01-1.el7.x86_64.rpm
- Patch file
- r8125-kmod-9.004.01-1.el7.zip – only works for kernel >=3.10.0-1160.11.1.el7 and up
- r8125-kmod-9.004.01-2.el7.zip – for base >=CentOS 7.9 Kernel. You should use this for fresh install (no updates)