我有一个ubuntu14.10服务器,它需要很长时间才能启动,当它启动的时候,它没有使用网络(它给了我很长的启动延迟)。dmesg | tail给
[ 225.013622] init: networking pre-start process (1401) terminated with status 1
[ 225.015451] init: networking post-stop process (1405) terminated with status 100
[ 228.512454] init: networking pre-start process (1415) terminated with status 1
[ 228.514132] init: networking post-stop process (1419) terminated with status 100谷歌一下,这个问题似乎与文件/etc/网络/接口有关,以下是文件的内容:(em1是唯一以太网接口的名称)
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto em1
iface em1 inet DHCP
# This is an autoconfigured IPv6 interface我必须连接显示器和键盘,输入ifconfig em1; dhclient em1才能正常工作。太不方便了。有什么想法吗?谢谢。
发布于 2015-05-17 21:48:41
我认为你应该将"DHCP“改为"dhcp”:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto em1
iface em1 inet dhcp
# This is an autoconfigured IPv6 interface并重新启动网络:
sudo /etc/init.d/networking restarthttps://askubuntu.com/questions/625026
复制相似问题