https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/core_release 因此,我尝试在装有 Ubuntu 16.04 的笔记本电脑上使用无线网络。我认为我需要按照 wiki 的指示构建软件包;安装 iwlwifi LinuxCore14。但“make”总是返回几个似乎与源而不是环境相关的错误。奇怪的是,许多其他人成功编译了相同的源。我已经安装了 build-essential。还有其他我遗漏的东西吗?这是一个错误示例:
error: passing argument 6 of ‘dev_coredumpm’ from incompatible pointer type [-Werror=incompatible-pointer-types]
GFP_KERNEL, iwl_mvm_read_coredump, iwl_mvm_free_coredump);
以下是rfkill list; lspci -nnk | grep -iA2 net
1: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: yes
2: ideapad_bluetooth: Bluetooth
Soft blocked: no
Hard blocked: yes
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
4: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
03:00.0 Network controller [0280]: Intel Corporation Dual Band Wireless-AC 3165 Plus Bluetooth [8086:3166] (rev 99)
Subsystem: Intel Corporation Intel Dual Band Wireless-AC 3165 Plus Bluetooth [8086:4210]
Kernel driver in use: iwlwifi
--
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:3884]
Kernel driver in use: r8169
Kernel modules: r8169
的结果dmidecode | grep -i lenovo
:
Vendor: LENOVO
Manufacturer: LENOVO
Version: Lenovo Y520-15IKBN
SKU Number: LENOVO_MT_80WK_BU_idea_FM_Lenovo Y520-15IKBN
Manufacturer: LENOVO
Manufacturer: LENOVO
Version: Lenovo Y520-15IKBN
答案1
请尝试一下。从终端:
sudo modprobe -r ideapad-laptop
sudo rfkill unblock all
如果这启用了无线功能,我们可以将该模块列入黑名单以使其永久生效。
因为我们现在知道这种方法启用了您的无线网络,所以让我们使其永久生效:
sudo -i
echo "blacklist ideapad-laptop" >> /etc/modprobe.d/blacklist.conf
exit
答案2
源代码LinuxCore14已有近 2 年历史,这就是它无法在 Ubuntu 16.04 中编译的原因。LinuxCore24有几周前修补的源代码,并且按照我刚刚测试的那样可以编译