Linux 6.4 网卡提示 not active怎么办Shutting down interface eth0: Error:
请进行如下操作:
[root@localhost Desktop]# service network restart
Shutting down interface eth0: Error: Device \'eth0\' (/org/freedesktop/NetworkManager/Devices/0) disconnecting failed: This device is not active
[FAILED]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: Error: Connection activation failed: Device not managed by NetworkManager or unavailable
[FAILED]
[root@localhost Desktop]# chkconfig NetworkManager off
[root@localhost Desktop]# chkconfig network on
[root@localhost Desktop]# service NetworkManager stop
Stopping NetworkManager daemon: [ OK ]
[root@localhost Desktop]# service network start
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ 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 Desktop]# service network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
[root@localhost Desktop]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:A0:C6:44
inet addr:192.168.1.189 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:720 (720.0 b) TX bytes:720 (720.0 b)
[root@localhost Desktop]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@localhost Desktop]# iptables -F
转载于:https://www.cnblogs.com/xuedexin/articles/5379965.html
Linux 6.4 网卡提示 not active怎么办Shutting down interface eth0: Error:相关推荐
- CentOS重新加载网卡报错 Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/23
重新加载网卡时出现的错误如下: 1 [root@vdb1 dev]# service network restart 2 Shutting down interface eth0: Device st ...
- linux双网卡绑定同一IP步骤,linux系统双网卡绑定单个IP地址
双网卡绑定单个IP地址为了提供网络的高可用性,我们可能需要将多块网卡绑定成一块虚拟网卡对外提供服务,这样即使其中的一块物理网卡出现故障,也不会导致连接中断.多网卡绑. 为了提供网络的高可用性,我们可能 ...
- linux环境下单网卡配置多个IP地址(详细)
1.使用命令进行配置 这就很简单了,首先查看一下当前机器的IP地址,命令如下: [html] view plain copy #ifconfig eth0 Link encap:Ethe ...
- 服务器linux安装后没有网卡驱动,解决安装Linux之后没有网卡驱动
新买的一台HP台式机(HP EliteDesk 800 G2 TWR)安装Linux当做测试环境使用,安装完成之后发现没有网卡. 操作系统:Red Hat Enterprise Linux Serve ...
- linux网卡驱动离线安装_解决安装Linux之后没有网卡驱动
新买的一台HP台式机(HP EliteDesk 800 G2 TWR)安装Linux当做测试环境使用,安装完成之后发现没有网卡. 操作系统:Red Hat Enterprise Linux Serve ...
- Linux下一块网卡设置多个IP地址
在windows下给一块网卡设置多个IP,是比较容易的,今天我写的内容是关于在LINUX系统下,给一块网卡设置多个IP地址,在Linux系统下面,第一块网卡就叫eth0,第二块网卡就叫eth1,这里我 ...
- Linux设置一个网卡IP地址,linux下一块网卡设置多个ip地址(示例代码)
无论是在实际的生产坏境中,还是平时的练习中, 一个网卡设置多个ip地址是非常常见的,也是非常有用的. 我们以centos6.8系统为列, 在一块网卡上设置多个ip地址. 1>. 给一块网卡设置多 ...
- Linux下双网卡绑定(bonding技术)
Linux网卡绑定探析 2013-08-20 15:39:31 现在很多服务器都自带双千兆网口,利用网卡绑定既能增加网络带宽,同时又能做相应的冗余,目前应用于很多的场景.linux操作系统下自带的网卡 ...
- linux服务器多网卡bond
将多个Linux网络端口绑定为一个,可以提升网络的性能,比如对于备份服务器,需要在一个晚上备份几个T的数据, 如果使用单个的千兆网口将会是很严重的瓶颈.其它的应用,比如ftp服务器,高负载的下载网站, ...
- linux网卡驱动离线安装_新装Linux系统没有网卡驱动的解决办法和步骤
刚安装的linux系统没有网卡驱动,下面给出我的解决方法: (机器系统是RHEL5.3) 首先说明几个命令: #lsmod --显示已载入系统的模块. 执行lsmod指令,会列出所有已载入系统的模块. ...
最新文章
- STM32外设有哪些?外设在总线上是怎么挂载的?
- php把字符串变为数组_php将字符串转换为数组
- 面试官:看你简历写了熟悉Kafka,它为什么速度会这么快?
- C/C++:各类型变量占用字节
- [转]数据中心网络虚拟化 隧道技术
- IDEA代码自动换行
- 全栈工程师可以分为哪几类?
- 【转】上大数学系博士点
- struct sk_buff结构体详解
- 集群监控:Ambari和Cloudera Manger
- 大数据开发和大数据分析应该怎么选择?
- 整理并记录几种运算放大器
- DICOM:再次剖析fo-dicom中DicomService的自定义事件绑定
- 互联网人才泡沫:百度腾讯阿里大打人才争夺战
- 有一个企微运营机器人同事是一种什么体验?
- LeetCode 217、219. 存在重复元素
- 搭建AI智能语音外呼系统
- 互联网大厂薪资真实情况:年薪百万有多难?
- 速度不够,管道来凑——Redis管道技术
- vscode 批量重命名_vscode配置 打造性感好用的编辑器