D-Link Network card not detected

Issues related to hardware problems
Post Reply
dhrubar
Posts: 2
Joined: 2021/10/23 05:19:05

D-Link Network card not detected

Post by dhrubar » 2021/10/23 05:34:46

I have 2 Ethernet Cards in my machine. I want to use them - 1st for Internet access and 2nd for local network access. I am able to find find the Ethernet Card # 1 and could easily configure Internet on it. But I am not finding the 2nd ethernet card. The output from lspci -nn showing

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL0111/8168/8411 PCI Express Gigabit Etherenet Controller [10ec:8168] (rev 02)
03:00.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6105/VT6106S {Rhine-III] [1106:3106] (rev 8b)

But my ip a output is

1: lo:
2: enp2s0:

I have configured the internet on the enp2s0. But it is not showing the 2nd Ethernet card.

Please help to configure the same. I am new to Centos.

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: D-Link Network card not detected

Post by TrevorH » 2021/10/23 13:09:56

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL0111/8168/8411 PCI Express Gigabit Etherenet Controller [10ec:8168] (rev 02)
This one is enp2s0 (PCIe slot 2, subfunction 0 02:00.0)
03:00.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6105/VT6106S {Rhine-III] [1106:3106] (rev 8b)
This is the one that is missing. There is no driver in CentOS 8 for this card because it's about 100 years old. There's no support for it in the CentOS 7 kernel either, though on CentOS 7 you can use ELRepo and their kmod-via-rhine.x86_64 package to add support. ELRepo do not support CentOS Stream so you will not get a driver package from them that will continue to work after the end of this year when CentOS 8 goes EOL. You did know about the EOL date? If you're using CentOS 8 you might want to reinstall using Alma or Rocky or Oracle's OEL or even RHEL 8 since CentOS 8 dies in about 3 months time. If you run something that is a clone of RHEL 8 then you could ask ELRepo if they could attempt to build kmod-via-rhine for el8. If you use Stream 8 then they cannot.

I did just google around a bit and as best I can tell, that is a 10/100M ethernet card that dates back to about 2002. It's nearly 20 years old.

I'd suggest picking up a replacement 1Gbps card from somewhere and using that. Obviously pick one that is supported but I see they start at about £10 on Ebay, brnad new.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

dhrubar
Posts: 2
Joined: 2021/10/23 05:19:05

Re: D-Link Network card not detected

Post by dhrubar » 2021/10/25 10:05:21

Thank you. I too had the same thought about the network card. But I did not have the idea of Centos 8 EOL.

Post Reply