1

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.

Kashif
  • 489
  • 3
  • 10
  • 20
  • 1
    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. – user68186 Jul 27 '21 at 16:16
  • Please edit your question to show the result of the terminal command: `sudo modprobe r8169` – chili555 Jul 27 '21 at 16:34
  • modprobe r8169 didn’t find anything. – Kashif Jul 27 '21 at 16:43
  • 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. – chili555 Jul 27 '21 at 17:12
  • Still shows as unclaimed. – Kashif Jul 27 '21 at 19:33
  • Ah, haa! Now may we see: `sudo dpkg -s linux-modules-extra-$(uname -r) | grep Status` – chili555 Jul 27 '21 at 20:43
  • 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. – Kashif Jul 27 '21 at 21:06
  • Why did I need linux-modules-extra for this to work? – Kashif Jul 27 '21 at 21:13
  • It is required and was probably not installed properly. It provides ethernet and wireless drivers, among many others. – chili555 Jul 27 '21 at 22:14

0 Answers0