我对 Linux 还不是很熟悉,我可以通过以太网电缆连接到互联网,但它没有显示任何 Wi-Fi 选项。这台电脑以前有 Windows 10,但我把它删掉了,安全和快速启动都被停用了。我有一台华硕
有人能帮助我吗?
sudo lshw -C network
*-network UNCLAIMED
description: Network controller
product: Wireless 8265 / 8275
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: 78
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:fea00000-fea01fff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 15
serial: 18:31:bf:41:f2:96
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.8.0-48-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.228 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:28 ioport:e000(size=256) memory:fe904000-fe904fff memory:fe900000-fe903fff
附加信息:
lspci -knn | grep -i Net -A3
01:00.0 Network controller [0280]: Intel Corporation Wireless 8265 / 8275 [8086:24fd] (rev 78)
Subsystem: Intel Corporation Wireless 8265 / 8275 [8086:0110]
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:200f]
Kernel driver in use: r8169
rfkill list all
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
dmesg | grep iwl
[ 11.204608] iwlwifi 0000:01:00.0: enabling device (0000 -> 0002)
[ 11.289883] iwlwifi: probe of 0000:01:00.0 failed with error -110
[ 13.329796] Modules linked in: edac_mce_amd amdgpu kvm_amd ccp uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 btusb kvm videobuf2_common iommu_v2 btrtl btbcm videodev crct10dif_pclmul btintel gpu_sched ghash_clmulni_intel ttm bluetooth snd_hda_codec_generic mc iwlwifi drm_kms_helper snd_hda_codec_hdmi ledtrig_audio aesni_intel snd_hda_intel snd_intel_dspcfg ecdh_generic ecc cec rc_core joydev i2c_algo_bit asus_nb_wmi snd_hda_codec fb_sys_fops crypto_simd hid_multitouch syscopyarea asus_wmi cfg80211 sysfillrect cryptd snd_hda_core input_leds serio_raw sysimgblt glue_helper snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event sparse_keymap snd_rawmidi snd_seq efi_pstore k10temp fam15h_power snd_seq_device wmi_bmof snd_timer snd asus_wireless 8250_dw soundcore mac_hid sch_fq_codel parport_pc ppdev lp drm parport ip_tables x_tables autofs4 hid_generic crc32_pclmul sdhci_pci cqhci sdhci ahci i2c_piix4 libahci xhci_pci r8169 xhci_pci_renesas realtek wmi video i2c_hid hid
uname -a
Linux Laptop-Anton 5.8.0-48-generic #54~20.04.1-Ubuntu SMP Sat Mar 20 13:40:25 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ dpkg -l | grep linux-modules
ii linux-modules-5.4.0-70-generic 5.4.0-70.78 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ii linux-modules-5.8.0-43-generic 5.8.0-43.49~20.04.1 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
ii linux-modules-5.8.0-48-generic 5.8.0-48.54~20.04.1 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
ii linux-modules-extra-5.4.0-70-generic 5.4.0-70.78 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ic linux-modules-extra-5.8.0-43-generic 5.8.0-43.49~20.04.1 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
ic linux-modules-extra-5.8.0-48-generic 5.8.0-48.54~20.04.1 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
lsmod | grep iwl
- 无输出
sudo modprobe -r iwlwifi
modprobe: FATAL: Module mac80211 not found.
modprobe: FATAL: Error running remove command for iwlwifi
sudo modprobe iwlwifi
modprobe: ERROR: ../libkmod/libkmod-module.c:838 kmod_module_insert_module() could not find module by name='iwlwifi'
modprobe: ERROR: could not insert 'iwlwifi': Unknown symbol in module,or unknown parameter (see dmesg)
答案1
可能的解决方案:
如果你有联想,这可能会对你有帮助(可能有较新的版本)
$ sudo apt install git dkms build-essential $ git clone https://github.com/jeremyb31/ideapad-laptop.git $ sudo dkms add ./ideapad-laptop $ sudo dkms install ideapad-laptop/1.0
您发布的内容显示驱动程序(按照这(应该是
iwlwifi
)不用于您的 WiFi。然后您可以尝试禁用 Windows 快速启动功能并重新启动。您也可以尝试
$ sudo modprobe -r iwlwifi $ sudo modprobe iwlwifi
也许你缺少一些模块。尝试
$ sudo apt-get install linux-base linux-modules-<kernel version>-generic linux-modules-extra-<kernel version>-generic
附加信息会有所帮助:
$ dmesg | grep iwl
$ lspci -knn | grep -i Net -A3
$ rfkill list all
$ lsmod | grep iwl
$ uname -a
$ dpkg -l | grep linux-modules
有关的: