[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.
for comprehensive network device and interface status output.
These are the results of those two commands. I did have inxi installed.
Code:
(base) base@ryzen7-2700x:~$ lspci -nnk | grep -iA3 net
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]
(base) base@ryzen7-2700x:~$ inxi -nia
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: N/A pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: e000 bus-ID: 22:00.0 chip-ID: 10ec:8168 class-ID: 0200
Device-2: Qualcomm Atheros AR9271 802.11n type: USB driver: ath9k_htc
bus-ID: 5-1:2 chip-ID: 0cf3:9271 class-ID: ff00 serial: 12345
IF: wlxa854b242897d state: down mac: a8:54:b2:42:89:7d
IF-ID-1: docker0 state: down mac: 02:42:1e:6e:9d:db
IP v4: 172.17.0.1/16 scope: global broadcast: 172.17.255.255
WAN IP: No WAN IP found. Connected to web? SSL issues?
(base) base@ryzen7-2700x:~$
Note that I have my LAN card installed, but I figured the onboard NIC ought to still show up. I'm not sure if Device-1 listed in the inxi output is that card or not, though, but I think it might be.
Ok, definitely no driver loaded. What happens if you load the driver manually with
Code:
sudo modprobe r8169
You could run the lspci or inxi command again to check status.
Quote:
Code:
(base) base@ryzen7-2700x:~$ inxi -nia
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: N/A pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: e000 bus-ID: 22:00.0 chip-ID: 10ec:8168 class-ID: 0200
Device-2: Qualcomm Atheros AR9271 802.11n type: USB driver: ath9k_htc
bus-ID: 5-1:2 chip-ID: 0cf3:9271 class-ID: ff00 serial: 12345
IF: wlxa854b242897d state: down mac: a8:54:b2:42:89:7d
IF-ID-1: docker0 state: down mac: 02:42:1e:6e:9d:db
IP v4: 172.17.0.1/16 scope: global broadcast: 172.17.255.255
WAN IP: No WAN IP found. Connected to web? SSL issues?
(base) base@ryzen7-2700x:~$
Note that I have my LAN card installed, but I figured the onboard NIC ought to still show up. I'm not sure if Device-1 listed in the inxi output is that card or not, though, but I think it might be.
It appears to be the MSI oboard NIC with the ' 10ec:8168' chipset. This chipset is included in the output of the 'modinfo r8169' command, and would suggest that it is supported by that driver. However the internet is littered by accounts of those that have found the r8168 driver is required for some hardware using this chipset. In that case, your distro should offer a suitable 'r8168-dkms' package to provide support for it.
Ok, definitely no driver loaded. What happens if you load the driver manually with
Code:
sudo modprobe r8169
You could run the lspci or inxi command again to check status.
It appears to be the MSI oboard NIC with the ' 10ec:8168' chipset. This chipset is included in the output of the 'modinfo r8169' command, and would suggest that it is supported by that driver. However the internet is littered by accounts of those that have found the r8168 driver is required for some hardware using this chipset. In that case, your distro should offer a suitable 'r8168-dkms' package to provide support for it.
Yeah, but I can't even find the r8169 module. It's not there anymore -
Code:
(base) base@ryzen7-2700x:~$ sudo modprobe r8169
[sudo] password for base:
modprobe: FATAL: Module r8169 not found in directory /lib/modules/5.19.0-31-generic
(base) base@ryzen7-2700x:~$ modinfo r8169
modinfo: ERROR: Module r8169 not found.
Ok, glad to have been of help. I recommend starting a new thread specifically for the new card when you get to that stage.
I appreciate it. And yes, I am having some issues getting it to work (it doesn't seem to show up), but at least I have my onboard LAN working correctly.
I will start a new thread shortly, as this onboard NIC issue is resolved.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.