Score:1

Unable to connect via Ethernet

mn flag

I cannot get on the internet in Ubuntu when I connect via Ethernet.

In Windows it works just fine, so it’s an Ubuntu issue. I also get this when running lshw -c network.

enter image description here

How do I resolve this? Is this a driver issue with RTL8168?

When I run sudo modprobe r8169 I get modprobe: FATAL: Module r8169 not found in directory /lib/modules/5.11.0-25-generic

And when I try sudo dimes | grep r816 I see nothing.

ar flag
Please don't put pictures and screenshots of the terminal. Always copy the output of the terminal and paste it directly in your question, and then format the pasted output as `code` using the {_} icon above the [edit question](https://askubuntu.com/posts/1354403/edit) window. See [this question](https://askubuntu.com/questions/961175/copy-and-paste-doesnt-work-in-the-terminal) for how to copy the output from the terminal.
chili555 avatar
cn flag
Please edit your question to show the result of the terminal command: `sudo modprobe r8169`
mn flag
modprobe r8169 didn’t find anything.
chili555 avatar
cn flag
So now when you run: `sudo lshw -C network` is your ethernet still shown as UNCLAIMED? If not, does Network Manager offer to connect? Are there any clues in the log? `sudo dmesg | grep r816` Please edit your question to show the result.
mn flag
Still shows as unclaimed.
chili555 avatar
cn flag
Ah, haa! Now may we see: `sudo dpkg -s linux-modules-extra-$(uname -r) | grep Status`
mn flag
So I just installed r8168-dkms along with linux-modules-extra-$(uname -r) as well. Says there's an issue with virtualbox-dkms but I have ethernet back now.
mn flag
Why did I need linux-modules-extra for this to work?
chili555 avatar
cn flag
It is required and was probably not installed properly. It provides ethernet and wireless drivers, among many others.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.