我是一个非常新的 Ubuntu 用户,我的 wifi 卡有点问题。这是我的设置:我在第 7 代 Thinkpad X1 Carbon 上双启动 Windows 10 和 Ubuntu 18.04。当我在 2020 年 1 月第一次在机器上安装 Ubunutu 时,它无法检测到无线网卡。我尝试安装正确的驱动程序但没有任何效果,所以一个朋友自己写了一个驱动程序并让 wifi 工作。(不幸的是,我没有他写的副本。)
上周末,我尝试将蓝牙键盘连接到笔记本电脑,这似乎通过显着减慢它来干扰 wifi 连接。没有考虑我朋友写了一些奇怪的驱动程序的事实,我试图通过以下帖子解决蓝牙问题:wi-fi and bluetooth not 同时工作。具体来说,我试过
sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "options iwlwifi bt_coex_active=N"
然后重新启动。它似乎没有帮助,所以我删除了这个通过
sudo rm /etc/modprobe.d/iwlwifi-opt.conf
这些命令导致互联网连接非常不稳定——连接会暂时正常,然后会中断并间歇性地返回。经过一番搜索,我发现这篇文章 Unstable wireless with Intel 7260 + iwlwifi after upgrade to 15.04,这似乎与我的问题几乎相同。因此,我尝试从 [wireless.wiki.kernel.org/en/users/drivers/iwlwifi] 安装适当的驱动程序,但它没有解决任何问题。但是,该帖子将我指向https://forum.ubuntu-fr.org/viewtopic.php?pid=22251520#p22251520 - 当我跑
sudo apt install git build-essential
git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwif/backport-iwlwifi.git
cd backport-iwlwifi
make defconfig-iwlwifi-public
sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config
make -j4
sudo make install
cd /lib/firmware
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/iwlwifi-9000-pu-b0-jf-b0-38.ucode
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/iwlwifi-9260-th-b0-jf-b0-38.ucode
Ubuntu 完全停止检测任何 wifi 适配器,所以现在我不知道该怎么做。
以下是查看类似帖子后似乎很重要的命令的输出:
输出lspci -knn | grep Net -A3; rfkill list
:
00:14.3 Network controller [0280]: Intel Corporation Device [8086:02f0]
Subsystem: Intel Corporation Device [8086:0030]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
输出dmesg | grep iwl
:
[ 5.317830] Loading modules backported from iwlwifi
[ 5.317831] iwlwifi-stack-public:master:8324:9176b151
[ 5.385415] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[ 5.401853] iwlwifi 0000:00:14.3: Direct firmware load for iwl-dbg-cfg.ini failed with error -2
[ 5.402022] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-jf-b0-55.ucode failed with error -2
[ 5.402116] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-jf-b0-54.ucode failed with error -2
[ 5.402211] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-jf-b0-53.ucode failed with error -2
[ 5.402222] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-jf-b0-52.ucode failed with error -2
[ 5.402232] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-jf-b0-51.ucode failed with error -2
[ 5.402454] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-jf-b0-50.ucode failed with error -2
[ 5.402465] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-jf-b0-49.ucode failed with error -2
[ 5.404064] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 43.2.23.17
[ 5.404066] iwlwifi 0000:00:14.3: Found debug destination: EXTERNAL_DRAM
[ 5.404067] iwlwifi 0000:00:14.3: Found debug configuration: 0
[ 5.404286] iwlwifi 0000:00:14.3: loaded firmware version 48.13675109.0 QuZ-a0-jf-b0-48.ucode op_mode iwlmvm
[ 5.404304] iwlwifi 0000:00:14.3: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
[ 5.442441] RIP: 0010:iwl_op_mode_mvm_start+0xa8/0xb50 [iwlmvm]
[ 5.442479] _iwl_op_mode_start.isra.6+0x47/0x80 [iwlwifi]
[ 5.442489] iwl_opmode_register+0x88/0xe0 [iwlwifi]
[ 5.442510] __init_backport+0x3d/0x1000 [iwlmvm]
[ 5.442565] Modules linked in: iwlmvm(OE+) snd_soc_core aesni_intel(+) snd_compress ac97_bus snd_pcm_dmaengine btusb crypto_simd mac80211(OE) btrtl cryptd libarc4 btbcm glue_helper drm_kms_helper fjes(-) uvcvideo btintel iwlwifi(OE) intel_cstate snd_hda_intel videobuf2_vmalloc drm bluetooth videobuf2_memops snd_intel_dspcfg videobuf2_v4l2 snd_hda_codec videobuf2_common snd_hda_core snd_seq_midi videodev snd_seq_midi_event thinkpad_acpi(+) snd_hwdep processor_thermal_device i2c_algo_bit intel_lpss_pci(+) ecdh_generic cfg80211(OE) fb_sys_fops intel_lpss nvram intel_wmi_thunderbolt serio_raw wmi_bmof input_leds mc ledtrig_audio ecc snd_pcm snd_rawmidi intel_rapl_common mei_me idma64 syscopyarea compat(OE) virt_dma mei sysfillrect ucsi_acpi sysimgblt intel_soc_dts_iosf typec_ucsi snd_seq typec snd_seq_device snd_timer snd int3403_thermal soundcore int340x_thermal_zone mac_hid int3400_thermal acpi_thermal_rel acpi_pad acpi_tad sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4
[ 5.442623] RIP: 0010:iwl_op_mode_mvm_start+0xa8/0xb50 [iwlmvm]
输出lspci -nnk | grep 0280 -A3
:
00:14.3 Network controller [0280]: Intel Corporation Device [8086:02f0]
Subsystem: Intel Corporation Device [8086:0030]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
我很乐意发布解决此问题所需的更多输出,但我不确定此时会有什么用处,所以请告诉我。谢谢你的帮助。