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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
12-09-2020, 03:15 PM
|
#1
|
LQ Newbie
Registered: Dec 2020
Location: Bensheim, Germany
Distribution: debian
Posts: 5
Rep:
|
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
|
|
|
12-09-2020, 08:46 PM
|
#2
|
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316
|
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.
|
|
|
12-09-2020, 08:57 PM
|
#3
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Quote:
Originally Posted by rhartwig
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
|
|
|
12-10-2020, 09:28 AM
|
#4
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,275
|
|
|
|
12-10-2020, 11:18 AM
|
#5
|
Senior Member
Registered: Mar 2020
Posts: 3,706
Rep:
|
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.
|
12-11-2020, 08:01 PM
|
#6
|
LQ Newbie
Registered: Dec 2020
Location: Bensheim, Germany
Distribution: debian
Posts: 5
Original Poster
Rep:
|
@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.
|
|
|
12-11-2020, 08:11 PM
|
#7
|
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316
|
My link seems to be broken. I found it by searching for realtek 8125 linux.
|
|
|
12-11-2020, 08:26 PM
|
#8
|
LQ Newbie
Registered: Dec 2020
Location: Bensheim, Germany
Distribution: debian
Posts: 5
Original Poster
Rep:
|
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 ?
|
|
|
12-11-2020, 10:15 PM
|
#9
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,707
|
Did your try the latest release of Manjaro as suggested by beachboy2?
|
|
|
12-11-2020, 10:23 PM
|
#10
|
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316
|
Quote:
Originally Posted by rhartwig
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.
|
|
|
12-12-2020, 02:01 AM
|
#11
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,275
|
rhartwig,
Is the Intel 6 AX201 wifi also not working?
|
|
|
12-12-2020, 08:00 PM
|
#12
|
LQ Newbie
Registered: Dec 2020
Location: Bensheim, Germany
Distribution: debian
Posts: 5
Original Poster
Rep:
|
beachboy2
no, wifi did not work too (debian)
using ubuntu it will works
|
|
|
12-15-2020, 03:19 PM
|
#13
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,204
|
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)
|
|
|
12-23-2020, 12:04 PM
|
#14
|
LQ Newbie
Registered: Dec 2020
Location: Bensheim, Germany
Distribution: debian
Posts: 5
Original Poster
Rep:
|
business_kid
can you explan / send me a link how to update the database
with special hints to my case?
thx
|
|
|
12-24-2020, 05:42 AM
|
#15
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,204
|
Google 'update pci.ids' or update usb.ids'. It's a simple download; there's often scripts, or it's updated by the repo.
|
|
|
All times are GMT -5. The time now is 10:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|