我对 Linux 真的很陌生,每天都在尝试多了解一点,并考虑参加一些课程来增加我的知识。
我一直在考虑永远放弃Windows并切换到Linux,几天前终于决定了。
最近我的互联网连接出现了一些问题,有时会出现几分钟的延迟峰值,然后逐渐减少,直到它消失并再次开始延迟。
起初我以为是我的以太网驱动程序有问题,所以我寻求帮助:
做过ifconfig
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.144 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::1e1b:dff:fee5:58c6 prefixlen 64 scopeid 0x20<link>
ether 1c:1b:0d:e5:58:c6 txqueuelen 1000 (Ethernet)
RX packets 4046 bytes 2256451 (2.2 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4081 bytes 566523 (566.5 KB)
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 839 bytes 88014 (88.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 839 bytes 88014 (88.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
和lshw -class 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:03:00.0
logical name: enp3s0
version: 0c
serial: 1c:1b:0d:e5:58:c6
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 duplex=full firmware=rtl8168g-2_0.0.1 02/06/13 ip=192.168.0.144 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:29 ioport:f000(size=256) memory:fcc00000-fcc00fff memory:f0300000-f0303fff
如您所见,驱动程序显示了过时的固件
问题是,我找不到合适的驱动程序,即使在 realtek 网站上也是如此。
我检查了lspci | egrep -i --color 'network|ethernet'
并显示03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
看到一个类似的帖子[互联网无法正常工作?] 但它似乎是一个不同的版本。Ubuntu 软件工具不显示其他更新。
感谢您的帮助,请记住我是 Linux 新手,将尽我所能遵循每一个给予的帮助。
回复@heynnema 免费:
total used free shared buff/cache available
Mem: 7,8Gi 2,3Gi 4,1Gi 128Mi 1,4Gi 5,1Gi
Swap: 2,0Gi 0B 2,0Gi
vm.swappiness = 60
battlejuice@littlefuckersobservatory:~$ ls -alh /boot
total 127M
drwxr-xr-x 4 root root 4,0K sep 29 17:13 .
drwxr-xr-x 20 root root 4,0K sep 29 16:53 ..
-rw-r--r-- 1 root root 233K jul 9 20:50 config-5.4.0-42-generic
-rw-r--r-- 1 root root 233K sep 10 07:12 config-5.4.0-48-generic
drwxrwxr-x 2 root root 4,0K sep 29 16:51 efi
drwxr-xr-x 4 root root 4,0K sep 29 17:12 grub
lrwxrwxrwx 1 root root 27 sep 29 17:12 initrd.img -> initrd.img-5.4.0-48-generic
-rw-r--r-- 1 root root 48M sep 29 17:11 initrd.img-5.4.0-42-generic
-rw-r--r-- 1 root root 48M sep 29 17:13 initrd.img-5.4.0-48-generic
lrwxrwxrwx 1 root root 27 sep 29 16:51 initrd.img.old -> initrd.img-5.4.0-42-generic
-rw-r--r-- 1 root root 179K ago 18 07:46 memtest86+.bin
-rw-r--r-- 1 root root 181K ago 18 07:46 memtest86+.elf
-rw-r--r-- 1 root root 181K ago 18 07:46 memtest86+_multiboot.bin
-rw------- 1 root root 4,6M jul 9 20:50 System.map-5.4.0-42-generic
-rw------- 1 root root 4,6M sep 10 07:12 System.map-5.4.0-48-generic
lrwxrwxrwx 1 root root 24 sep 29 17:12 vmlinuz -> vmlinuz-5.4.0-48-generic
-rw-r--r-- 1 root root 12M jul 31 10:43 vmlinuz-5.4.0-42-generic
-rw------- 1 root root 12M sep 10 07:36 vmlinuz-5.4.0-48-generic
lrwxrwxrwx 1 root root 24 sep 29 17:12 vmlinuz.old -> vmlinuz-5.4.0-42-generic