Ubuntu 20.04 中以太网经常断开连接

Ubuntu 20.04 中以太网经常断开连接

我最近在联想 Thinkpad X201 上全新安装了 Ubuntu 20.04。我遇到了一个奇怪的问题:Wifi 工作正常。通过 USB 的移动互联网共享工作正常。但是,当我通过以太网电缆连接时,互联网最初会连接。我可以浏览网站。然而,10 秒到 1 分钟后,网络显示已连接但无法浏览网站。如果我重新插入以太网电缆,它会再次工作 10 秒。如果我从设置中关闭并打开以太网连接,它会再次正常工作 10 秒到 1 分钟,然后再次出现同样的情况。

/etc/resolv.conf

  GNU nano 4.8                    /etc/resolv.conf                              
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0 trust-ad

01-网络管理器-全部.yaml

GNU nano 4.8              01-network-manager-all.yaml                         

sudo lshw -c 网络

  *-network                 
       description: Ethernet interface
       product: 82577LM Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: enp0s25
       version: 06
       serial: f0:de:f1:3f:55:d8
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.12-1 ip=172.16.11.245 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:31 memory:f2500000-f251ffff memory:f2525000-f2525fff ioport:1820(size=32)
  *-network DISABLED
       description: Wireless interface
       product: RTL8191SEvB Wireless LAN Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlp2s0
       version: 10
       serial: 5c:ac:4c:bd:f2:3f
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8192se driverversion=5.8.0-43-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:16 ioport:3000(size=256) memory:f2400000-f2403fff

** 请查找输出sudo journalctl -b 0 -u NetworkManager 这里

** ping 9.9.9.9**。

PING 9.9.9.9 (9.9.9.9) 56(84) bytes of data.
^C 
--- 9.9.9.9 ping statistics ---
42 packets transmitted, 0 received, 100% packet loss, time 41962ms

** uname -a **

Linux abhishek 5.8.0-63-generic #71~20.04.1-Ubuntu SMP Thu Jul 15 17:46:08 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

cat /sys/class/net/enp0s25/device/power/control

on

相关内容