我是 Linux 新手,刚刚安装了 Ubuntu 18.04,第二个系统是 Windows 10,我的笔记本是 ThinkPad T440s。当我在 Ubuntu 上时,我无法访问 Wi-Fi,因为它显示没有 Wi-Fi 适配器。我做了一些研究,我认为我没有驱动程序或其他东西,但我无法在终端下载任何东西,因为我只使用 Wi-Fi,我没有连接互联网的电缆。我在终端中检查了我的网络控制器的名称是什么,它是 Intel Corporation Wireless 7260。
输出lshw -C network
:
*-network
description: Ethernet interface
product: Ethernet Connection I218-LM
vendor: Intel Corporation
physical id:19
bus info: pci@0000:00:19.0
logical name: enp0s25
version: 04
serial: 28:d2:44:5c:c0:aa
capacity: 1Gbit/s
width: 32bits
clock: 33Mhz
capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotlation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.6-3 latency=0 link=no mu
resources: irq:43 memory:f06000000-f061ffff memory:f063e000-f063efff ioport:3080(size=32)
*-network UNCLAIMED
description: Network controller
product: Wireless 7260
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:03:00.0
version: 83
width: 64 bits
clock: 33Mhz
capabilities: bus_master cap_list
configuration: latency=0
resources: memory:f0400000-f0401fff
输出sudo modprobe iwlwifi && dmesg | grep iwl
:
modprobe: ERROR: ../libkmod/libkmod.c586 kmod_search_moddep() could not open moddep file '/lib/modules/4.15.0-42-generic/modules.dep.bin'
modprobe: ERROR: ../libkmod/libkmod.c514 lookup_builtin_file() could not open builtin file 'lib/modules/4.15.0-42-generic/modules.builtin.bin'
modprobe: ERROR: ../libkmod/libkmod.c586 kmod_search_moddep() could not open moddep file '/lib/modules/4.15.0-42-generic/modules.dep.bin'
modprobe: ERROR: ../libkmod/libkmod.c586 kmod_search_moddep() could not open moddep file '/lib/modules/4.15.0-42-generic/modules.dep.bin'
modprobe: ERROR: ../libkmod/libkmod-module.c:832 kmod_module_insert_module() could not find module by name='iwlwifi'
modprobe: ERROR: could not insert 'iwlwifi': Unkown symbol in module, or unkown parameter (see dmesg)
我能做些什么 ?
因此,从 Ubuntu 安装所有数据包后,我编写了此命令并下载了所有驱动程序