Bringing up interface eth0: Device eth0 does not seem to be presen
上一篇 / 下一篇 2013-05-17 21:34:25 / 个人分类:虚拟机
:hL jcd(kd0d0ifconfig...没有看到eth0.。然后重启网卡又报下面错误。51Testing软件测试网`,t'B%{c:bdr,UB
51Testing软件测试网t[#CaP故障现象:51Testing软件测试网$ZFQ}+m%w%~8h!?
NL8\7U+T1]0service network restart
_#D2[R_`&bC_&u#g0Shutting down loopback insterface:
[ OK ]51Testing软件测试网@j;qRXj0G_!j
Bringing up loopback insterface:
[ OK ]51Testing软件测试网3G'm%h\~T3_Ym
Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]51Testing软件测试网L5sq'W'a1_au}#r
#w!j8e9_S1bV0
0qiz1P fKA z8x051Testing软件测试网/o
g$O?Ma)O@
m
解决办法:51Testing软件测试网EQ Z$u)DC ~P
uE&kQs5Z^0Q@0首先,打开/etc/udev/rules.d/70-persistent-net.rules内容如下面例子所示:
)@ha7O^ hiB(UZ0-i3cZ}8Lc
W0# vi /etc/udev/rules.d/70-persistent-net.rules51Testing软件测试网UZQ1E{b%B"{
# This file was automatically generated by the /lib/udev/write_net_rules51Testing软件测试网 Wa
Ct5^8a
# program, run by the persistent-net-generator.rules rules file.51Testing软件测试网p'nMj
Q2rO
#
(i"z.\Q~!Y/R0# You can modify it, as long as you keep each rule on a single
9D0g6nCr F
gF0# line, and change only the value of the NAME= key.
aC~8{3e_0# PCI device 0x1022:0x2000 (pcnet32)
9N"?"Yv5_1j0SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:8f:89:951Testing软件测试网_TxKO_v
7", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
}2u(f2A ^*K2v&Ot0# PCI device 0x1022:0x2000 (pcnet32)
/~-K%Dv8~'F0SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:50:bd:151Testing软件测试网&q%f;]~~lS
7", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
3kVlYT_6X2?$E8T0记录下,eth1网卡的mac地址00:0c:29:50:bd:17