网络过一会儿就断线了

网络过一会儿就断线了

我在 16.04.3 上遇到了有线连接的一个奇怪问题。它似乎与此处发现的类似问题不同。

当我启动我的 ubuntu 服务器时,它运行良好,但过了一会儿它就断开了网络,我只能重新启动它。我工作得越多,例如传输大文件,它停止工作的速度就越快。通常几分钟。

我唯一的提示是:互联网首先停止。我的意思是:从 Linux 机器,如果我 ping 类似 www.google.com 的东西,一开始它可以工作。几分钟后它就无法解析名称了。

这里有一些数据:

 root@Tortuga:/var/log# ifconfig enp37s0   Link encap:Ethernet  HWaddr
 88:d7:f6:7d:c9:90
           inet addr:192.168.1.42  Bcast:192.168.1.255  Mask:255.255.255.0
           inet6 addr: fe80::8ad7:f6ff:fe7d:c990/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:2133 errors:0 dropped:6 overruns:0 frame:0
           TX packets:1914 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:174207 (174.2 KB)  TX bytes:719226 (719.2 KB)

接口:

root@Tortuga:/etc/network# cat interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

auto enp37s0
iface enp37s0 inet static
address 192.168.1.42
gateway 192.168.1.1
netmask 255.255.255.0
dns-nameservers 8.8.4.4 208.67.222.222

Linux 版本:

root@Tortuga:/var/log# cat /etc/debian_version
stretch/sid

我该如何解决此问题?我可以在 syslog 中(或在哪里)搜索什么?

===== 编辑 ===== 仍然面临问题,现在我遇到了以下错误:

12 月 3 日 20:27:32 Tortuga 内核:[2037.734502] AMD-Vi:已记录事件 [IO_PAGE_FAULT 设备=25:00.0 域=0x0001 地址=0x0000000006380000 标志=0x0050] 12 月 3 日 20:27:48 Tortuga 内核:[2053.145060] r8169 0000:25:00.0 enp37s0:链接已启动 12 月 3 日 20:28:00 Tortuga 内核:[2065.568824] AMD-Vi:已记录事件 [IO_PAGE_FAULT 设备=25:00.0 域=0x0001 地址=0x0000000006380000 标志=0x0050] 12 月 3 日20:29:18 Tortuga 内核:[2143.146459] r8169 0000:25:00.0 enp37s0:链接成功

相关内容