This morning I woke up and my pc wasn't using the nvidia driver, (usually this happens after a kernel update, I'm not sure whether the update actually happened).
Since the nvidia driver were already broke, I decided to run all the updates. I also tried to switch to nvidia drivers again, so I went into software & updates, additional drivers and selected the nvidia ones. After getting an error I decided to reboot anyway because the update required it.
After rebooting, my Ethernet connection wasn't working anymore. I tried to run the pc with the previous kernel, but the system doesn't boot up and shows:
rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100)
rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100)
...
some log that may be useful:
ifconfig
enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether b4:2e:99:a6:c0:98 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1953 bytes 147371 (147.3 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1953 bytes 147371 (147.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ```
sudo lshw -C network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:04:00.0
logical name: enp4s0
version: 0c
serial: b4:2e:99:a6:c0:98
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.8.0-55-generic duplex=full firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:33 ioport:f000(size=256) memory:f7500000-f7500fff memory:f2200000-f2203fff
Thank you and let me know if something else may be useful. I tried all the standard stuff like rebooting both pc and modem, deleting connection etc