Sunday, April 17, 2016

Install Intel Dual Band Wireless-AC 3165 wireless driver on Ubuntu 15.04

Check your wireless card shipped

sudo update-pciids
lspci

I have,

...
07:00.0 Network controller: Intel Corporation Intel Dual Band Wireless-AC 3165 Plus Bluetooth (rev 99)

Copy firmware files

Clone all intel firmwares from OpenELEC repository,

git clone https://github.com/OpenELEC/iwlwifi-firmware
cd iwlwifi-firmware/firmware
sudo cp iwlwifi-7265*  /lib/firmware

Installing Driver

sudo apt-get install build-essential
git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git -b release/LinuxCore14
cd backport-iwlwifi
make defconfig-iwlwifi-public
sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config
make -j4
sudo make install

It will output the following,

  Building modules, stage 2.
  MODPOST 6 modules
  INSTALL /home/jasler/backport-iwlwifi/compat/compat.ko
Can't read private key
  INSTALL /home/jasler/backport-iwlwifi/drivers/net/wireless/iwlwifi/iwlwifi.ko
Can't read private key
  INSTALL /home/jasler/backport-iwlwifi/drivers/net/wireless/iwlwifi/mvm/iwlmvm.ko
Can't read private key
  INSTALL /home/jasler/backport-iwlwifi/drivers/net/wireless/iwlwifi/xvt/iwlxvt.ko
Can't read private key
  INSTALL /home/jasler/backport-iwlwifi/net/mac80211/mac80211.ko
Can't read private key
  INSTALL /home/jasler/backport-iwlwifi/net/wireless/cfg80211.ko
Can't read private key
  DEPMOD  3.19.0-58-generic
depmod will prefer updates/ over kernel/ -- OK!
Note:
You may or may not need to update your initramfs, you should if
any of the modules installed are part of your initramfs. To add
support for your distribution to do this automatically send a
patch against "update-initramfs.sh". If your distribution does not
require this send a patch with the '/usr/bin/lsb_release -i -s'
("Ubuntu") tag for your distribution to avoid this warning.

Your backported driver modules should be installed now.
Reboot.

Links

  1. list of intel linux wireless drivers
  2. How can I install intel dual band wireless-ac 3165 drivers
  3. iwlwifi core release
  4. iwlwifi community