设置 wifi 网络配置文件/etc/netctl/
并运行后netctl start [my_network_profile]
,我收到以下消息:
Job for netctl@wlp2s0\x2d[my_network].service failed because the control process exited with error code.
另外,我安装了 gnome 桌面环境,但 wifi 没有显示在设置或系统托盘中,就像它根本不存在一样。
输出为lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520 Mobile]
这是输出dmesg | grep iwl
[ 3.316448] iwlwifi 0000:02:00.0: loaded firmware version 17.3216344376.0 7260-17.ucode op_mode iwlmvm
[ 3.316486] iwlwifi 0000:02:00.0: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
[ 3.609531] iwlwifi 0000:02:00.0: Detected Intel(R) Wireless N 7260, REV=0x144
[ 3.627583] iwlwifi 0000:02:00.0: base HW address: fc:f8:ae:3e:9a:f4
[ 3.853230] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[ 3.855957] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
..这是输出sudo modprobe iwlwifi
modprobe: FATAL: Module iwlwifi not found in directory /lib/modules/5.7.6-arch1-1
另外,当我使用时wifi-menu
(在我的理解中使用 netctl),它确实运行并发现 wifi 网络,但它从未连接。
答案1
我设法通过以下方式连接它网络配置arch wiki 安装指南中的超链接(我在安装过程中跳过了),最终引导我到达此链接https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi我可以在其中下载适用于我的英特尔无线 7260 的 iwlwifi 固件,然后只需按照README 文件中的说明将iwlwifi-7260-16.ucode
文件复制到目录中即可安装它。/lib/firmware/
现在它工作正常,并且在重新启动时也会自动连接。