我有一台 ThinkPad Yoga 14,我在上面安装了 Ubuntu 15.10。
无线网络无法使用。
sudo lshw -c network
具有(针对相关设备):
zck@my-computer:~/Downloads$ sudo lshw -c network
*-network UNCLAIMED
description: Network controller
product: Wireless 8260
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:03:00.0
version: 3a
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:d2a00000-d2a01fff
我下载了英特尔无线 WiFi 链接 8260 AC 适配器,并将其解压,所以现在我有了 iwlwifi-8000C-15.ucode,并且按照它所说的将它放入 /lib/firmware 中,但我不确定如何将它连接到 iwlwifi,或者这是否是正确的做法。
额外请求的命令:
zck@my-computer:~/Downloads$ lspci -nnk | grep 0280 -A2
03:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
Subsystem: Intel Corporation Device [8086:1130]
06:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 940M] [10de:1347] (rev a2)
zck@my-computer:~/Downloads$ sudo modprobe iwlwifi
zck@my-computer:~/Downloads$ dmesg | grep iwl
[ 5417.697371] iwlmvm iwlwifi mac80211 cfg80211 asix usbnet mii rfcomm bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common wacom btusb btrtl btbcm btintel bluetooth videodev media nls_iso8859_1 snd_hda_codec_hdmi spi_pxa2xx_platform 8250_dw snd_hda_codec_conexant snd_hda_codec_generic intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd snd_hda_intel input_leds joydev snd_hda_codec idma64 snd_hda_core virt_dma snd_hwdep serio_raw snd_pcm intel_lpss_pci shpchp mei_me thinkpad_acpi mei nvram snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd intel_lpss_acpi intel_lpss soundcore mac_hid acpi_pad tpm_crb parport_pc ppdev
[ 6027.901140] iwlmvm iwlwifi mac80211 cfg80211 asix usbnet mii rfcomm bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common wacom btusb btrtl btbcm btintel bluetooth videodev media nls_iso8859_1 snd_hda_codec_hdmi spi_pxa2xx_platform 8250_dw snd_hda_codec_conexant snd_hda_codec_generic intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd snd_hda_intel input_leds joydev snd_hda_codec idma64 snd_hda_core virt_dma snd_hwdep serio_raw snd_pcm intel_lpss_pci shpchp mei_me thinkpad_acpi mei nvram snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd intel_lpss_acpi intel_lpss soundcore mac_hid acpi_pad tpm_crb parport_pc ppdev
[ 6374.578584] iwlmvm iwlwifi mac80211 cfg80211 asix usbnet mii rfcomm bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common wacom btusb btrtl btbcm btintel bluetooth videodev media nls_iso8859_1 snd_hda_codec_hdmi spi_pxa2xx_platform 8250_dw snd_hda_codec_conexant snd_hda_codec_generic intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd snd_hda_intel input_leds joydev snd_hda_codec idma64 snd_hda_core virt_dma snd_hwdep serio_raw snd_pcm intel_lpss_pci shpchp mei_me thinkpad_acpi mei nvram snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd intel_lpss_acpi intel_lpss soundcore mac_hid acpi_pad tpm_crb parport_pc ppdev
[ 6389.342802] iwlmvm iwlwifi mac80211 cfg80211 asix usbnet mii rfcomm bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common wacom btusb btrtl btbcm btintel bluetooth videodev media nls_iso8859_1 snd_hda_codec_hdmi spi_pxa2xx_platform 8250_dw snd_hda_codec_conexant snd_hda_codec_generic intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd snd_hda_intel input_leds joydev snd_hda_codec idma64 snd_hda_core virt_dma snd_hwdep serio_raw snd_pcm intel_lpss_pci shpchp mei_me thinkpad_acpi mei nvram snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd intel_lpss_acpi intel_lpss soundcore mac_hid acpi_pad tpm_crb parport_pc ppdev
[ 6420.052221] iwlmvm iwlwifi mac80211 cfg80211 asix usbnet mii rfcomm bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common wacom btusb btrtl btbcm btintel bluetooth videodev media nls_iso8859_1 snd_hda_codec_hdmi spi_pxa2xx_platform 8250_dw snd_hda_codec_conexant snd_hda_codec_generic intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd snd_hda_intel input_leds joydev snd_hda_codec idma64 snd_hda_core virt_dma snd_hwdep serio_raw snd_pcm intel_lpss_pci shpchp mei_me thinkpad_acpi mei nvram snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd intel_lpss_acpi intel_lpss soundcore mac_hid acpi_pad tpm_crb parport_pc ppdev
[ 6420.996967] iwlmvm iwlwifi mac80211 cfg80211 asix usbnet mii rfcomm bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common wacom btusb btrtl btbcm btintel bluetooth videodev media nls_iso8859_1 snd_hda_codec_hdmi spi_pxa2xx_platform 8250_dw snd_hda_codec_conexant snd_hda_codec_generic intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd snd_hda_intel input_leds joydev snd_hda_codec idma64 snd_hda_core virt_dma snd_hwdep serio_raw snd_pcm intel_lpss_pci shpchp mei_me thinkpad_acpi mei nvram snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd intel_lpss_acpi intel_lpss soundcore mac_hid acpi_pad tpm_crb parport_pc ppdev
[ 6425.191771] iwlmvm iwlwifi mac80211 cfg80211 asix usbnet mii rfcomm bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common wacom btusb btrtl btbcm btintel bluetooth videodev media nls_iso8859_1 snd_hda_codec_hdmi spi_pxa2xx_platform 8250_dw snd_hda_codec_conexant snd_hda_codec_generic intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd snd_hda_intel input_leds joydev snd_hda_codec idma64 snd_hda_core virt_dma snd_hwdep serio_raw snd_pcm intel_lpss_pci shpchp mei_me thinkpad_acpi mei nvram snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd intel_lpss_acpi intel_lpss soundcore mac_hid acpi_pad tpm_crb parport_pc ppdev
[ 6425.718504] iwlmvm iwlwifi mac80211 cfg80211 asix usbnet mii rfcomm bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common wacom btusb btrtl btbcm btintel bluetooth videodev media nls_iso8859_1 snd_hda_codec_hdmi spi_pxa2xx_platform 8250_dw snd_hda_codec_conexant snd_hda_codec_generic intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd snd_hda_intel input_leds joydev snd_hda_codec idma64 snd_hda_core virt_dma snd_hwdep serio_raw snd_pcm intel_lpss_pci shpchp mei_me thinkpad_acpi mei nvram snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd intel_lpss_acpi intel_lpss soundcore mac_hid acpi_pad tpm_crb parport_pc ppdev
[ 6765.743640] iwlmvm iwlwifi mac80211 cfg80211 asix usbnet mii rfcomm bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common wacom btusb btrtl btbcm btintel bluetooth videodev media nls_iso8859_1 snd_hda_codec_hdmi spi_pxa2xx_platform 8250_dw snd_hda_codec_conexant snd_hda_codec_generic intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd snd_hda_intel input_leds joydev snd_hda_codec idma64 snd_hda_core virt_dma snd_hwdep serio_raw snd_pcm intel_lpss_pci shpchp mei_me thinkpad_acpi mei nvram snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd intel_lpss_acpi intel_lpss soundcore mac_hid acpi_pad tpm_crb parport_pc ppdev
[ 6847.871215] iwlmvm iwlwifi mac80211 cfg80211 asix usbnet mii rfcomm bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common wacom btusb btrtl btbcm btintel bluetooth videodev media nls_iso8859_1 snd_hda_codec_hdmi spi_pxa2xx_platform 8250_dw snd_hda_codec_conexant snd_hda_codec_generic intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd snd_hda_intel input_leds joydev snd_hda_codec idma64 snd_hda_core virt_dma snd_hwdep serio_raw snd_pcm intel_lpss_pci shpchp mei_me thinkpad_acpi mei nvram snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd intel_lpss_acpi intel_lpss soundcore mac_hid acpi_pad tpm_crb parport_pc ppdev
答案1
您的设备 Intel Corporation Wireless 8260 [8086:24f3] (rev 3a),子系统:Intel Corporation Device [8086:1130] 尚未被驱动程序覆盖。iwlwifi.
已覆盖几种变体,但未覆盖您拥有的确切 pci.id 和子系统组合。 让我们尝试添加它。
请将此文件下载到您的桌面:https://www.kernel.org/pub/linux/kernel/projects/backports/2015/09/23/backports-20150923.tar.gz右键单击它并选择“在此处提取”。向下钻取到驱动程序 > 网络 > 无线 > iwlwifi > pcie。使用任何文本编辑器(如 gedit、nano 或 kate)打开文件 drv.c。向下滚动到第 428 行。请注意,以 24F3 结尾的 pci.id 没有对应的 1130 子系统。24F4 有 1130,但没有 24F3。我们只需更改它。将第 428 行从:
{IWL_PCI_DEVICE(0x24F4, 0x1130, iwl8260_2ac_cfg)},
改为:
{IWL_PCI_DEVICE(0x24F3, 0x1130, iwl8260_2ac_cfg)},
间距、标点、括号等都至关重要,必须完美无缺。仔细校对,保存并关闭文本编辑器。现在:
cd ~/Desktop/backports-20150923
make clean
make defconfig-iwlwifi
make
sudo make install
重启。有什么改善吗?
您仅为当前安装的内核版本编译了驱动程序。当 Update Manager 安装较新的 Linux 映像时,请在所需的重新启动后重新编译:
cd ~/Desktop/backports-20150923
make clean
make defconfig-iwlwifi
make
sudo make install
请保留这些文件和说明。
答案2
chili555 的回答当然是正确的,但我还没有测试过。我只想补充一点,Ubuntu 15.10 的更新内核中包含了支持。安装 Ubuntu 时,wifi 无法连接,但只需使用电缆即可获取更新。重启后,您的 wifi 即可工作。更新后,这在 Thinkpad P50 上开箱即用。
因此不再需要下载、编辑和编译任何内容。
答案3
要让此无线适配器在 Ubuntu 15.10 中工作,你需要通过运行以下命令安装固件
wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.156_all.deb
sudo dpkg -i linux-firmware_1.156_all.deb
对于 Ubuntu 14.04,你还需要升级内核
sudo apt-get install linux-generic-lts-wily
答案4
有时,取决于您的笔记本电脑(我的 yoga 900)。模块已编译,但网络管理器显示它被硬件禁用。
这是因为 ideapad_laptop 模块认为笔记本电脑有一个物理按钮可以禁用 wifi。
在这种情况下,您可以将模块列入黑名单,或重新编译内核,添加如下等效部分:这里。