[SOLVED] Missing enp0s25 device (cable modem) after installing LAN card
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
Missing enp0s25 device (cable modem) after installing LAN card
Recently I ordered a new Motorola MB8611 cable modem, to replace an older, slower NetGear modem (the NG modem is limited to about 650mb/s, while the MB8611 supports up to 2.5gb/s).
In order to get the most of out it, today I installed a 10GTek 2.5GbE card with the RealTek 8125 chipset, since my onboard LAN on my older MSI X470 board is limited to 1GB/s - and my internet plan is set to 1.2GB/s, so I wanted the card to take advantage of its full speed, with the new Motorola modem. I tried installing the RealTek drivers for this card, but couldn't get it to work. So for the time being I tried plugging my modem back into the onboard LAN port.
After I installed those drivers, things seem to have went awry, and now the modem (enp0s25) can't be found, and it won't show up in my network manager on KDE, unlike before. I was successfully running it for a few days here on that onboard LAN port, though. Somehow, it disappeared and I don't know what to do to find it or re-enable it. Running 'sudo lshw -c network' shows that it is missing:
(base) base@ryzen7-2700x:~$ sudo ethtool enp0s25
netlink error: no device matches name (offset 24)
netlink error: No such device
netlink error: no device matches name (offset 24)
netlink error: No such device
netlink error: no device matches name (offset 24)
netlink error: No such device
netlink error: no device matches name (offset 24)
netlink error: No such device
netlink error: no device matches name (offset 24)
netlink error: No such device
No data available
I'm running Kubuntu 22.10, on an older Ryzen 7 2700x. This is the first time I've run into this problem of not being able to find the cable modem device. It just appears to be gone, and I'm not sure how to find it. Fortunately, I dual-boot with Windows 10, and there's obviously no issues with the physical LAN port itself since I'm using Windows now to make this post, without any connection issues.
Any ideas on why enp0s25 might disappear like that? For that matter, I need to know how to the RTL8125 card working properly, although for now I took it out of my PC thinking it might have been the issue, but it made no difference.
After I uninstalled my RealTek LAN card, though, I deleted the driver files without thinking - and I'm pretty sure I deleted the ones for my onboard LAN as well. My motherboard is the MSI X470 Gaming Plus, which uses the RT 8111H gigabit LAN chipset.
I'm pretty sure that is the correct driver and I also tried loading it with modprobe ('sudo modprobe realtek'). It didn't work, even after resetting my system.
You didn't post the complete output as requested. All you appear to have posted here is the entry pertaining to the NIC already enumerated by the lshw command in your first post.
You didn't post the complete output as requested. All you appear to have posted here is the entry pertaining to the NIC already enumerated by the lshw command in your first post.
Yeah, sorry, I didn't think anything else in the output was important, and it was pretty long - this is the complete output, though.
Code:
base@ryzen7-2700x:~$ lspci -nnk
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex [1022:1450]
Subsystem: Micro-Star International Co., Ltd. [MSI] Family 17h (Models 00h-0fh) Root Complex [1462:7b79]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit [1022:1451]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit [1022:1451]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452]
00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453]
Kernel driver in use: pcieport
00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453]
Kernel driver in use: pcieport
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452]
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452]
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453]
Kernel driver in use: pcieport
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452]
00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452]
00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B [1022:1454]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B [1022:1454]
Kernel driver in use: pcieport
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B [1022:1454]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B [1022:1454]
Kernel driver in use: pcieport
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 59)
Subsystem: Micro-Star International Co., Ltd. [MSI] FCH SMBus Controller [1462:7b79]
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
Subsystem: Micro-Star International Co., Ltd. [MSI] FCH LPC Bridge [1462:7b79]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0 [1022:1460]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1 [1022:1461]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2 [1022:1462]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3 [1022:1463]
Kernel driver in use: k10temp
Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4 [1022:1464]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5 [1022:1465]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6 [1022:1466]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7 [1022:1467]
01:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 [144d:a808]
Subsystem: Samsung Electronics Co Ltd SSD 970 EVO Plus 1TB [144d:a801]
Kernel driver in use: nvme
Kernel modules: nvme
03:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43d0] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:1142]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
03:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller [1022:43c8] (rev 01)
Subsystem: ASMedia Technology Inc. 400 Series Chipset SATA Controller [1b21:1062]
Kernel driver in use: ahci
Kernel modules: ahci
03:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Bridge [1022:43c6] (rev 01)
Subsystem: ASMedia Technology Inc. 400 Series Chipset PCIe Bridge [1b21:0201]
Kernel driver in use: pcieport
20:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01)
Subsystem: ASMedia Technology Inc. 400 Series Chipset PCIe Port [1b21:3306]
Kernel driver in use: pcieport
20:01.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01)
Subsystem: ASMedia Technology Inc. 400 Series Chipset PCIe Port [1b21:3306]
Kernel driver in use: pcieport
20:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01)
Subsystem: ASMedia Technology Inc. 400 Series Chipset PCIe Port [1b21:3306]
Kernel driver in use: pcieport
20:03.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01)
Subsystem: ASMedia Technology Inc. 400 Series Chipset PCIe Port [1b21:3306]
Kernel driver in use: pcieport
20:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01)
Subsystem: ASMedia Technology Inc. 400 Series Chipset PCIe Port [1b21:3306]
Kernel driver in use: pcieport
20:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01)
Subsystem: ASMedia Technology Inc. 400 Series Chipset PCIe Port [1b21:3306]
Kernel driver in use: pcieport
22:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1462:7b79]
24:00.0 PCI bridge [0604]: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge [1b21:1080] (rev 03)
25:04.0 Multimedia audio controller [0401]: C-Media Electronics Inc CMI8788 [Oxygen HD Audio] [13f6:8788]
Subsystem: ASUSTeK Computer Inc. CMI8786 (Xonar DGX) [1043:8521]
Kernel driver in use: snd_oxygen
Kernel modules: snd_oxygen
26:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller 980 [144d:a809]
Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller 980 [144d:a801]
Kernel driver in use: nvme
Kernel modules: nvme
27:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:1242]
Subsystem: Micro-Star International Co., Ltd. [MSI] ASM1142 USB 3.1 Host Controller [1462:7b79]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
28:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] [10de:1b06] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] GP102 [GeForce GTX 1080 Ti] [1462:360a]
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
28:00.1 Audio device [0403]: NVIDIA Corporation GP102 HDMI Audio Controller [10de:10ef] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] GP102 HDMI Audio Controller [1462:360a]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
29:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function [1022:145a]
Subsystem: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function [1022:145a]
29:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor [1022:1456]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor [1022:1456]
Kernel driver in use: ccp
Kernel modules: ccp
29:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 Host controller [1022:145f]
Subsystem: Micro-Star International Co., Ltd. [MSI] Zeppelin USB 3.0 Host controller [1462:7b79]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
2a:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function [1022:1455]
Subsystem: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function [1022:1455]
2a:00.2 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
Subsystem: Micro-Star International Co., Ltd. [MSI] FCH SATA Controller [AHCI mode] [1462:7b79]
Kernel driver in use: ahci
Kernel modules: ahci
2a:00.3 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller [1022:1457]
Subsystem: Micro-Star International Co., Ltd. [MSI] Family 17h (Models 00h-0fh) HD Audio Controller [1462:cb79]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
I expected to see the "10GTek 2.5GbE card" you say was installed. It should appear in the output, regardless of whether it is supported by any kernel driver or not. Did you remove it?
I expected to see the "10GTek 2.5GbE card" you say was installed. It should appear in the output, regardless of whether it is supported by any kernel driver or not. Did you remove it?
Yes, I removed it, for now. I was just trying to get my onboard LAN port (the RTL8111H one) working again, after that. As I said, I think I deleted the drivers earlier, but I can't seem to get the newly re-installed drivers for the 8111H to work.
Yes, I removed it, for now. I was just trying to get my onboard LAN port (the RTL8111H one) working again, after that. As I said, I think I deleted the drivers earlier, but I can't seem to get the newly re-installed drivers for the 8111H to work.
Ok, so you'd now just like to get the onboard NIC working again?
Ok, so you'd now just like to get the onboard NIC working again?
Yeah, I'm sorry about that - my post was originally about getting the onboard NIC working, or at least I wanted to do that first, until I can find out why the 10GTek 2.5GbE card isn't working. I suppose there was a misunderstanding in the original post, or at least I wasn't being clear enough. Basically, after I couldn't get the 10GTek card to work, I uninstalled it, and switched my modem back to the onboard LAN port, and then I couldn't get *that* to work, either.
But if I can get the card to work, then I suppose it's moot, although I'd have re-install it here, first. I think they both use the same drivers, from what I've found.
I still can't get it to work, even after installing the driver. I already have that 8125 driver installed, as well. I just don't know how to get Linux to recognize it.
I was referring to your onboard NIC. Let's stay with getting that going for the moment. The r8169 driver is included as part of the kernel. You'd just need to check whether it got blacklisted during the addition of the other driver(s). Check /etc/modproobe.d/ directory for any files containing blackist entries involving r8169.
I was referring to your onboard NIC. Let's stay with getting that going for the moment. The r8169 driver is included as part of the kernel. You'd just need to check whether it got blacklisted during the addition of the other driver(s). Check /etc/modproobe.d/ directory for any files containing blackist entries involving r8169.
You could check using something like
Code:
grep "r8169" /etc/modprobe.d/*
Ah, ok. Will here. I'll post the results in a few minutes, I'll have to reboot.
Edit: Running the above command on /etc/modprobe.d/* returned no results. It's not apparently blacklisted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.