LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-25-2023, 04:08 PM   #16
Crotalid
Member
 
Registered: Jan 2006
Location: Carmichael, California
Distribution: Kubuntu 19.04
Posts: 90

Original Poster
Rep: Reputation: 19

Quote:
Originally Posted by ferrari View Post
Ok, please show
Code:
lspci -nnk | grep -iA3 net
If you have inxi installed, you can also do
Code:
inxi -nia
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.
 
Old 02-25-2023, 04:24 PM   #17
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Quote:
Originally Posted by Crotalid View Post
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]
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.
 
Old 02-25-2023, 04:29 PM   #18
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
A similar thread, where a user required the r8168 Realtek driver...
https://askubuntu.com/questions/1327...ethernet-r8168
 
Old 02-25-2023, 04:43 PM   #19
Crotalid
Member
 
Registered: Jan 2006
Location: Carmichael, California
Distribution: Kubuntu 19.04
Posts: 90

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by ferrari View Post
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.
Should I just install the r8169-dkms package?
 
Old 02-25-2023, 04:53 PM   #20
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Quote:
Originally Posted by Crotalid View Post
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.
You probably need to reinstall the kernel package again. It's one of the many open source modules that should be present.

Quote:
Should I just install the r8169-dkms package?
Did you mean the 'r8168-dkms' package? Install it as per the last link.

Also mentioned here
https://realtechtalk.com/Ubuntu_Debi...-2253-articles

Let's see if that gets the onboard NIC working.
 
Old 02-25-2023, 05:18 PM   #21
Crotalid
Member
 
Registered: Jan 2006
Location: Carmichael, California
Distribution: Kubuntu 19.04
Posts: 90

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by ferrari View Post
You probably need to reinstall the kernel package again. It's one of the many open source modules that should be present.


Did you mean the 'r8168-dkms' package? Install it as per the last link.

Also mentioned here
https://realtechtalk.com/Ubuntu_Debi...-2253-articles

Let's see if that gets the onboard NIC working.
I installed the r8168-dkms package, and yes, it works - I'm back on Kubuntu for now. I'm going to reinstall those kernel packages.

Thanks for the help. I'll see what I can do about getting the LAN card to work, and post again with my results.
 
Old 02-25-2023, 05:20 PM   #22
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Quote:
Originally Posted by Crotalid View Post
I installed the r8168-dkms package, and yes, it works - I'm back on Kubuntu for now. I'm going to reinstall those kernel packages.

Thanks for the help. I'll see what I can do about getting the LAN card to work, and post again with my results.
Ok, glad to have been of help. I recommend starting a new thread specifically for the new card when you get to that stage.
 
Old 02-25-2023, 05:37 PM   #23
Crotalid
Member
 
Registered: Jan 2006
Location: Carmichael, California
Distribution: Kubuntu 19.04
Posts: 90

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by ferrari View Post
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.
 
  


Reply

Tags
connecting, driver, internet, modem



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
can a device that uses a LAN cable access the internet using my laptop? izquierdista Linux - Networking 2 10-15-2012 07:35 PM
Dial-In PPP dial-in server/ Cable-modem & LAN / Setting up "dannyboyOnline" dannyboy259 Linux - Networking 2 01-12-2007 12:40 AM
NIC w/ built-in hub -> cable modem + LAN ? TedMaul Linux - Networking 3 01-21-2004 10:16 AM
can't connect internet via cable modem after activating an ethernet card huseyin Linux - Networking 5 11-02-2003 07:33 AM
printer cable > modem cable? C++freak Linux - Hardware 1 06-21-2003 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:59 PM.

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