如何找出 nmcli 中缺少哪个插件?

如何找出 nmcli 中缺少哪个插件?

我正在尝试重新使用旧的华硕 EEE“a-la-RaspberryPi”,作为一个小型的单一任务单元。由于我对Fedora比较熟悉,所以我通过VNC在上面安装了Fedora 27(默认的图形安装程序对于EEE屏幕来说太大),但是我没有安装任何桌面环境(我不需要它,加上甚至LXDE也会需要比 EEE 整个大小更多的磁盘空间)。

在安装过程中我能够无线连接到互联网(从安装程序配置我的家庭网络的 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 ~]$ 

[我猜是设备的]无线电已打开,但没有设备?!

知道发生了什么事吗?

为了完整性:

[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)

答案1

您可能丢失了NetworkManager-wifi包裹。

# dnf install NetworkManager-wifi

要应用更改,请重新启动NetworkManager.service

# systemctl restart NetworkManager

答案2

在 CentOS 7 上,包管理器是yum.只需替换dnfyum

$ sudo yum install NetworkManager-wifi

相关内容