Linux Networking: device eth0 does not seem to be present, delaying initialization.

来源:互联网 发布:word加密软件 编辑:程序博客网 时间:2024/06/05 13:21

【Problem】

当使用ifup eth0时,出现如下的错误:

【Solution】

在/etc/sysconfig/network-script/ifcfg-eth0里,修改HDADDR的地址就可以了。 


【Problem】

使用service network restart 命令的时候, 

出现Linux Networking: device eth0 does not seem to be present, delaying initialization.

的错误,


【Solution】

cd /sys/class/net
ll

ip link set dev eth1 name eth0


然后再重启就可以了


原创粉丝点击