首页 > 其他 > 详细

解决debian下开机慢(DHCPDISCOVER on eth0)

时间:2014-03-18 16:55:55      阅读:481      评论:0      收藏:0      [点我收藏+]

linux开机本来非常快的,可是不知道什么原因,突然变慢了,通过开机的观察,发现了这段

Listining on LPF/eth0/00:1c:33:33:a7:c0
Sending on LPF/eth0/00:1c:33:33:a7:c0
Sending on Sachet/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 internal 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 internal 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 internal 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 internal 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 internal 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 internal 18
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 internal 1
NO DHCPOFFERS recieved
No working leases in persistant databases - sleepeng 

大概会持续30s的样子


google了一下,找到了一种解决方法,

首先

vi /etc/network/interfaces

如下

# 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 eth0
iface eth0 inet 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

好,现在重新开机,是不是速度非常快了啊,

我的直接加快了30s啊 30s!!!!!!!!!!!!!!

(说明:如果你是在wifi或校园网下上网,那么非常建议你这样改,ASDL下没实验)

               

解决debian下开机慢(DHCPDISCOVER on eth0),布布扣,bubuko.com

解决debian下开机慢(DHCPDISCOVER on eth0)

原文:http://blog.csdn.net/pyufftj/article/details/21462525

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!