Fedora
如何找出 nmcli 中缺少的外掛?
我正在嘗試重用舊的華碩 EEE“a-la-RaspberryPi”,作為一個小型的單一任務單元。由於我對 Fedora 很熟悉,所以我通過 VNC 在上面安裝了 Fedora 27(預設的圖形安裝程序對於 EEE 螢幕來說太大了),但是我沒有安裝任何桌面環境(我不需要它,加上 LXDE所需的磁碟空間超過了 EEE 的整個大小)。
在安裝過程中,我能夠無線連接到 Internet(在安裝程序為我的家庭網路配置了 SSID 和 PWD 之後)。
但是,對於已安裝的系統,我不是:
[mac@octoserver ~]$ nmcli enp3s0: connected to enp3s0 "Qualcomm Atheros Attansic L2 Fast Ethernet" ethernet (atl2), 00:1F:C6:ED:3B:D9, hw, mtu 1500 ip4 default inet4 192.168.0.131/24 inet6 fe80::26b6:a207:c3f7:8c89/64 lo: unmanaged "lo" loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536 wlp1s0: unmanaged "Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) (AW-GE780 802.11bg Wireless Mini PCIe Card)" wifi (ath5k), 00:15:AF:92:4E:2E, plugin missing, hw, mtu 1500 DNS configuration: servers: 192.168.0.1 interface: enp3s0
在
plugin missing
控制台中是鮮紅色的,但我無法通過Google或 dnf 搜尋到應該是什麼……ath5k
似乎是我核心中啟用的模組,我找不到任何“外掛" 倉庫中的 nmcli 包…讓我感到困惑的還有以下幾點:
[mac@octoserver ~]$ nmcli radio wifi enabled [mac@octoserver ~]$ nmcli device wifi list [mac@octoserver ~]$
收音機
$$ of a device, I guess $$已開啟但沒有設備?! 知道發生了什麼嗎?
為了完整性:
[mac@octoserver ~]$ lspci 00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04) 00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04) 00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04) 00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04) 00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 04) 00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 04) 00:1d.0 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04) 00:1d.1 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04) 00:1d.2 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04) 00:1d.3 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04) 00:1d.7 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4) 00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04) 00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04) 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04) 01:00.0 Ethernet controller: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01) 03:00.0 Ethernet controller: Qualcomm Atheros Attansic L2 Fast Ethernet (rev a0)
您可能缺少
NetworkManager-wifi
包裹。# dnf install NetworkManager-wifi
要應用更改,請重新啟動
NetworkManager.service
:# systemctl restart NetworkManager
在 CentOS 7 上,包管理器是
yum
. 只需替換dnf
為yum
:$ sudo yum install NetworkManager-wifi