按照官方描述,进行安装,完全无法安装,最后还是在国外一家网站,找到sh脚本,进行安装成功,现分享给大家:

以下是官方描述:

Debian 9 "Stretch"
Add a "non-free" component to /etc/apt/sources.list, for example:

# Debian 9 "Stretch"
deb http://httpredir.debian.org/debian/ stretch main contrib non-free
Update the list of available packages and install the firmware-iwlwifi package:

# apt-get update && apt-get install firmware-iwlwifi
As the iwlwifi module is automatically loaded for supported devices, reinsert this module to access installed firmware:

# modprobe -r iwlwifi ; modprobe iwlwifi
Configure your wireless interface as appropriate.

以下是安装脚本

#!/bin/bash
#*******************************************************************************************************************************
#*                                                                                                                             *
#* After  you  update  Debian 8  ('jessie')  to  Debian  Testing,  running a Linux 4.1 kernel,  the following messages will be *
#* displayed during the boot process:                                                                                          *
#*                                                                                                                             *
#*    iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-7260-13.ucode (-2)                                                *
#*    iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-7260-12.ucode (-2)                                                *
#*    iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-7260-11.ucode (-2)                                                *
#*    iwlwifi 0000:02:00.0: Firmware has old API version, expected v12 through v13, got v10.                                   *
#*    iwlwifi 0000:02:00.0: New firmware can be obtained from http://www.intellinuxwireless.org/.                              *
#*                                                                                                                             *
#* Later on, when Debian Testing upgrades to a Linux 4.2 kernel, similar messages may appear:                                  *
#*                                                                                                                             *
#*    iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-7260-15.ucode (-2)                                                *
#*    iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-15.ucode failed with error -2                                *
#*    iwlwifi 0000:02:00.0: firmware: direct-loading firmware iwlwifi-7260-14.ucode                                            *
#*    iwlwifi 0000:02:00.0: firmware: direct-loading firmware iwlwifi-7260-17.ucode                                            *
#*    iwlwifi 0000:02:00.0: loaded firmware version 25.30.14.0 op_mode iwlmvm                                                  *
#*                                                                                                                             *
#* Subsequently,  whenever the system upgrades its kernel to a new version,  such messages  may again be produced whenever the *
#* system is booted.                                                                                                           *
#*                                                                                                                             *
#* This script will download the new firmware files and copy them to the '/lib/firmware' directory.                            *
#*                                                                                                                             *
#*******************************************************************************************************************************


URL_INTEL_LINUX_WIRELESS='https://wireless.wiki.kernel.org/en/users/Drivers/iwlwifi'
TGTDIR="${HOME}"'/opt/firmware-iwlwifi'


mkdir --parents --verbose "${TGTDIR}"   &&   cd "$_"   &&
wget --output-document=- --quiet "${URL_INTEL_LINUX_WIRELESS}"   |
sed --regexp-extended --quiet --expression='s~^.*<a +href="([^"]+(iwlwifi-7260-ucode.+\.tgz))"[^>]+>\2</a>.*$~\1~p'   |
wget --base="${URL_INTEL_LINUX_WIRELESS}" --input-file=-   &&
shopt -s nullglob   &&   for X1 in 'iwlwifi-'*'.tgz.1'
do
   X="${X1%.1}"
   if cmp --quiet "${X1}" "${X}"
   then
      rm --force --verbose "${X1}"
   else
      XD="${X%.tgz}"
      rm --force --recursive --verbose "${X}" "${XD}"
      mv --verbose "${X1}" "${X}"
   fi
done   &&
for X in 'iwlwifi-'*'.tgz'
do
   XD="${X%.tgz}"
   if [ ! -e "${XD}" ]
   then
      tar --extract --gunzip --verbose --file "${X}"
      sudo install --mode 644 --target-directory='/lib/firmware' --verbose "${XD}"'/'*'.ucode'
   fi
done

作者 uoscn