[Guide] Install Intel Wireless Drivers on Linux

This is so stupid, how tf is system supposed to download new driver after Kernel update when Kernel update breaks driver compatibility completely and this is the only internet adapter.

I just reinstalled the OS.

@Jeremy_Schneider, great tip! I also tried multiple reboots after adding the driver, but only the “harder” reboot of holding down the power button got it to finally work. Thanks!

1 Like

Today, I ran into an issue with the wireless driver. Somehow, there are 2 iwlwifi-ty-a0-gf-a0-XX.ucode in /lib/firmware: -59 and 63 version. When the computer starts booting with 63 version, the wifi disappears. My fix is removing the /lib/firmware/iwlwifi-ty-a0-gf-a0-63.ucode and reboot to force the computer to boot with -59.ucode.

Does anyone have a better tip to fix this? or should i stick with -59.ucode version?
Here is my kernel version:
Linux 5.14.0-1020-oem #22-Ubuntu SMP Thu Jan 13 18:22:21 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

I got my DIY today. I got everything up and working, Including the wifi over my lunch break. Installed Fedora 35. Updated my system. I turned it off because I was starting work.
Work ends and I was all excited to jump onto my machine …alas no Internet. WIFI adaptor not found. So I figure I did not get the wires on quite right or something was loose. I do it two more times… Nothing. Then I found this but I am not able to get the driver I copied to install in /lib/firmware/ I am not sure what I need to do here. I did confirm that my issue is the driver. I booted to the live disk and SHAZAM! I have wifi. Any suggestions?
thanks,
Pete

I am just going to reinstall Fedora from my live boot disk. It is less time. I had not installed any software.
Update…Install done in like 5 min! wifi is back.

If others go this route… and want to update system without updating the kernel:
sudo dnf update --exclude=kernel*

I tried this, but still no wifi. My wifi works fine in 5.13, but not at all in 5.15. (However bluetooth works in 5.15 but not 5.13).

So…
I reinstalled 5.15.19-1-MANJARO (no wifi) and found the following in the boot log (journalctl -b 0):

kernel: iwlwifi 0000:aa:00.0: Loaded firmware version: 66.f1c864e0.0 ty-a0-gf-a0-66.ucode

kernel: iwlwifi 0000:aa:00.0: Failed to start RT ucode: -110

I moved iwlwifi-ty-a0-gf-a0-66.ucode to iwlwifi-ty-a0-gf-a0-66.ucode.bak and rebooted. The system came up with wifi working. Looking into the current boot log:

kernel: iwlwifi 0000:aa:00.0: loaded firmware version 63.c04f3485.0 ty-a0-gf-a0-63.ucode op_mode iwlmvm

Bluetooth is also working.

1 Like

I also managed to fix it, but I honestly don’t remember what I’ve done. I know that I moved all .pnvm files to .bak and after some reboots it worked. KDE Neon, btw.

Edit: I mean, I can check my bash history.

1 Like

I downloaded the driver file mentioned by the OP and looked at was in it.

iwlwifi-ty-a0-gf-a0-59.ucode

Then I looked in my debian bullseye /lib/firmware dir and saw:

iwlwifi-ty-a0-gf-a0-59.ucode
iwlwifi-ty-a0-gf-a0-62.ucode
iwlwifi-ty-a0-gf-a0.pnvm

Seems like debian bullseye comes with the required firmware? Maybe it’s a matter of how to force the correct driver to be loaded?

1 Like

Wifi wasn’t working for me on Manjaro with Kernel 5.15.41-1.
I used the steps described in the original post, but it still didn’t work after that. @Richard_Tango-Lowy 's solution helped me out though. using dmesg I looked at the boot log:

sudo dmesg

I found the same error message as described in his post. I then removed firmware version in question:

sudo mv /lib/firmware/iwlwifi-ty-a0-gf-a0-64.ucode /lib/firmware/iwlwifi-ty-a0-gf-a0-64.bak

followed by a reboot:

sudo reboot now

I had to repeat this process of looking up the firmware version causing problems 4 more times, until one of them (ty-a0-gf-a0-59.ucode) finally worked.

1 Like

Glad to be of service ;- )

1 Like

@Bart_van_der_Heijden

Hi, Bart. Thanks for writing up your solution with an explanation. It worked. A different file causing the problem was causing the issue for me as well so I ran the following instead:

sudo mv /lib/firmware/iwlwifi-ty-a0-gf-a0-66.ucode /lib/firmware/iwlwifi-ty-a0-gf-a0-66.bak

The best way to solve this problem without any headache is : just install a new linux firmware after deleting it first , it’s just somewhat 100 to 200MB , it will automatically get you all the required new files and will fix the bugs as well.

remove linux-firmware

sudo apt-get remove linux-firmware

reinstall linux-firmware

  1. check for update if update is there do upgrade first.
sudo apt-get update
  1. install linux-firmware
sudo apt-get -y install linux-firmware

Ideally one should not be editing the files from the firmware because they are managed by the distro provider in very systematic way, if you remove somefile somehow by mistake then it may happen that some other hardware may not work. so I will suggest reinstalling a small firmware file’s entire package is a good way rather than brainstorming for this problem of driver not available.

3 Likes

I just received my Framework. I installed Kubuntu 22 and WiFi adapter is not recognized. I tried everything here. Download and install the drivers from intel. Rename the .ucode files (I ended up renaming every single one without any success). Still no success. Oddly enough, I do not have this issue on Ubuntu proper. Anyone else have to do a new workaround to get this working?

Same, Steve1. Kubuntu 22. Tried everything. No luck. Here’s what I did that worked:

  1. Plug into a cable connection and get the internet
  2. sudo apt install linux-modules-iwlwifi-generic
  3. sudo reboot

Voila. SecureBoot too. Seems to work fine so far (an hour in).

2 Likes

Still having the problem that all FW >v63 is breaking Wifi, deleting all newer versions works - so far. But that is certainly not the future proof way to deal with it. Something is amiss and I have not found the right bug in the right issue tracker yet…

Just dropping this here:

On Ubuntu or Fedora you do not and should not need to do anything in the terminal to install Intel wireless. If you have, then I’d start over with a clean install of Ubuntu/Fedora.

Both Ubuntu 22.04/22.10 and Fedora 37 have the provided wireless card working out the box.

This is not entirely my experience. I’m running 22.04 (with kernel 5.15.0-25-generic) which indeed worked initially, but it seems to sometimes fail to initialize with the errors shown above (e.g. kernel: iwlwifi 0000:aa:00.0: Failed to start RT ucode: -110). Because it is intermittent, maybe this problem did not show up in your testing. Or maybe there is something else different in the setup (maybe it depends on timing differences due to external hardware, or differences in kernel versions or so).

In any case, deleting 66.f1c864e0.0 ty-a0-gf-a0-66.ucode makes the problem disappear for me (by forcing the driver to fall back to the ty-a0-gf-a0-63.ucode version). I do have to delete the file again whenever a system update has reinstalled it (which happened just now, so I confirm this problem still exists for me).

On Ubuntu 22.04 right now, not seeing this issue locally. I think you’re right about it being intermittent as I have not been able to duplicate this on a clean installation. Ubuntu has recommended (to us) that users are running them OEM kernel. Have you tried this? This is the kernel I use.

Edit: Fresh ISO of 20.04 .5 has kernel 5.15.0-46-generic as the default.

I’m pretty sure I found that ucode fix on an Ubuntu forum somewhere ;- )

1 Like

I have a Comet Lake wireless.
I am using Arch Linux
Bluetooth will not work in Linux but works in Windows
Here is some info on my system:

[    4.583038] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    4.589847] iwlwifi 0000:00:14.3: Detected crf-id 0x3617, cnv-id 0x20000302 wfpm id 0x80000000
[    4.589867] iwlwifi 0000:00:14.3: PCI dev 02f0/0074, rev=0x351, rfid=0x10a100
[    4.597842] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[    4.597854] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
[    4.598130] iwlwifi 0000:00:14.3: loaded firmware version 77.bd067429.0 QuZ-a0-hr-b0-77.ucode op_mode iwlmvm
[    4.697490] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x351
[    4.820169] iwlwifi 0000:00:14.3: Detected RF HR B3, rfid=0x10a100
[    4.886640] iwlwifi 0000:00:14.3: base HW address: 0c:dd:24:ab:82:13
[    5.281200] iwlwifi 0000:00:14.3: Registered PHC clock: iwlwifi-PTP, with index: 0
System:
  Kernel: 6.6.0-3-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
    root=UUID=45ca132d-4a37-4dc3-afa0-be2e80d6a4a2 rw quiet
    udev.log_priority=3 acpi_osi=! "acpi_osi=Windows 2017"
  Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.11 info: plank wm: kwin_x11
    vt: 2 dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Convertible System: HP product: HP Spectre x360 Convertible 15-df1xxx
    v: N/A serial: <superuser required> Chassis: type: 31
    serial: <superuser required>
  Mobo: HP model: 863F v: 54.24 serial: <superuser required> UEFI: AMI
    v: F.29 date: 11/02/2022
Battery:
  ID-1: BAT0 charge: 61.7 Wh (90.1%) condition: 68.5/68.5 Wh (100.0%)
    volts: 12.6 min: 11.6 model: HP Primary type: Li-ion serial: <filter>
    status: not charging cycles: 219
  Device-1: hid-0018:04F3:2992.0003-battery model: ELAN2514:00 04F3:2992
    serial: N/A charge: N/A status: N/A
Memory:
  System RAM: total: 16 GiB note: est. available: 15.26 GiB
    used: 6.01 GiB (39.4%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-10510U bits: 64 type: MT MCP
    arch: Comet/Whiskey Lake note: check gen: core 10 level: v3 note: check
    built: 2018 process: Intel 14nm family: 6 model-id: 0x8E (142)
    stepping: 0xC (12) microcode: 0xF8
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 1800 high: 1802 min/max: 400/4900 scaling:
    driver: intel_pstate governor: powersave cores: 1: 1800 2: 1800 3: 1800
    4: 1800 5: 1800 6: 1802 7: 1800 8: 1800 bogomips: 36812
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs
    ibrs_enhanced ida intel_pt invpcid lahf_lm lm mca mce md_clear mmx monitor
    movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand rdseed rdtscp
    rep_good sdbg sep sgx smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB: conditional,
    RSB filling, PBRSB-eIBRS: SW sequence
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CometLake-U GT2 [UHD Graphics] vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: eDP-1 empty: DP-1,DP-2 bus-ID: 00:02.0 chip-ID: 8086:9b41
    class-ID: 0300
  Device-2: NVIDIA GP108M [GeForce MX250] vendor: Hewlett-Packard
    driver: nvidia v: 545.29.02 alternate: nouveau,nvidia_drm non-free: 545.xx+
    status: current (as of 2023-11; EOL~2026-12-xx) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-2021 pcie: gen: 1 speed: 2.5 GT/s lanes: 4
    link-max: gen: 3 speed: 8 GT/s bus-ID: 3b:00.0 chip-ID: 10de:1d13
    class-ID: 0302
  Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia dri: iris
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 220 s-size: 443x249mm (17.44x9.80")
    s-diag: 508mm (20.01")
  Monitor-1: eDP-1 model: AU Optronics 0x30eb built: 2017 res: 3840x2160
    hz: 60 dpi: 284 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: 3840x2160
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia device: 1 drv: iris device: 3 drv: swrast surfaceless:
    drv: nvidia x11: drv: iris inactive: gbm,wayland,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 23.1.9-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics (CML GT2)
    device-ID: 8086:9b41 memory: 14.9 GiB unified: yes
  API: Vulkan v: 1.3.269 layers: 5 device: 0 type: discrete-gpu
    name: NVIDIA GeForce MX250 driver: nvidia v: 545.29.02 device-ID: 10de:1d13
    surfaces: xcb,xlib device: 1 type: integrated-gpu name: Intel UHD Graphics
    (CML GT2) driver: mesa intel v: 23.1.9-manjaro1.1 device-ID: 8086:9b41
    surfaces: xcb,xlib
Audio:
  Device-1: Intel Comet Lake PCH-LP cAVS vendor: Hewlett-Packard
    driver: sof-audio-pci-intel-cnl alternate: snd_hda_intel, snd_soc_skl,
    snd_sof_pci_intel_cnl bus-ID: 00:1f.3 chip-ID: 8086:02c8 class-ID: 0401
  API: ALSA v: k6.6.0-3-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.84 status: active with: 1: pipewire-pulse
    status: active 2: pipewire-media-session status: active 3: pipewire-alsa
    type: plugin tools: pactl,pw-cat,pw-cli
Network:
  Device-1: Intel Comet Lake PCH-LP CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:02f0 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 931.51 GiB used: 301.45 GiB (32.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: SSD 970 EVO Plus 1TB size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 2B2QEXM7 temp: 42.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 163 GiB size: 160.13 GiB (98.24%) used: 71.03 GiB (44.4%)
    fs: ext4 dev: /dev/nvme0n1p8 maj-min: 259:8 label: Manjaro
    uuid: 45ca132d-4a37-4dc3-afa0-be2e80d6a4a2
  ID-2: /boot/efi raw-size: 499 MiB size: 498 MiB (99.80%)
    used: 415.6 MiB (83.5%) fs: vfat dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: 562D-988E
  ID-3: /home raw-size: 410.57 GiB size: 403.06 GiB (98.17%)
    used: 230.02 GiB (57.1%) fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7
    label: Data for Manjaro uuid: 1f7a0eb8-f3e9-46ef-a88a-e3ae0ed0233d
  ID-4: /home/<filter>/mnt/server/music raw-size: N/A size: 2.72 TiB
    used: 1.62 TiB (59.6%) fs: cifs dev: /dev/Music
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 529 MiB fs: ntfs label: Recovery
    uuid: 28C6655CC6652AF0
  ID-2: /dev/nvme0n1p11 maj-min: 259:10 size: 16 GiB fs: swap label: N/A
    uuid: 1b9cd8e2-756a-4a24-9641-d3cdd3bed29a
  ID-3: /dev/nvme0n1p12 maj-min: 259:11 size: 3 MiB fs: ufs label: N/A
    uuid: 6354a81a1b0b8929
  ID-4: /dev/nvme0n1p3 maj-min: 259:3 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-5: /dev/nvme0n1p4 maj-min: 259:4 size: 218.98 GiB fs: ntfs label: N/A
    uuid: EAEA681CEA67E375
  ID-6: /dev/nvme0n1p5 maj-min: 259:5 size: 961 MiB fs: ntfs label: N/A
    uuid: 863E127D3E126709
  ID-7: /dev/nvme0n1p6 maj-min: 259:6 size: 90 GiB fs: ext4 label: N/A
    uuid: d702f568-b918-4354-874a-f1d82eaf1f37
  ID-8: /dev/nvme0n1p9 maj-min: 259:9 size: 31 GiB fs: ext4 label: N/A
    uuid: 91f4ccdf-2376-48ab-a390-91ea0bc4b02a
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-1:2 info: Elan Micro Wireless Keyboard type: keyboard,mouse
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s (183 KiB/s)
    lanes: 1 mode: 1.0 power: 100mA chip-ID: 04f3:01a4 class-ID: 0301
  Device-2: 1-9:3 info: Synaptics type: <vendor specific> driver: N/A
    interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 100mA chip-ID: 06cb:00bb class-ID: ff00 serial: <filter>
  Hub-2: 2-0:1 info: super-speed hub ports: 6 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 63.0 C pch: 63.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 286 Uptime: 11h 51m wakeups: 2 Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 alt: 12
  clang: 16.0.6 Packages: pm: pacman pkgs: 1905 libs: 465
  tools: pacaur,pamac,pikaur,yay pm: rpm pkgs: 0 Shell: Bash v: 5.2.15
  running-in: alacritty inxi: 3.3.31