休眠后无法连接到有线以太网

休眠后无法连接到有线以太网

当我在家时,我在笔记本电脑上使用有线连接,效果很好。然后我将其置于休眠状态sudo pm-hibernate,并在工作时再次启动它。如果不重新启动机器,我将无法连接到互联网。

我努力了:

 ifconfig eth0 down
 ifconfig eth0 up

但这没有帮助。还:

 dhclient eth0

这花了很长时间运行,完成后仍然没有成功。发现这个/var/log/syslog

Jul 15 08:22:38 frank dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 (xid=0x4183b95d)
Jul 15 08:22:45 frank dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 (xid=0x4183b95d)
Jul 15 08:22:53 frank dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 (xid=0x4183b95d)
Jul 15 08:23:03 frank dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15 (xid=0x4183b95d)
Jul 15 08:23:18 frank dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 (xid=0x4183b95d)
Jul 15 08:23:29 frank dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16 (xid=0x4183b95d)
Jul 15 08:25:33 frank avahi-autoipd(eth0)[5647]: Callout STOP, address 167.198.2.6 on interface eth0
Jul 15 08:25:33 frank avahi-autoipd(eth0)[5648]: client: RTNETLINK answers: No such process
Jul 15 08:25:33 frank avahi-autoipd(eth0)[5648]: client: RTNETLINK answers: Cannot assign requested address
Jul 15 08:25:33 frank avahi-autoipd(eth0)[5648]: Script execution failed with return value 2
Jul 15 08:26:59 frank NetworkManager[949]: <info> (eth0): IP6 addrconf timed out or failed.
Jul 15 08:26:59 frank NetworkManager[949]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Jul 15 08:26:59 frank NetworkManager[949]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) started...
Jul 15 08:26:59 frank NetworkManager[949]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) complete.

当我在工作中将笔记本电脑置于休眠状态并在家里再次启动时,会发生完全相同的情况。有人知道为什么我必须在休眠后重新启动才能使有线连接正常工作吗?

我正在使用Mint 17最新的更新。

答案1

正如所回答的这里根本原因之一是 NetworkManager 配置错误。重新安装 NetworkManager 可能会有所帮助。

另请注意,重新安装期间可能会失去连接。

另一种选择是替换NetworkManagerwicd.

相关内容