class="area">
Linux 6.4 網卡提示 not active怎麼辦?解決Linux 6.4 網卡 not active 的問題:
點擊(此處)折疊或打開
- [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
- &nbs