Bringing up interface eth0: Device eth0 does not seem to be presen
故障現(xiàn)象:51Testing軟件測試網.M|{,lbr
51Testing軟件測試網l]9H/f[w)h
service network restart51Testing軟件測試網l^i2t?|5zT8J-s Shutting down loopback insterface:??????????????????????????????????????????????????????????????????? [? OK? ]51Testing軟件測試網,H)y[ SQk
Bringing up loopback insterface:????????????????????????????????????????????????????????????????????????????????????????????????????????? [? OK? ]51Testing軟件測試網p C9jK6l
Bringing up interface eth0:? Device eth0 does not seem to be present,delaying initialization.??????????????????? [FAILED]
解決辦法:51Testing軟件測試網'mu|xH W}\
$Vsp-M L#l5r0首先,打開/etc/udev/rules.d/70-persistent-net.rules內容如下面例子所示:51Testing軟件測試網,M,k{hD"y
l9b@"S1q0# vi /etc/udev/rules.d/70-persistent-net.rules51Testing軟件測試網5z2a3RbX3lE8p:r&J # This file was automatically generated by the /lib/udev/write_net_rules51Testing軟件測試網4a(fQ,YO3h&~r/O
# program, run by the persistent-net-generator.rules rules file.51Testing軟件測試網Zozrb#wu # _ m_td+ID"o0# You can modify it, as long as you keep each rule on a single51Testing軟件測試網n3kHu9E&d}^.Y
# line, and change only the value of the NAME= key. K$o(fN k5[0EX0# PCI device 0x1022:0x2000 (pcnet32) &f0wj3B"p*c0SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:8f:89:9 ]Xv@i_$w[07", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" ~8vnc4H0# PCI device 0x1022:0x2000 (pcnet32)51Testing軟件測試網&JxbZ/Q2rw SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:50:bd:1 {n7aY,@Z~2T6v07", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
!o6c4w/Mr;F9ey6?2y051Testing軟件測試網7}t*}4Zz.x"i Q
記錄下,eth1網卡的mac地址00:0c:29:50:bd:17
5l[9X~9h5t051Testing軟件測試網uNDRw
接下來,打開/etc/sysconfig/network-scripts/ifcfg-eth0
z[8}0c-m YA051Testing軟件測試網&q ^H_T(X-t N'Gf
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
7n|E;e]0]$h@S6PiY051Testing軟件測試網r!CnY)M;Ig&I[,G
將 DEVICE="eth0"? 改成? DEVICE="eth1"? ,51Testing軟件測試網fg d"V2MMtZ 將 HWADDR="00:0c:29:8f:89:97" 改成上面的mac地址? HWADDR="00:0c:29:50:bd:17"51Testing軟件測試網3rSaInm,z!~x
m0HM'`F,qf.FaR0最后,重啟網絡
Kj/d)DWQV)?0
'F2x6].X z;D# service network restart 9RY,p])w0
或者
QRlYm!hfM051Testing軟件測試網,N7^b(`+gGw t|K# /etc/init.d/network restart
轉載于:https://www.cnblogs.com/yingting/p/3425219.html
總結
以上是生活随笔為你收集整理的Bringing up interface eth0: Device eth0 does not seem to be presen的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ProceXP超级进程查看管理工具
- 下一篇: UEditor 百度富文本编辑器 .Ne