Forums

Resolved
0 votes
Looking for help getting the NICs on this SBC working in ClearOS 7.
https://www.hardkernel.com/shop/odroid-h2plus/

I've tried every set of instructions I can find and still no luck.
This: https://wiki.odroid.com/odroid-h2/hardware/install_ethernet_driver_on_h2plus
Fails

And This: https://wiki.odroid.com/odroid-h2/hardware/install_r8125_dkms
Looks like it comples correctly, reboot... but the NICs never show up in ifconfig or the webconfig

Any advice appreciated.

[root@test ~]# lspci
00:00.0 Host bridge: Intel Corporation Gemini Lake Host Bridge (rev 03)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 605 (rev 03)
00:0e.0 Audio device: Intel Corporation Device 3198 (rev 03)
00:0f.0 Communication controller: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface (rev 03)
00:12.0 SATA controller: Intel Corporation Device 31e3 (rev 03)
00:13.0 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f3)
00:14.0 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f3)
00:14.1 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f3)
00:15.0 USB controller: Intel Corporation Device 31a8 (rev 03)
00:17.0 Signal processing controller: Intel Corporation Device 31b4 (rev 03)
00:17.1 Signal processing controller: Intel Corporation Device 31b6 (rev 03)
00:17.2 Signal processing controller: Intel Corporation Device 31b8 (rev 03)
00:17.3 Signal processing controller: Intel Corporation Device 31ba (rev 03)
00:1c.0 SD Host controller: Intel Corporation Celeron/Pentium Silver Processor SDA Standard Compliant SD Host Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation Device 31e8 (rev 03)
00:1f.1 SMBus: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model (rev 03)
01:00.0 Non-Volatile memory controller: Sandisk Corp WD Black 2018/PC SN720 NVMe SSD
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04)
Thursday, August 06 2020, 02:49 AM
Share this post:

Accepted Answer

Wednesday, August 12 2020, 03:46 AM - #Permalink
Resolved
0 votes
Bryan - ClearOS 7.8.1 Community version

[root@alice ~]# wget https://mirror.rackspace.com/elrepo/elrepo/el7/x86_64/RPMS/kmod-r8125-9.003.05-1.el7_8.elrepo.x86_64.rpm
--2020-08-12 13:06:26-- https://mirror.rackspace.com/elrepo/elrepo/el7/x86_64/RPMS/kmod-r8125-9.003.05-1.el7_8.elrepo.x86_64.rpm
Resolving mirror.rackspace.com (mirror.rackspace.com)... 119.9.32.73
Connecting to mirror.rackspace.com (mirror.rackspace.com)|119.9.32.73|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 68260 (67K) [application/x-rpm]
Saving to: ‘kmod-r8125-9.003.05-1.el7_8.elrepo.x86_64.rpm’

100%[===============================================================>] 68,260 --.-K/s in 0.04s

2020-08-12 13:06:27 (1.65 MB/s) - ‘kmod-r8125-9.003.05-1.el7_8.elrepo.x86_64.rpm’ saved [68260/68260]

[root@alice ~]#[root@alice ~]# yum install kmod-r8125-9.003.05-1.el7_8.elrepo.x86_64.rpm
Loaded plugins: clearcenter-marketplace, fastestmirror, verify
ClearCenter Marketplace: fetching repositories...
Examining kmod-r8125-9.003.05-1.el7_8.elrepo.x86_64.rpm: kmod-r8125-9.003.05-1.el7_8.elrepo.x86_64
Marking kmod-r8125-9.003.05-1.el7_8.elrepo.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package kmod-r8125.x86_64 0:9.003.05-1.el7_8.elrepo will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================
Package Arch Version Repository Size
===================================================================================================
Installing:
kmod-r8125 x86_64 9.003.05-1.el7_8.elrepo /kmod-r8125-9.003.05-1.el7_8.elrepo.x86_64 223 k

Transaction Summary
===================================================================================================
Install 1 Package

Total size: 223 k
Installed size: 223 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : kmod-r8125-9.003.05-1.el7_8.elrepo.x86_64 1/1
Working. This may take some time ...
Done.
Verifying : kmod-r8125-9.003.05-1.el7_8.elrepo.x86_64 1/1

Installed:
kmod-r8125.x86_64 0:9.003.05-1.el7_8.elrepo

Complete!
[root@alice ~]# modinfo r8125
filename: /lib/modules/3.10.0-1127.13.1.el7.x86_64/weak-updates/r8125/r8125.ko
version: 9.003.05-NAPI
license: GPL
description: Realtek RTL8125 2.5Gigabit Ethernet driver
author: Realtek and the Linux r8125 crew <netdev@vger.kernel.org>
retpoline: Y
rhelversion: 7.8
srcversion: 1F956BA08266DA84517213A
alias: pci:v000010ECd00003000sv*sd*bc*sc*i*
alias: pci:v000010ECd00008125sv*sd*bc*sc*i*
depends:
vermagic: 3.10.0-1127.el7.x86_64 SMP mod_unload modversions
signer: The ELRepo Project (http://elrepo.org): ELRepo.org Secure Boot Key
sig_key: F3:65:AD:34:81:A7:B2:0E:34:27:B6:1B:2A:26:63:5B:83:FE:42:7B
sig_hashalgo: sha256
parm: speed_mode:force phy operation. Deprecated by ethtool (8). (uint)
parm: duplex_mode:force phy operation. Deprecated by ethtool (8). (uint)
parm: autoneg_mode:force phy operation. Deprecated by ethtool (8). (uint)
parm: advertising_mode:force phy operation. Deprecated by ethtool (8). (uint)
parm: aspm:Enable ASPM. (int)
parm: s5wol:Enable Shutdown Wake On Lan. (int)
parm: s5_keep_curr_mac:Enable Shutdown Keep Current MAC Address. (int)
parm: rx_copybreak:Copy breakpoint for copy-only-tiny-frames (int)
parm: use_dac:Enable PCI DAC. Unsafe on 32 bit PCI slot. (int)
parm: timer_count:Timer Interrupt Interval. (int)
parm: eee_enable:Enable Energy Efficient Ethernet. (int)
parm: hwoptimize:Enable HW optimization function. (ulong)
parm: s0_magic_packet:Enable S0 Magic Packet. (int)
parm: tx_no_close_enable:Enable TX No Close. (int)
parm: debug:Debug verbosity level (0=none, ..., 16=all) (int)
[root@alice ~]# cat /etc/centos-release
ClearOS release 7.8.1 (Final)
[root@alice ~]# uname -r
3.10.0-1127.13.1.el7.x86_64

Obviously cannot test function - but it rpm installs OK...
Possible: Download the rpm using current system onto USB drive. Install ClearOS and then install rpm from mounted USB drive. Two things not sure of:-
1. The kernel version of current ClearOS install media - Nick will be better informed here. Ages since I did a ClearOS install...
2. Whether the rpm will install with no internet access, never tried it - might fire up a test system and test...
For situations like this have a supported USB ethernet NIC here which makes life easier... Use a D-LINK DUB-1312, but am sure there are many others, but you need to research to ensure Linux support...

Edit - it loads OK

[root@alice ~]# modprobe r8125
[root@alice ~]# lsmod | egrep 'r8125|Module'
Module Size Used by
r8125 150035 0
The reply is currently minimized Show
Responses (15)
  • Accepted Answer

    Thursday, August 13 2020, 08:07 AM - #Permalink
    Resolved
    0 votes
    Glad you've succeeded. Please remember to post back to the ElRepo mailing list. They will then release the driver in their repos and will generally keep it updated if it needs recompiling for kernel upgrades.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 13 2020, 12:53 AM - #Permalink
    Resolved
    0 votes
    Looks like we've made some progress.
    I haven't passed any real traffic through it, but it's working.
    Gonna stress it a bit to be sure it's stable then gonna reload it and put it in production.
    I'll post back here as I make progress.

    I chose this board as a COVID tinkering project.
    It's got everything I was looking for.
    Inexpensive, compact, quiet, runs pretty cool, dual NIC, NVMe, SATA, up to 32gb DDR4, x86 SBC.
    And... I learned a little bit thanks to you guys :)
    Gonna replace my old COS gateway / minecraft server.
    Only down side so far is the 3 LEDs are extremely bright... so, not ideal in a bedroom... as my wife has pointed out.
    Gonna have to get creative with the electrical tape to fix those LEDs.

    Can't thank you guys enough.



    enp2s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    inet 192.168.25.1 netmask 255.255.255.0 broadcast 192.168.25.255
    ether 00:1e:06:45:3d:68 txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    device interrupt 92

    enp3s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    ether 00:1e:06:45:3d:69 txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    device interrupt 93

    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 150 bytes 13013 (12.7 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 150 bytes 13013 (12.7 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 12 2020, 01:12 PM - #Permalink
    Resolved
    0 votes
    Thanks fellas... I understand now.
    I plan to test this all out today and will report back.
    I have a USB ethernet adapter that works fine and will go that route to test this all out.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 12 2020, 07:24 AM - #Permalink
    Resolved
    0 votes
    I think you have s slight misunderstand on how things work. As a separate rpm it will never be included in the kernel. The driver you have installed will be compatible with and ClearOS 7.8 kernel. It could be compatible with prior kernels and may be compatible with 7.9+ kernels but this is unknown. It depends on what symbols are available in each kernel and that is up to Redhat. Many drivers survive an upgrade of minor Centos 7.x/EL7.x versions. My two favourites, the kmod-r8168 and kmod-r8169 did. My wifi NIC, the rtl8812au did not survive, but once ElRepo compile your modules then generally automatically recompile them as necessary.

    ElRepo modules will not be put into the ClearOS repos for the moment. The exception is two that I compile independently of ElRepo and they need to remain there for historical reasons going back to when the ClearOS kernel was not the same as the Centos kernel.

    You can add the ElRepo repo to ClearOS and they have a neat feature such that non-compatible drivers are not presented to yum if you kernel has not been updated. As an example, if I were running the rtl8816au driver and Redhat released El7.9 which happened to be incompatible with the 7.8 kernel, the 7.9 compatible modules would not be presented to Centos 7.8 and ClearOS 7.8 users until their O/S's had upgraded to 7.9 weeks or months later. Because of this it **may** be safe to leave the repo enabled but I have never tested it.

    It does mean you have to watch upgrades whatever and if an upgrade breaks compatibility and stops your NIC from working, boot to an earlier kernel, upgrade the rpm and reboot. Personally if the ElRepo repo trick does not install, I'd always locally download the rpm before installing so I have a local copy. This means you can reboot to the newest kernel and, even without working NIC's, just install from your local copy.

    I don't know about the secure boot side of things as I don't use it.

    Please can I ask, that since ElRepo have kindly provided the rpm, you test it and give feedback to them. If it is good they will release it into their production repos.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 12 2020, 06:19 AM - #Permalink
    Resolved
    0 votes
    Regarding item 2 in my list above...
    Popped the r8125 rpm onto a test machine - then pulled the two ethernet cables and attempted an install using yum. It complained about not being able to reach the ClearCentre Marketplace, but continued. All depenencies were met and the rpm installed OK.

    However it would not load - error regarding ELRepo Secure Boot key not available. Looking at Import the ELRepo key would probably solve this problem, but you would need to do the "wget" mentioned when you fetch the kmod rpm and then copy both to the newly installed ClearOS - then ensure both are loaded. I have not tried this...

    The simplest solution is to use a USB ethernet NIC as mentioned before. Pity this board doesn't have a PCI or PCIe slot and use of an old PCI(e) NIC would be possible...
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, August 11 2020, 09:20 PM - #Permalink
    Resolved
    0 votes
    Really appreciate the help on this.
    So, does that mean that in 2+ weeks the kernel that includes this driver will be available in ClearOS?
    If so, are there particular repos I'd need to enable to install this kernel?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, August 11 2020, 09:09 PM - #Permalink
    Resolved
    0 votes
    I responded to the mailing list. It is not just a compatible kernel. It is the kernel from Centos unchanged (and is probably a vanilla RHEL kernel).Clearcenter updates their kernels about a week behind Centos for Community systems and 2 weeks for Business systems.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, August 11 2020, 08:47 PM - #Permalink
    Resolved
    0 votes
    Looks like they compiled it.
    Is ClearOS 100% binary compatible with RHEL?
    And, how does this kernel make it's way to my ClearOS box?
    What's the sequence of events?




    Message: 5

    Date: Tue, 11 Aug 2020 20:09:55 +0100

    > OK, we could try it. One potential issue is that the ClearOS kernel is
    > not 100% binary compatible with RHEL. So the package will have to be
    > rebuilt for ClearOS.
    >


    We have built a kmod-r8125 package and released it to the main elrepo
    repository. Packages are syncing to the mirrors and should be available
    shortly:

    kmod-r8125-9.003.05-1.el7_8.elrepo.x86_64.rpm
    r8125-kmod-9.003.05-1.el7_8.elrepo.src.rpm

    Please would you test and let us know how you get on.

    Thanks,


    ------------------------------

    Message: 6

    Announcing the release of the kernel-ml-5.8.1-1.el7.elrepo package set
    into the EL7 elrepo-kernel repository:

    https://elrepo.org/tiki/kernel-ml

    The upstream changelog:

    https://www.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.8.1

    The following files are currently synchronising to our mirror sites:

    x86_64
    kernel-ml-5.8.1-1.el7.elrepo.x86_64.rpm
    kernel-ml-devel-5.8.1-1.el7.elrepo.x86_64.rpm
    kernel-ml-doc-5.8.1-1.el7.elrepo.noarch.rpm
    kernel-ml-headers-5.8.1-1.el7.elrepo.x86_64.rpm
    kernel-ml-tools-5.8.1-1.el7.elrepo.x86_64.rpm
    kernel-ml-tools-libs-5.8.1-1.el7.elrepo.x86_64.rpm
    kernel-ml-tools-libs-devel-5.8.1-1.el7.elrepo.x86_64.rpm
    perf-5.8.1-1.el7.elrepo.x86_64.rpm
    python-perf-5.8.1-1.el7.elrepo.x86_64.rpm

    nosrc
    kernel-ml-5.8.1-1.el7.elrepo.nosrc.rpm

    Note: As a consequence of the upstream decision [1] to raise the
    minimum required version of gcc to 4.9, the distribution compiler can
    no longer be used in the kernel build process. We now use gcc-9, which
    is available from the devtoolset-9 package.

    We provide these kernels for hardware testing in an effort to identify
    new/updated drivers which can then be targeted for backporting as kmod
    packages. Meanwhile, these kernels may provide interim relief to
    people with non-functional hardware. We stress that we consider such
    kernels as a last resort for those who are unable to get their
    hardware working using the RHEL-7 kernel with supplementary kmod
    packages.

    These packages are provided "As-Is" with no implied warranty or
    support. Using the kernel-ml may expose your system to security,
    performance and/or data corruption issues. Since timely updates may
    not be available from the ELRepo Project, the end user has the
    ultimate responsibility for deciding whether to continue using the
    kernel-ml packages in regular service.

    The packages are intentionally named kernel-ml so as not to conflict
    with the RHEL-7 kernels and, as such, they may be installed and
    updated alongside the regular kernel. The kernel configuration is
    based upon a default RHEL-7 configuration with added functionality
    enabled as appropriate.

    If a bug is found when using these kernels, the end user is encouraged
    to report it upstream to the Linux Kernel Bug Tracker [2] and, for our
    reference, to the ELRepo bug tracker [3]. By taking such action, the
    reporter will be assisting the kernel developers, Red Hat and the Open
    Source Community as a whole.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 06 2020, 03:27 PM - #Permalink
    Resolved
    0 votes
    Well, in ClearOS what made me think it compiled correctly is because it didn't give any errors that I saw when I followed these instructions:
    https://wiki.odroid.com/odroid-h2/hardware/install_r8125_dkms
    But, it didn't work... and what REALLY made me think it was working is my ignorance :)

    But, in Fedora 32, it complied just fine. I'm actually posting here from this machine.
    I'm going to use this machine as my workstation for a while to be sure things are working ok, then I'll reach out to the people at elrepo and see what happens.

    [[bryan@localhost ~]$ lspci
    00:00.0 Host bridge: Intel Corporation Gemini Lake Host Bridge (rev 03)
    00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 605 (rev 03)
    00:0e.0 Audio device: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio (rev 03)
    00:0f.0 Communication controller: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface (rev 03)
    00:12.0 SATA controller: Intel Corporation Device 31e3 (rev 03)
    00:13.0 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f3)
    00:14.0 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f3)
    00:14.1 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f3)
    00:15.0 USB controller: Intel Corporation Device 31a8 (rev 03)
    00:17.0 Signal processing controller: Intel Corporation Device 31b4 (rev 03)
    00:17.1 Signal processing controller: Intel Corporation Device 31b6 (rev 03)
    00:17.2 Signal processing controller: Intel Corporation Device 31b8 (rev 03)
    00:17.3 Signal processing controller: Intel Corporation Device 31ba (rev 03)
    00:1c.0 SD Host controller: Intel Corporation Celeron/Pentium Silver Processor SDA Standard Compliant SD Host Controller (rev 03)
    00:1f.0 ISA bridge: Intel Corporation Device 31e8 (rev 03)
    00:1f.1 SMBus: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model (rev 03)
    01:00.0 Non-Volatile memory controller: Sandisk Corp WD Black 2018/PC SN720 NVMe SSD
    02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04)
    03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04)


    [bryan@localhost ~]$ lshw -class network
    WARNING: you should run this program as super-user.
    *-network
    description: Ethernet interface
    product: RTL8125 2.5GbE Controller
    vendor: Realtek Semiconductor Co., Ltd.
    physical id: 0
    bus info: pci@0000:02:00.0
    logical name: enp2s0
    version: 04
    serial: 00:1e:06:45:3d:68
    capacity: 1Gbit/s
    width: 64 bits
    clock: 33MHz
    capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
    configuration: autonegotiation=on broadcast=yes driver=r8125 driverversion=9.003.05-NAPI latency=0 link=no multicast=yes port=twisted pair
    resources: irq:133 ioport:e000(size=256) memory:a1200000-a120ffff memory:a1210000-a1213fff
    *-network
    description: Ethernet interface
    product: RTL8125 2.5GbE Controller
    vendor: Realtek Semiconductor Co., Ltd.
    physical id: 0
    bus info: pci@0000:03:00.0
    logical name: enp3s0
    version: 04
    serial: 00:1e:06:45:3d:69
    size: 1Gbit/s
    capacity: 1Gbit/s
    width: 64 bits
    clock: 33MHz
    capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
    configuration: autonegotiation=on broadcast=yes driver=r8125 driverversion=9.003.05-NAPI duplex=full ip=192.168.55.139 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
    resources: irq:135 ioport:d000(size=256) memory:a1100000-a110ffff memory:a1110000-a1113fff
    WARNING: output may be incomplete or inaccurate, you should run this program as super-user.


    [bryan@localhost ~]$ ifconfig
    enp2s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    ether 00:1e:06:45:3d:68 txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    device interrupt 133

    enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.55.139 netmask 255.255.255.0 broadcast 192.168.55.255
    inet6 fe80::833f:c741:1d2d:cc02 prefixlen 64 scopeid 0x20<link>
    ether 00:1e:06:45:3d:69 txqueuelen 1000 (Ethernet)
    RX packets 62393 bytes 74013230 (70.5 MiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 34814 bytes 3725715 (3.5 MiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    device interrupt 135

    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 91 bytes 5813 (5.6 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 91 bytes 5813 (5.6 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
    ether 52:54:00:f4:c0:e0 txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    [bryan@localhost ~]$ lsmod | egrep 'r8125|Module'
    Module Size Used by
    r8125 184320 0
    [bryan@localhost ~]$

    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 06 2020, 02:51 PM - #Permalink
    Resolved
    0 votes
    I've just tried an ElRepo kernel-ml and it does not have the r8125 in it, so it has not yet been incorporated into any kernel. This means your most hopeful route is to ask if the people at ElRepo can compile it for you. Often they like to know from you it will compile OK.

    What makes you think it compiled correctly when you did it? Did you try loading manually it with "modprobe r8168"?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 06 2020, 12:26 PM - #Permalink
    Resolved
    0 votes
    Thanks for the suggestion.
    Compiled just fine in Fedora 32 and working great.
    Being this is just a board for me to tinker with, I'm going to dig into the elrepo kernel.
    And, I'm going to create an RFE.
    It's a neat little inexpensive board that would be great for this application.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 06 2020, 08:19 AM - #Permalink
    Resolved
    0 votes
    As an alternative but also outside you comfort zone, you could try using a full ElRepo kernel (kernel-ml) which probably has it built in. Elrepo kernels should be compatible with ClearOS but I have never tried them.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 06 2020, 05:57 AM - #Permalink
    Resolved
    0 votes
    Check if there is a driver in elrepo. If not, you could like to head over to elrepo.org/bugs, register and file an RFE. They may be willing to make one for CentOS 7 - you may need to explain that ClearOS 7 is a derivative of ClearOS 7. There is also a mailinglist http://lists.elrepo.org/mailman/listinfo/elrepo
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 06 2020, 05:35 AM - #Permalink
    Resolved
    0 votes
    No... I was wrong. Not my comfort zone either.
    Was hoping there would be an easy way to get this working.
    Gonna see how Fedroa does for now.
    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 06 2020, 04:28 AM - #Permalink
    Resolved
    0 votes
    re you sure the driver compiled successfully?
    What do you get from "modinfo r8125"
    If it exists, did it load? "lsmod | egrep 'r8125|Module' "

    Downloaded the driver from Realtek - it will NOT complite with ClearOS 7.8.1

    Fedora 32 does not include the R8125 driver. However, it will compile the Realtek sourced driver, and load...

    root@sophia ~]# modinfo r8125
    filename: /lib/modules/5.7.10-201.fc32.x86_64/kernel/drivers/net/ethernet/realtek/r8125.ko
    version: 9.003.05-NAPI
    license: GPL
    description: Realtek RTL8125 2.5Gigabit Ethernet driver
    author: Realtek and the Linux r8125 crew <netdev@vger.kernel.org>
    srcversion: C166E452AA9E582D89D116B
    alias: pci:v000010ECd00003000sv*sd*bc*sc*i*
    alias: pci:v000010ECd00008125sv*sd*bc*sc*i*
    ... snipped

    [root@sophia ~]# lsmod | egrep 'r8125|Module'
    Module Size Used by
    r8125 172032 0

    Note that Fedora 32 kernel currently is 5.7.xxxx, ClearOS 7.8.1 is 3.10.xxxx
    The reply is currently minimized Show
Your Reply