0

I just built a new computer coming from windows and installed Ubuntu 20.04.01, and I cannot connect to the internet. I tried an ethernet cable that previously worked on windows but the network manager cant seem to find it. I have been looking for an answer for hours and I cant find it. I have tried: sudo touch /usr/lin/NetworkManager/conf.d/10-globally-managed-devices.conf

then restart NetworkManager, but its the same result. When I go to settings then network, the only options are to set up a VPN, I do not see Wired or Wireless options. I have also updated /etc/network/interfaces so it looks like this

auto lo
iface lo inet loopback
auto eth0
iface etho0 inet dhcp
auto eth1
iface eth1 inet dhcp

For the command sudo lshw -C network this shows up

*-network UNCLAIMED
 description: Ethernet controller
 product: RTL8125 2.5GbE controller
 vendor: Realtek Semiconductor Co., Ltd.
 physical id: 0
 bus info: pci@0000:03:00.0
 version: 04
 width: 64 bits
 clock: 33MHz
 capabilities: pm msi pciexpress msix vpd cap_list
 configuration: latency = 0
 resources: ioport:3000(size=256) memory:b3300000-b330ffff memory:b3310000-b3313fff

I even bought a wifi adapter, but still, once I plug it in it doesn't seem like linux finds it and then uses it. Any suggestions? Do i need to install drivers onto a usb then to my new computer? I just want to use the internet.

scarp
  • 41
  • 1
  • 3
  • @user535733 I unpacked the tarball I installed. Changed directory to `r8125-9.004.01` and then ran `sudo ./autorun.sh` and it outputted `Check old driver and unload it. Build the module and install ./autorun.sh: 31: make: not found` Any suggestions from here? – scarp Nov 17 '20 at 22:11
  • When checking to see if there are any current drivers, I use the command `dmesh | grep eth` and nothing returned. I also used the command `lsmod | grep 8125` and nothing returned. – scarp Nov 17 '20 at 22:15
  • `make: not found` means that you did not install the `build-essential` package. hard to do without internet, But essential (like the name says). – user535733 Nov 17 '20 at 22:29
  • So, I have downloaded a debian package development tools onto a USB and plugged into my linux computer. When try to open it with software install, it gets stuck at Pending Installation. I have tried to troubleshoot this, but all the suggestions online require internet to fix this problem. Would all of this be fixed by trying to reinstall Ubunto or getting a different distribution that has built in ethernet drivers? Im at a standstill at this point. Ive been trying to do a simple task of getting internet for almost two days. Any suggestions? @user535733 – scarp Nov 17 '20 at 22:52
  • The fundamental problem is your choice of spanking-new hardware: The RTL8125 driver was added to the kernel in July 2020; too late for 20.04 or 20.10. So it's in kernel 5.9, which was released two weeks ago, and which distros are still digesting. Ubuntu likely will skip 5.9 and 5.10, and focus on 5.11 for Ubuntu 21.04. So reinstalling won't help -- it's simply not there yet. You have several options: 1) Wait. 2) Obtain a cheap USB-to-Ethernet dongle. 3) Obtain a stable old Wi-Fi dongle (lots of those work...but not all) 4) Keep pecking away at compiling your own driver. – user535733 Nov 17 '20 at 23:29
  • Buying a USB to Ethernet dongle worked perfectly! Thank you!!! – scarp Nov 18 '20 at 01:49

0 Answers0