First of all, this is purely experimental. It may work well; it may work partially or it may not work at all. We never know until we try.
First, download this file to your desktop: https://www.kernel.org/pub/linux/ker...-3.16-1.tar.xz Right-click it and select 'Extract Here.' Navigate to the directory Desktop/backports-3.16-1/drivers/net/wireless/pcie and open the file drv.c with gedit, nano, leafpad or any text editor. Scroll down to line 334. We are going to add a new line below it to add your device. Change this section:
Code:
{IWL_PCI_DEVICE(0x08B1, 0xC02A, iwl7260_2n_cfg)},
{IWL_PCI_DEVICE(0x08B2, 0xC220, iwl7260_2n_cfg)},
{IWL_PCI_DEVICE(0x08B1, 0xC420, iwl7260_2n_cfg)},
...to add your device. I don't know if your device is an N, a 2N or a 2AC, so all we can do it take a guess, unless you know some other details about it. My wild guess is 2AC. So we add a new line:
Code:
{IWL_PCI_DEVICE(0x08B1, 0xC02A, iwl7260_2n_cfg)},
{IWL_PCI_DEVICE(0x08B2, 0xC220, iwl7260_2n_cfg)},
{IWL_PCI_DEVICE(0x08B1, 0xC420, iwl7260_2n_cfg)},
{IWL_PCI_DEVICE(0x08B1, 0x4C70, iwl7260_2ac_cfg)},
Spacing, caps, brackets, etc. are crucial and must be exact. Type carefully, proofread twice, save and close the text editor.
Now we compile the driver.
Code:
sudo apt-get update
sudo apt-get install linux-headers-generic build-essential
cd ~/Desktop/backports-3.16-1
make defconfig-iwlwifi
make
sudo make install
The driver requires firmware:
Code:
$ modinfo drivers/net/wireless/iwlwifi/iwlwifi.ko
filename: /home/chili/Downloads/backports-3.16-1/drivers/net/wireless/iwlwifi/iwlwifi.ko
version: backported from Linux (v3.16-0-g19583ca) using backports v3.16-1-0-g87df966
license: GPL
author: Copyright(c) 2003- 2014 Intel Corporation <ilw@linux.intel.com>
version: in-tree:d
description: Intel(R) Wireless WiFi driver for Linux
firmware: iwlwifi-100-5.ucode
firmware: iwlwifi-1000-5.ucode
firmware: iwlwifi-135-6.ucode
firmware: iwlwifi-105-6.ucode
firmware: iwlwifi-2030-6.ucode
firmware: iwlwifi-2000-6.ucode
firmware: iwlwifi-5150-2.ucode
firmware: iwlwifi-5000-5.ucode
firmware: iwlwifi-6000g2b-6.ucode
firmware: iwlwifi-6000g2a-5.ucode
firmware: iwlwifi-6050-5.ucode
firmware: iwlwifi-6000-4.ucode
firmware: iwlwifi-7265-9.ucode
firmware: iwlwifi-3160-9.ucode
firmware: iwlwifi-7260-9.ucode
firmware: iwlwifi-8000-8.ucode
If your linux-firmware package is fully updated, you probably have it; check:
Code:
ls /lib/firmware | grep 7260
If the backports package built without error and you have the firmware, you ought to be able to load the driver and have wireless (!!!).
Code:
sudo modprobe iwlwifi
iwconfig
Are there any errors or signs of distress in the log?Let us know your results; we will probably have one additional step.
Bookmarks