您现在的位置: 万盛学电脑网 >> 操作系统 >> Linux教程 >> 正文

Linux 6.4 网卡提示 not active怎么办?解决Linux 6.4 网卡 not active 的问题

作者:佚名    责任编辑:admin    更新时间:2022-06-22

class="area">            Linux 6.4 网卡提示 not active怎么办?解决Linux 6.4 网卡 not active 的问题:

点击(此处)折叠或打开

  1. [root@localhost Desktop]# service network restart
  2. Shutting down interface eth0: Error: Device \'eth0\' (/org/freedesktop/NetworkManager/Devices/0) disconnecting failed: This device is not active
  3.                                                            [FAILED]
  4. Shutting down loopback interface: [ OK ]
  5. Bringing up loopback interface: [ OK ]
  6. Bringing up interface eth0: Error: Connection activation failed: Device not managed by NetworkManager or unavailable
  7.                                                            [FAILED]
  8. [root@localhost Desktop]# chkconfig NetworkManager off
  9. [root@localhost Desktop]# chkconfig network on
  10. [root@localhost Desktop]# service NetworkManager stop
  11. Stopping NetworkManager daemon: [ OK ]
  12. [root@localhost Desktop]# service network start
  13. Bringing up loopback interface: [ OK ]
  14. Bringing up interface eth0: [ OK ]
  15. RTNETLINK answers: File exists
  16. RTNETLINK answers: File exists
  17. RTNETLINK answers: File exists
  18. RTNETLINK answers: File exists
  19. RTNETLINK answers: File exists
  20. RTNETLINK answers: File exists
  21. RTNETLINK answers: File exists
  22. RTNETLINK answers: File exists
  23. RTNETLINK answers: File exists
  24. [root@localhost Desktop]# service network restart
  25. Shutting down interface eth0: [ OK ]
  26. Shutting down loopback interface: [ OK ]
  27. Bringing up loopback interface: [ OK ]
  28. Bringing up interface eth0: [ OK ]
  29. [root@localhost Desktop]# ifconfig
  30. eth0 Link encap:Ethernet HWaddr 00:0C:29:A0:C6:44 
  31.           inet addr:192.168.1.189 Bcast:192.168.1.255 Mask:255.255.255.0
  32.           UP BROADCAST MULTICAST MTU:1500 Metric:1
  33.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  34.       &nbs