Shutting down interface eth0: Error: Device 'eth0' (/org/freedesktop/NetworkManager/Devices/0) disc
来源:互联网 发布:法人的权利和义务知乎 编辑:程序博客网 时间:2024/06/04 19:51
安装CENT OS时手动配置了IP和DNS,安装完成后,IP未生效
[root@localhost network-scripts]# cat ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
BROADCAST=10.205.1.255
GATEWAY=10.205.0.254
IPADDR=10.205.0.70
NETMASK=255.255.255.0
NM_CONTROLLED=yes
ONBOOT=yes
TYPE=Ethernet
UUID="cbf78fc4-dca7-431f-bacb-66e9fb152dcd"
HWADDR=5A:2D:8A:5F:F7:9C
PREFIX=23
DNS1=211.155.27.88
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
LAST_CONNECT=1417162738
重启网络服务service network restart:
有如下报错
hutting down interface eth0: Error: Device 'eth0' (/org/freedesktop/NetworkManager/Devices/0) disconnecting failed: This device is not active [FAILED]
Shutting down interface eth1: Error: Device 'eth1' (/org/freedesktop/NetworkManager/Devices/1) disconnecting failed: This device is not active [FAILED]
搜索网上解决方案:
- chkconfig NetworkManager off
- chkconfig network on
- service NetworkManager stop
- Stopping NetworkManager daemon: [ OK ]
- service network start
Bringing up interface eth0: Device eth0 has different MAC address than expected, ignoring
再搜解决方案:
#ifconfig eth0 down
#cd /etc/sysconfig/network-scripts
#vi ifcfg-eth0
修改其中的"HWADDR=xx:xx:xx:xx:xx:xx"为"MACADDR=xx:xx:xx:xx:xx:xx"
#ifconfig eth0 up
#service network start
问题解决,日志如下:
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: RTNETLINK answers: Device or resource busy
[ OK ]
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
[root@localhost network-scripts]# ifconfig
eth0 Link encap:Ethernet HWaddr B6:D7:97:82:7A:26
inet addr:10.205.0.70 Bcast:10.205.1.255 Mask:255.255.254.0
- Shutting down interface eth0: Error: Device 'eth0' (/org/freedesktop/NetworkManager/Devices/0) disc
- Shutting down interface eth0: Error: Device 'eth0' (/org/freedesktop/NetworkManager/Devices/0) disc
- shutting down interface eth0 error device 'eth0' disconnected failed this device is not active
- Shutting down interface eth1: Error: Device ‘eth1′ NetworkManager/Devices/1 disconnecting failed:
- Shutting down interface eth1: Error: Device ‘eth1′ NetworkManager/Devices/1 disconnecting failed: Th
- Shutting down interface eth0: Device state: 3 (disconnected);Active connection path: /org/freedeskto
- Bringing up interface eth0: Error:Connection activation failed:Device not managed by NetworkManager
- Bringing up interface eth0: Error:Connection activation failed:Device not managed by NetworkManager
- ifconfig eth0 eth0: error fetching interface information: Device not found
- eth0,eth0: ERROR while getting interface flags: No such device
- ifconfig eth0 eth0: error fetching interface information: Device not found
- Bringing up interface eth0: Error: No suitable device : no device found for connection System eth0
- eth0:Error while etting interface flags:No such device
- VMWare: eth0: error fetching interface information : device not found
- eth0:ERROR while getting interface flags:No such device问题解决
- eth0: ERROR while getting interface flags: No such device
- eth0: ERROR while getting interface flags: No such device
- bringing up interface eth0: error no suitable device found
- cmd命令大全
- MongoDB 关于索引操作命令实例详解
- js/jq解析json
- zip明文攻击
- 网络流24题 题解 (部分) 更新中
- Shutting down interface eth0: Error: Device 'eth0' (/org/freedesktop/NetworkManager/Devices/0) disc
- 获取Android签名内容
- PLSQL Tools for query primary key and foreign key of a table
- PAT A1065. A+B and C (64bit) (20)
- socket 通信代码,单线程
- js跨域
- jvm1-深入浅出Java垃圾回收机制
- Intel Galileo Debian Image Prequits
- Oracle数据库开发利器之函数