Wireless Woes: iwlwifi-8265 – Ubuntu 18.04 (and Mint Tara)

I am trying to set up two machines, both have identical hardware that should be supported by the newer Linux kernels. The wireless card inside is a GIGABYTE “GC-WB867D-I” Wifi+Bluetooth. Out of the box the Bluetooth works, however the Wifi does not.


The kerenel version via: uname -r

5.0.0-31-generic

The firmware version via: modinfo iwlwifi | grep 8265

firmware: iwlwifi-8265-36.ucode

The firmware file code via: lsmod | grep iwlwifi

iwlwifi 315392 1 iwlmvm

The Network controller via: sudo lspci | grep Network

41:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)


The more verbose Network controller via ID: sudo lspci -vnd 8086:24fd

41:00.0 0280: 8086:24fd (rev 78) Subsystem: 8086:1010 Flags: bus master, fast devsel, latency 0, IRQ 139 Memory at fa400000 (64-bit, non-prefetchable) [size=8K] Capabilities: [c8] Power Management version 3 Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [40] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [140] Device Serial Number 48-89-e7-ff-ff-4b-c6-c0 Capabilities: [14c] Latency Tolerance Reporting Capabilities: [154] L1 PM Substates Kernel driver in use: iwlwifi Kernel modules: iwlwifi, wl

And finally the most verbose via the debug script: wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && chmod +x wireless-info && ./wireless-info

Text file excerpt:

########## wireless info START ##########  Report from: 14 Oct 2019 20:53 PDT -0700  Booted last: 14 Oct 2019 00:00 PDT -0700  Script from: 22 Oct 2018 03:34 UTC +0000  ##### release ###########################  Distributor ID: Ubuntu Description:    Ubuntu 18.04.3 LTS Release:    18.04 Codename:   bionic  ##### kernel ############################  Linux 5.0.0-31-generic #33~18.04.1-Ubuntu SMP Tue Oct 1 10:20:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux  Parameters: ro, quiet, splash  ##### desktop ###########################  Ubuntu  ##### lspci #############################  04:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)     Subsystem: Gigabyte Technology Co., Ltd I211 Gigabit Network Connection [1458:e000]     Kernel driver in use: igb  41:00.0 Network controller [0280]: Intel Corporation Wireless 8265 / 8275 [8086:24fd] (rev 78)     Subsystem: Intel Corporation Dual Band Wireless-AC 8265 [8086:1010]     Kernel driver in use: iwlwifi  ##### lsusb #############################  Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 005 Device 003: ID 05b8:3279 Agiler, Inc.  Bus 005 Device 002: ID 046d:c069 Logitech, Inc. M-U0007 [Corded Mouse M500] Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 005: ID 2357:0108   Bus 001 Device 003: ID 8087:0a2b Intel Corp.  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  ##### PCMCIA card info ##################  ##### rfkill ############################  0: hci0: Bluetooth     Soft blocked: no     Hard blocked: no 3: phy3: Wireless LAN     Soft blocked: no     Hard blocked: no  ##### secure boot #######################  SecureBoot disabled Platform is in Setup Mode  ##### lsmod #############################  wl                   6447104  0 iwlmvm                389120  0 rtl8xxxu              126976  0 mac80211              819200  2 iwlmvm,rtl8xxxu iwlwifi               315392  1 iwlmvm wmi_bmof               16384  0 mxm_wmi                16384  1 nouveau cfg80211              679936  4 wl,iwlmvm,iwlwifi,mac80211 wmi                    28672  3 wmi_bmof,mxm_wmi,nouveau  ##### interfaces ########################  [/etc/network/interfaces] auto lo iface lo inet loopback  etc.... etc....  ##### NetworkManager.state ##############  [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true  ##### NetworkManager config #############  [[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]] [connection] wifi.powersave = 3  [[/etc/NetworkManager/NetworkManager.conf]] [main] plugins=ifupdown,keyfile [ifupdown] managed=false [device] wifi.scan-rand-mac-address=no  [[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]] [main] dns=systemd-resolved  [[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]] [keyfile] unmanaged-devices=*,except:type:wifi,except:type:wwan  [[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]] [connectivity] uri=http://connectivity-check.ubuntu.com/  [[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]] [device-mac-addr-change-wifi] match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl wifi.scan-rand-mac-address=no wifi.cloned-mac-address=preserve ethernet.cloned-mac-address=preserve  ##### NetworkManager profiles ###########   ##### Netplan config ####################  [/etc/netplan/01-network-manager-all.yaml] network:   version: 2   renderer: NetworkManager   etc.... etc....   ##### module parameters #################  [iwlmvm] init_dbg: N power_scheme: 2 tfd_q_hang_detect: Y  grep: /sys/module/rtl8xxxu/parameters/debug: Permission denied grep: /sys/module/rtl8xxxu/parameters/dma_agg_pages: Permission denied grep: /sys/module/rtl8xxxu/parameters/dma_aggregation: Permission denied grep: /sys/module/rtl8xxxu/parameters/dma_agg_timeout: Permission denied grep: /sys/module/rtl8xxxu/parameters/ht40_2g: Permission denied [rtl8xxxu]  [mac80211] beacon_loss_count: 7 ieee80211_default_rc_algo: minstrel_ht max_nullfunc_tries: 2 max_probe_tries: 5 minstrel_vht_only: Y probe_wait_ms: 500  [iwlwifi] 11n_disable: 0 amsdu_size: 0 antenna_coupling: 0 bt_coex_active: Y d0i3_disable: Y d0i3_timeout: 1000 disable_11ac: N disable_11ax: N enable_ini: N fw_monitor: N fw_restart: Y lar_disable: N led_mode: 0 nvm_file: (null) power_level: 0 power_save: N remove_when_gone: N swcrypto: 0 uapsd_disable: 3  [cfg80211] bss_entries_limit: 1000 cfg80211_disable_40mhz_24ghz: N ieee80211_regdom: 00 

What I have tried…


Replace the iwlwifi-8265-22.ucode file in /lib/firmware/ folder with the drivers from Intel. The folder contains, iwlwifi-8265 (-21), (-22), (-27), (-31), (-34), (-36) for newer kerenls I’d assume.


Changed the power settings via gedit, wifi.powersave = 3 (3) -> (2) -> (1) in file/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf


Updated, upgraded, updated kernels etc… I am usually okay at troubleshooting linux issues, however this one has me stumped. I noticed the firmware version points to iwlwifi-8265-36.ucode, while the Intel driver points to iwlwifi-8265-22.ucode. Is this the issue?


I have lost a day to this problem, and normally I can solve these issues somewhat quickly. With any luck I can solve the issue within the next day, else I will buy two new PCI cards :<. Any help is greatly appreciated, thanks!