CentOS 8 找不到 Wi-Fi 適配器
剛剛在乾淨的機器上安裝了 CentOS 8(帶有 GUI)。
訪問“設置”>“Wi-Fi”時,出現問號:
未找到 Wi-Fi 適配器 確保已插入並打開 Wi-Fi 適配器
不過藍牙沒什麼問題。
在這台機器上,我無法訪問乙太網連接,但是我可以插入 USB。
我有這個使用者的 sudo 訪問權限。
編輯 1
我已訪問此處以將以下軟體包下載到 U 盤:
• NetworkManager-1.22.8-5.el8_2.x86_64.rpm
• NetworkManager-tui-1.22.8-5.el8_2.x86_64.rpm
• NetworkManager-libnm-1.22.8-5.el8_2.i686.rpm
• NetworkManager-libnm-1.22.8-5.el8_2.x86_64.rpm
• NetworkManager-wifi-1.22.8-5.el8_2.x86_64.rpm
將目錄更改為 U 盤,並在嘗試使用安裝其中一個軟體包時
rpm -Uhv $PackageName
我總是遇到失敗的依賴錯誤。
例如。安裝時
NetworkManager-tui-1.22.8-5.el8_2.x86_64.rpm
,我知道我需要以下依賴項:
- 網路管理器
- 網路管理器-libnm
如果我嘗試安裝上述任何一種,也存在依賴關係,無法完成安裝。
編輯 2
lsusb
Bus 002 Device 004: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader Bus 002 Device 003: ID 0a5c:21e1 Broadcom Corp. HP Portable SoftSailing Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 05c8:0341 Cheng Uei Precision Industry Co., Ltd (Foxlink) Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 004: ID 0951:1665 Kingston Technology Digital DataTraveler SE9 64GB Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09) 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) 00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04) 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04) 00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04) 00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4) 00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4) 00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4) 00:1c.3 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 4 (rev c4) 00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04) 00:1f.0 ISA bridge: Intel Corporation QM77 Express Chipset LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) 23:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 30) 23:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 30) 24:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43228 802.11a/b/g/n
編輯 3
從編輯 1 開始,閱讀此答案後,我嘗試使用
rpm -ihv $PackageName
而不是
-Uhv
. 而且跑步的時候rpm -ihv NetworkManager-libnm-1.22.8-5.el8_2.x86_64.rpm
我得到以下
warning: NetworkManager-libnm-1.22.8-5.el8_2.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY Verifying... ################################# [100%] Preparing... ################################# [100%] file /usr/lib64/libnm.so.0.1.0 from install of NetworkManager-libnm-1:1.22.8-5.el8_2.x86_64 conflicts with file from package NetworkManager-libnm-1:1.22.8-4.el8.x86_64
編輯 4
根據 Artem S. Tashkinov 的建議,我已重新啟用記憶體,轉到與 Internet 連接的電腦(它使用 Windows),下載包kmod-wl-6.30.223.271-32.el8.x86_64.rpm和rpmfusion- nonfree-release-8.noarch.rpm,將它們添加到 U 盤並插入 CentOS 機器。
在那裡,我已將目錄更改為 U 盤並執行
rpm -ihv rpmfusion-nonfree-release-8.noarch.rpm
這讓我得到了以下
warning: rpmfusion-nonfree-release-8.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID bdda8475: NOKEY error: Failed dependencies: epel-release >= 8 is needed by rpmfusion-nonfree-release-8-0.1.noarch rpmfusion-free-release >= 8 is needed by rpmfusion-nonfree-release-8-0.1.noarch
然後跑了
rpm -ihv kmod-wl-6.30.223.271-32.el8.x86_64.rpm
其中檢索到以下
warning: kmod-wl-6.30.223.271-32.el8.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID bdda8475: NOKEY error: Failed dependencies: kmod-wl-4.18.0-147.el8.x86_64 >= 6.30.223.271-32.el8 is needed by kmod-wl-6.30.223.271-32.el8.x86_64
剛剛遵循@RuiFRibeiro 的建議並獲得了乙太網電纜。有了它,這個過程要快得多,因為它需要具有各種依賴關係的各種包。
除了Artem S. Tashkinov 的建議之外,這並沒有解決我的問題(
dnf install kmod-wl
這個問題給了我依賴錯誤),我跑了sudo dnf install kernel
然後
sudo yum install NetworkManager-tui chkconfig NetworkManager on service NetworkManager start
然後
sudo yum update
最後
sudo yum install akmod-wl
我關注的一些執行緒:
您有一個 BCM43228 wifi 網路適配器。
您必須啟用 RPMFusion Nonfree repo 並安裝
kmod-wl
. 不幸的是,這需要有效的 Internet 連接:rpm -ivh https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm dnf install kmod-wl