解决 Error:No suitable device found: no device found for connection "System eth0"
来源:互联网 发布:新手网络推广五大技巧 编辑:程序博客网 时间:2024/05/14 06:31
一.背景
我们安装好了一个虚拟机,我想做分布式集群,想模拟几台服务器,这时就想直接复制已经有的安装好的虚拟机,这样比较省事,不要在重复的安装虚拟机并配置JAVA环境,省掉做同样的事情,这时直接复制,这样之前配置的JAVA环境都有了。
二.问题
这时我复制好的虚拟机,启动登陆进去(用户名和密码跟之前那台是一样的),修改好IPADDR,然后网卡重启出现问题?
#service network restart
出现问题:Error:No suitable device found: no device found for connection "System eth0" 如图所示:
#ifup eth0
出现: eth0: unknown interface: No such device 这样的问题,网卡都启动不了,出现问题.
三.解决问题
第一步:我们在界面点击Network Adapter Remove删除网卡,如图所示:
第二步:然后添加一个新的网卡,就是点击add,这时跟前面一台的MAC Address 就不一样,如图所示:
第三步: 重新启动虚拟机,然后进入到/etc/udev/rules.d/目录
#cat 70-persistent-net.rules
里面的信息跟我们Network Adapter的MAC Address地址一样,如图所示:
第四步:进入/etc/sysconfig/network-scripts/目录
#vi ifcfg-eth0
把HWADDR修改成Network Adapter的MAC Address地址一样,如图所示:
第五步:重启网卡,这时就能正常启动,如图所示:
- 解决 Error:No suitable device found: no device found for connection "System eth0"
- 解决 Error:No suitable device found: no device found for connection "System eth0"
- 解决 Error:No suitable device found: no device found for connection "System eth0"
- 解决 Error:No suitable device found: no device found for connection "System eth0"
- 解决 Error:No suitable device found: no device found for connection "System eth0"
- 解决 Error:No suitable device found: no device found for connection "System eth0"
- edit ech0:解决 Error:No suitable device found: no device found for connection "System eth0"
- Error:No suitable device found: no device found for connection "System eth0"
- Error:No suitable device found: no device found for connection "System eth0"
- Error:No suitable device found: no device found for connection "System eth0"
- Error:No suitable device found: no device found for connection "System eth0"
- Error:No suitable device found: no device found for connection "System eth0"
- Error:No suitable device found: no device found for connection "System eth0"
- Error:No suitable device found: no device found for connection "System eth0"
- Error: No suitable device found: no device found for connection 'System eth0'
- Error:No suitable device found: no device found for connection "System eth0"
- Error:No suitable device found: no device found for connection "System eth0"
- Error:No suitable device found: no device found for connection "System eth0"
- hdu1892(二维树状数组)
- 线性表(一)
- JAVA链接数据库
- Hdu 4771 Stealing Harry Potter's Precious (搜索)
- Scramble String
- 解决 Error:No suitable device found: no device found for connection "System eth0"
- 仿知乎日报android
- = Day 7 = 《 How to get your baby sleep 》
- cocos2dx 3.0 触摸机制
- 【转载】jQuery EasyUI DataGrid Checkbox 数据设定与取值
- 关于jsp九大内置对象
- javascript自执行函数与原型继承
- Rattle :基于R的数据挖掘工具(1):简介和安装
- 三种工厂模式的分析以及C++实现