get your intel wifi drivers recognized on debian 9

Upon installation of Debian Stretch RC2 my Intel┬« Wireless 8260 NIC isn’t recognized so I got a message telling me to install multiple missing .ucode files.
The normal procedure is to then download those missing files and place them in the root of an external usb stick. That didn’t seem to work for me as described here:
https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi
So I continued installation over an ethernet link.
I then tried installing the ucode file iwlwifi-8000-ucode-25.30.13.0 for my nic by copying it over to the
/lib/firmware/ directory and modprobing but I was still getting error messages:


patrick@stretch:~$ sudo modprobe iwlwifi
[sudo] wachtwoord voor patrick:
patrick@stretch:~$ sudo dmesg | grep iwl
[    2.476595] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
[    2.522888] iwlwifi 0000:04:00.0: firmware: failed to load iwlwifi-8000C-26.ucode (-2)
[    2.522890] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-26.ucode failed with error -2
[    2.522901] iwlwifi 0000:04:00.0: firmware: failed to load iwlwifi-8000C-25.ucode (-2)
[    2.522902] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-25.ucode failed with error -2
[    2.522909] iwlwifi 0000:04:00.0: firmware: failed to load iwlwifi-8000C-24.ucode (-2)
[    2.522910] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-24.ucode failed with error -2
[    2.522918] iwlwifi 0000:04:00.0: firmware: failed to load iwlwifi-8000C-23.ucode (-2)
[    2.522918] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-23.ucode failed with error -2

So I got wind of a package in the debian sid (Debian unstable ) repository that has an intel firmware package I might need.

patrick@stretch:~$ sudo apt-cache search firmware-iwlwifi
firmware-iwlwifi - Binary firmware for Intel Wireless cards

Once I applied this package from the sid repository my NIC got recognized and I was back in wireless heaven ­čśë
Indeed the errors were gone now:

patrick@stretch:~$ sudo modprobe iwlwifi
patrick@stretch:~$ sudo dmesg | grep iwl
[    2.536385] iwlwifi 0000:04:00.0: loaded firmware version 22.361476.0 op_mode iwlmvm
[    2.611472] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
[    2.614252] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    2.615445] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    2.752933] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    2.755201] iwlwifi 0000:04:00.0 wlp4s0: renamed from wlan0
[    3.309585] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    3.310106] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    3.440093] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    3.440508] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    3.601917] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    3.602875] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    3.732946] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    3.733361] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled

I hope this post it helpful to you!

here is some more info on the package and its content

patrick@stretch:~$ sudo apt-cache policy firmware-iwlwifi
[sudo] wachtwoord voor patrick:
firmware-iwlwifi:
  Geïnstalleerd: 20161130-2
  Kandidaat:     20161130-2
  Versietabel:
 *** 20161130-2 100
         50 http://ftp.belnet.be/debian sid/non-free amd64 Packages
        100 /var/lib/dpkg/status

patrick@stretch:/usr/lib/mozilla/plugins$ dpkg -L firmware-iwlwifi
/.
/lib
/lib/firmware
/lib/firmware/intel
/lib/firmware/intel/ibt-11-5.ddc
/lib/firmware/intel/ibt-11-5.sfi
/lib/firmware/intel/ibt-12-16.ddc
/lib/firmware/intel/ibt-12-16.sfi
/lib/firmware/intel/ibt-hw-37.7.10-fw-1.0.1.2d.d.bseq
/lib/firmware/intel/ibt-hw-37.7.10-fw-1.0.2.3.d.bseq
/lib/firmware/intel/ibt-hw-37.7.10-fw-1.80.1.2d.d.bseq
/lib/firmware/intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
/lib/firmware/intel/ibt-hw-37.7.bseq
/lib/firmware/intel/ibt-hw-37.8.10-fw-1.10.2.27.d.bseq
/lib/firmware/intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
/lib/firmware/intel/ibt-hw-37.8.10-fw-22.50.19.14.f.bseq
/lib/firmware/intel/ibt-hw-37.8.bseq
/lib/firmware/iwlwifi-100-5.ucode
/lib/firmware/iwlwifi-1000-5.ucode
/lib/firmware/iwlwifi-105-6.ucode
/lib/firmware/iwlwifi-135-6.ucode
/lib/firmware/iwlwifi-2000-6.ucode
/lib/firmware/iwlwifi-2030-6.ucode
/lib/firmware/iwlwifi-3160-12.ucode
/lib/firmware/iwlwifi-3160-14.ucode
/lib/firmware/iwlwifi-3160-16.ucode
/lib/firmware/iwlwifi-3160-17.ucode
/lib/firmware/iwlwifi-3160-9.ucode
/lib/firmware/iwlwifi-3168-21.ucode
/lib/firmware/iwlwifi-3168-22.ucode
/lib/firmware/iwlwifi-3945-2.ucode
/lib/firmware/iwlwifi-4965-2.ucode
/lib/firmware/iwlwifi-5000-2.ucode
/lib/firmware/iwlwifi-5000-5.ucode
/lib/firmware/iwlwifi-5150-2.ucode
/lib/firmware/iwlwifi-6000-4.ucode
/lib/firmware/iwlwifi-6000g2a-5.ucode
/lib/firmware/iwlwifi-6000g2a-6.ucode
/lib/firmware/iwlwifi-6000g2b-6.ucode
/lib/firmware/iwlwifi-6050-4.ucode
/lib/firmware/iwlwifi-6050-5.ucode
/lib/firmware/iwlwifi-7260-12.ucode
/lib/firmware/iwlwifi-7260-14.ucode
/lib/firmware/iwlwifi-7260-16.ucode
/lib/firmware/iwlwifi-7260-17.ucode
/lib/firmware/iwlwifi-7260-9.ucode
/lib/firmware/iwlwifi-7265-12.ucode
/lib/firmware/iwlwifi-7265-14.ucode
/lib/firmware/iwlwifi-7265-16.ucode
/lib/firmware/iwlwifi-7265-17.ucode
/lib/firmware/iwlwifi-7265-9.ucode
/lib/firmware/iwlwifi-7265D-12.ucode
/lib/firmware/iwlwifi-7265D-14.ucode
/lib/firmware/iwlwifi-7265D-16.ucode
/lib/firmware/iwlwifi-7265D-17.ucode
/lib/firmware/iwlwifi-7265D-21.ucode
/lib/firmware/iwlwifi-7265D-22.ucode
/lib/firmware/iwlwifi-8000C-14.ucode
/lib/firmware/iwlwifi-8000C-16.ucode
/lib/firmware/iwlwifi-8000C-21.ucode
/lib/firmware/iwlwifi-8000C-22.ucode
/lib/firmware/iwlwifi-8265-21.ucode
/lib/firmware/iwlwifi-8265-22.ucode
/usr
/usr/share
/usr/share/appdata
/usr/share/appdata/firmware-iwlwifi.metainfo.xml
/usr/share/bug
/usr/share/bug/firmware-iwlwifi
/usr/share/bug/firmware-iwlwifi/presubj
/usr/share/doc
/usr/share/doc/firmware-iwlwifi
/usr/share/doc/firmware-iwlwifi/changelog.Debian.gz
/usr/share/doc/firmware-iwlwifi/copyright

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s