LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-09-2020, 03:15 PM   #1
rhartwig
LQ Newbie
 
Registered: Dec 2020
Location: Bensheim, Germany
Distribution: debian
Posts: 5

Rep: Reputation: 0
Do you know a distribution supporting RTL8125 2.5GbE Controller


I tested newest version of ubuntu as well as debian.
Both are able to support my PCI network card:

in ubuntu "lshw -class network" shows

Quote:
*-network
description: Wireless interface
product: Wi-Fi 6 AX201
vendor: Intel Corporation
physical id: 14.3
bus info: pci@0000:00:14.3
logical name: wlo1
version: 00
serial: f8:e4:e3:81:e0:f2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.8.0-31-generic firmware=55.d9698065.0 QuZ-a0-jf-b0-55.u ip=10.0.0.69 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:16 memory:53514000-53517fff
*-network UNCLAIMED
description: Ethernet controller
product: RTL8125 2.5GbE Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:05:00.0
version: 05
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd cap_list
configuration: latency=0
resources: ioport:3000(size=256) memory:53300000-5330ffff memory:53310000-53313fff


while "lspci" shows

Quote:
00:00.0 Host bridge: Intel Corporation Device 9b33 (rev 05)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 05)
00:12.0 Signal processing controller: Intel Corporation Comet Lake PCH Thermal Controller
00:14.0 USB controller: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller
00:14.2 RAM memory: Intel Corporation Comet Lake PCH Shared SRAM
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201
00:16.0 Communication controller: Intel Corporation Comet Lake HECI Controller
00:17.0 RAID bus controller: Intel Corporation SATA Controller [RAID mode]
00:1b.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #17 (rev f0)
00:1b.4 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #21 (rev f0)
00:1c.0 PCI bridge: Intel Corporation Device 06b8 (rev f0)
00:1c.4 PCI bridge: Intel Corporation Device 06bc (rev f0)
00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0)
00:1d.4 PCI bridge: Intel Corporation Device 06b4 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device 0685
00:1f.3 Audio device: Intel Corporation Comet Lake PCH cAVS
00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH SPI Controller
01:00.0 VGA compatible controller: NVIDIA Corporation TU117 [GeForce GTX 1650] (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1)
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
06:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983


Both debian as ubuntu do not support / have the driver r8169 nor r8168.

Therefore my question:
Has anyone an idea which linux distribution will support my hardware?

thanks in advance.

rhartwig
 
Old 12-09-2020, 08:46 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
You can download the driver from https://www.realtek.com/en/component...press-software. Realtek says it will work for Linux up to version 5.6.

You will then have to compile it, which should work on all distros that have a C compiler.

There is also this ask.ubuntu question: https://askubuntu.com/questions/1259...rking-on-20-04.

Below is the driver's README:
Code:
<Linux device driver for Realtek Ethernet controllers>

        This is the Linux device driver released for RealTek RTL8125 2.5Gigabit Ethernet controllers with PCI-Express interface.

<Requirements>

        - Kernel source tree (supported Linux kernel 2.6.x and 2.4.x)
        - For linux kernel 2.4.x, this driver supports 2.4.20 and latter.
        - Compiler/binutils for kernel compilation

<Quick install with proper kernel settings>
        Unpack the tarball :
                # tar vjxf r8125-8.aaa.bb.tar.bz2

        Change to the directory:
                # cd r8125-8.aaa.bb

        If you are running the target kernel, then you should be able to do :

                # ./autorun.sh  (as root or with sudo)

        You can check whether the driver is loaded by using following commands.

                # lsmod | grep r8125
                # ifconfig -a

        If there is a device name, ethX, shown on the monitor, the linux
        driver is loaded. Then, you can use the following command to activate
        the ethX.

                # ifconfig ethX up

                ,where X=0,1,2,...

<Set the network related information>
        1. Set manually
                a. Set the IP address of your machine.

                        # ifconfig ethX "the IP address of your machine"

                b. Set the IP address of DNS.

                   Insert the following configuration in /etc/resolv.conf.

                        nameserver "the IP address of DNS"

                c. Set the IP address of gateway.

                        # route add default gw "the IP address of gateway"

        2. Set by doing configurations in /etc/sysconfig/network-scripts
           /ifcfg-ethX for Redhat and Fedora, or /etc/sysconfig/network
           /ifcfg-ethX for SuSE. There are two examples to set network
           configurations.

                a. Fixed IP address:
                        DEVICE=eth0
                        BOOTPROTO=static
                        ONBOOT=yes
                        TYPE=ethernet
                        NETMASK=255.255.255.0
                        IPADDR=192.168.1.1
                        GATEWAY=192.168.1.254
                        BROADCAST=192.168.1.255

                b. DHCP:
                        DEVICE=eth0
                        BOOTPROTO=dhcp
                        ONBOOT=yes

<Modify the MAC address>
        There are two ways to modify the MAC address of the NIC.
        1. Use ifconfig:

                # ifconfig ethX hw ether YY:YY:YY:YY:YY:YY

           ,where X is the device number assigned by Linux kernel, and
                  YY:YY:YY:YY:YY:YY is the MAC address assigned by the user.

        2. Use ip:

                # ip link set ethX address YY:YY:YY:YY:YY:YY

           ,where X is the device number assigned by Linux kernel, and
                  YY:YY:YY:YY:YY:YY is the MAC address assigned by the user.

<Force Link Status>

        1. Force the link status when insert the driver.

           If the user is in the path ~/r8125, the link status can be forced
           to one of the 5 modes as following command.

                # insmod ./src/r8125.ko speed=SPEED_MODE duplex=DUPLEX_MODE autoneg=NWAY_OPTION

                ,where
                        SPEED_MODE      = 1000  for 1000Mbps
                                        = 100   for 100Mbps
                                        = 10    for 10Mbps
                        DUPLEX_MODE     = 0     for half-duplex
                                        = 1     for full-duplex
                        NWAY_OPTION     = 0     for auto-negotiation off (true force)
                                        = 1     for auto-negotiation on (nway force)
                For example:

                        # insmod ./src/r8125.ko speed=100 duplex=0 autoneg=1

                will force PHY to operate in 100Mpbs Half-duplex(nway force).

        2. Force the link status by using ethtool.
                a. Insert the driver first.
                b. Make sure that ethtool exists in /sbin.
                c. Force the link status as the following command.

                        # ethtool -s ethX speed SPEED_MODE duplex DUPLEX_MODE autoneg NWAY_OPTION

                        ,where
                                SPEED_MODE      = 1000  for 1000Mbps
                                                = 100   for 100Mbps
                                                = 10    for 10Mbps
                                DUPLEX_MODE     = half  for half-duplex
                                                = full  for full-duplex
                                NWAY_OPTION     = off   for auto-negotiation off (true force)
                                                = on    for auto-negotiation on (nway force)

                For example:

                        # ethtool -s eth0 speed 100 duplex full autoneg on

                will force PHY to operate in 100Mpbs Full-duplex(nway force).

<Jumbo Frame>
        Transmitting Jumbo Frames, whose packet size is bigger than 1500 bytes, please change mtu by the following command.

        # ifconfig ethX mtu MTU

        , where X=0,1,2,..., and MTU is configured by user.

        RTL8125 supports Jumbo Frame size up to 9 kBytes.

Last edited by berndbausch; 12-09-2020 at 08:56 PM.
 
Old 12-09-2020, 08:57 PM   #3
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Quote:
Originally Posted by rhartwig View Post
Both debian as ubuntu do not support / have the driver r8169 nor r8168.

Therefore my question:
Has anyone an idea which linux distribution will support my hardware?
Debian.

https://packages.debian.org/buster/r8168-dkms
 
Old 12-10-2020, 09:28 AM   #4
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,275
Blog Entries: 48

Rep: Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580
rhartwig,

You could also try the latest Manjaro which uses kernel 5.9:
https://forum.manjaro.org/t/manjaro-...released/41034

Realtek RTL8125:
https://linuxreviews.org/Realtek_RTL_8125
 
Old 12-10-2020, 11:18 AM   #5
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,706

Rep: Reputation: Disabled
List of tested Linux systems. Click on » in each line to see the results.

Last edited by shruggy; 12-10-2020 at 11:19 AM.
 
1 members found this post helpful.
Old 12-11-2020, 08:01 PM   #6
rhartwig
LQ Newbie
 
Registered: Dec 2020
Location: Bensheim, Germany
Distribution: debian
Posts: 5

Original Poster
Rep: Reputation: 0
@evo2,

I tested on Dec, 6th debian Buster, stable version from dec, 5th
but it does not work out of the box.

I do not know to add a packages of the non-free repo during installation.
Do you have any hint or idea?


@berndbausch,

sorry, for me the link https://www.realtek.com/en/component...press-software. does not work fine.
I tryied different email addresses but I never recieved an email with a captch code to download the triver.
 
Old 12-11-2020, 08:11 PM   #7
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
My link seems to be broken. I found it by searching for realtek 8125 linux.
 
Old 12-11-2020, 08:26 PM   #8
rhartwig
LQ Newbie
 
Registered: Dec 2020
Location: Bensheim, Germany
Distribution: debian
Posts: 5

Original Poster
Rep: Reputation: 0
nevertheless
it does not solve my origin question - to my mind, unfortunately.

Is there a Linux distri able to boot with my RTL PCI card out of the box?

otherwise, if there isn't any one:
How to download and install a driver, when I do not have any network connection ?
 
Old 12-11-2020, 10:15 PM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,707

Rep: Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673
Did your try the latest release of Manjaro as suggested by beachboy2?
 
Old 12-11-2020, 10:23 PM   #10
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by rhartwig View Post
How to download and install a driver, when I do not have any network connection ?
To download a driver, you need a network connection.
You can download it on a different device, then transfer it to the target PC using USB drive, USB cable, SD card etc.
 
Old 12-12-2020, 02:01 AM   #11
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,275
Blog Entries: 48

Rep: Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580
rhartwig,

Is the Intel 6 AX201 wifi also not working?
 
Old 12-12-2020, 08:00 PM   #12
rhartwig
LQ Newbie
 
Registered: Dec 2020
Location: Bensheim, Germany
Distribution: debian
Posts: 5

Original Poster
Rep: Reputation: 0
beachboy2

no, wifi did not work too (debian)
using ubuntu it will works
 
Old 12-15-2020, 03:19 PM   #13
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,204

Rep: Reputation: 2537Reputation: 2537Reputation: 2537Reputation: 2537Reputation: 2537Reputation: 2537Reputation: 2537Reputation: 2537Reputation: 2537Reputation: 2537Reputation: 2537
The 8111/8125/8168 are all supported by the rtl8169.ko driver. I don't think your problem is the driver at all, or your OS, as long as you have a pre-5.6 kernel.

Your problem is pci.ids. The kernel might not know what module is required. You need to update you pci.ids database, usually found in /usr/share/hwdata. I have one of those nics myself (the 8111 or 8168; it's in my x86 box and I'm on a Raspberry Pi ATM)
 
Old 12-23-2020, 12:04 PM   #14
rhartwig
LQ Newbie
 
Registered: Dec 2020
Location: Bensheim, Germany
Distribution: debian
Posts: 5

Original Poster
Rep: Reputation: 0
business_kid

can you explan / send me a link how to update the database
with special hints to my case?
thx
 
Old 12-24-2020, 05:42 AM   #15
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,204

Rep: Reputation: 2537Reputation: 2537Reputation: 2537Reputation: 2537Reputation: 2537Reputation: 2537Reputation: 2537Reputation: 2537Reputation: 2537Reputation: 2537Reputation: 2537
Google 'update pci.ids' or update usb.ids'. It's a simple download; there's often scripts, or it's updated by the repo.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Elkhart Lake SBC features 2.5GbE port, 32GB RAM LXer Syndicated Linux News 0 09-29-2020 07:30 AM
LXer: Odroid-H2+ advances to faster Gemini Lake SoC, adds dual 2.5GbE ports LXer Syndicated Linux News 0 06-19-2020 11:24 AM
LXer: Linux-driven networking SBC offers GbE, 2.5GbE, and WiFi 6 LXer Syndicated Linux News 0 05-14-2020 10:20 AM
LXer: Five-bay, open source NAS features RK3399, UPS, and 2.5GbE LXer Syndicated Linux News 0 01-03-2020 05:00 PM
LXer: Supporting The Latest and Greatest; Supporting the Oldest and Slowest LXer Syndicated Linux News 0 01-27-2008 12:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration