网络在初始启动时不启动,但在重新启动时启动

网络在初始启动时不启动,但在重新启动时启动

运行 Ubuntu 16.04。

最近,我的有线网络连接在初始启动时无法启动,但会在重新启动时启动。

似乎是与 eth0 与 enp4s0 命名相关的问题……

一周前开始发生。

从系统日志中的初始启动开始:

Dec 14 09:35:06 Ubuntu16 dhclient[3110]: can't create /var/lib/dhcp/dhclient.leases: Permission denied
Dec 14 09:35:06 Ubuntu16 : /etc/dhcp/dhclient-enter-hooks.d/avahi-autoipd returned non-zero exit status 1
Dec 14 09:35:06 Ubuntu16 dhclient[3110]: **Error getting hardware address for "eth0": No such device**
Dec 14 09:35:06 Ubuntu16 dhclient[3110]: 
Dec 14 09:35:06 Ubuntu16 dhclient[3110]: If you think you have received this message due to a bug rather
Dec 14 09:35:06 Ubuntu16 dhclient[3110]: than a configuration issue please read the section on submitting
Dec 14 09:35:06 Ubuntu16 dhclient[3110]: bugs on either our web page at www.isc.org or in the README file
Dec 14 09:35:06 Ubuntu16 dhclient[3110]: before submitting a bug.  These pages explain the proper
Dec 14 09:35:06 Ubuntu16 dhclient[3110]: process and the information we find helpful for debugging..
Dec 14 09:35:06 Ubuntu16 dhclient[3110]: 
Dec 14 09:35:06 Ubuntu16 dhclient[3110]: exiting.

从系统日志中的重启:

Dec 14 09:57:34 Ubuntu16 kernel: [    0.765525] alx 0000:04:00.0 eth0: Qualcomm Atheros AR816x/AR817x Ethernet [1c:1b:0d:32:c4:0b]
Dec 14 09:57:34 Ubuntu16 kernel: [    0.769209] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 6 ports 6 Gbps 0x3f impl SATA mode
Dec 14 09:57:34 Ubuntu16 kernel: [    0.769212] ahci 0000:00:17.0: flags: 64bit ncq sntf pm led clo only pio slum part ems deso sadm sds apst 
Dec 14 09:57:34 Ubuntu16 kernel: [    0.791858] alx 0000:04:00.0 **enp4s0: renamed from eth0**

答案1

回答我自己的问题,因为没有其他人有任何想法......

主板是技嘉H170-Gaming 3。升级BIOS似乎解决了这个问题。

答案2

来自 syslog 的一些附加信息:

初始开机和启动 - 无网络

12 月 19 日 08:05:39 内核:[0.766660] alx 0000:04:00.0:MAC 重置失败,错误 = -110

12 月 19 日 08:05:39 内核:[0.766717] alx:0000:04:00.0 探测失败,错误为 -110

重启-网络已启用OK

12 月 19 日 08:06:17 内核:[0.761250] alx 0000:04:00.0 eth0:Qualcomm Atheros AR816x/AR817x 以太网 [1c:1b:0d:32:c4:0b]

12 月 19 日 08:06:17 内核:[0.788661] alx 0000:04:00.0 enp4s0:从 eth0 重命名

相关内容