我有一台装有 ubuntu 18.10 的 Dell vostro 3558 笔记本电脑。使用 Wifi 时我没有遇到任何问题。但是当我使用以太网 LAN 上网时,它会在 10-15 分钟后断开连接,并在 2-3 分钟后再次自动重新连接。我以前使用 Windows 10 时没有遇到过这个问题。
问题可能是什么?如何解决?
如何检查硬件是否正常?
description: Wireless interface
product: Wireless 3160
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:06:00.0
logical name: wlp6s0
version: 83
serial: 18:3d:a2:f8:70:28
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.18.0-17-generic firmware=17.948900127.0 latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:52 memory:f7100000-f7101fff
*-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:07:00.0
logical name: enp7s0
version: 0c
serial: 84:7b:eb:01:9f:c5
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.046.00-NAPI duplex=full ip=10.10.0.195 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:43 ioport:e000(size=256) memory:f7000000-f7000fff memory:f0000000-f0003fff
和
/var/log/syslog:Apr 11 08:21:15 ****-Vostro-3558 kernel: [ 1.672716] r8168 0000:07:00.0 enp7s0: renamed from eth0 /var/log/syslog.1:Apr 10 21:04:41 ****-Vostro-3558 kernel: [ 1.653284] r8168 0000:07:00.0 enp7s0: renamed from eth0
oem-touchpad-alps-synaptics, 0.1: added
r8168, 8.046.00, 4.18.0-17-generic, x86_64: installed
grep -i enp7s0 /var/log/syslog* 输出: https://paste.ubuntu.com/p/wDbQ888K36/
我的宿舍有大学提供的LAN端口。
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
send host-name = gethostname();
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers,
netbios-name-servers, netbios-scope, interface-mtu,
rfc3442-classless-static-routes, ntp-servers;
timeout 300;