How can I install Intel Dual Band Wireless-AC 3165 drivers?

First time trying Ubuntu and the wireless is not recognized. Can someone point me to directions how to install the wireless drivers? It is an Intel Dual Band Wireless - AC 3165. Thanks!

kevin@kevin-HP-Pavilion-Notebook:~$ uname -r
3.19.0-25-generic

kevin@kevin-HP-Pavilion-Notebook:~$ dmesg | grep iwl
[    6.436555] iwlwifi 0000:08:00.0: Unsupported splx structure
[    6.494627] iwlwifi 0000:08:00.0: Direct firmware load for iwlwifi-3165-12.ucode failed with error -2
[    6.494641] iwlwifi 0000:08:00.0: Direct firmware load for iwlwifi-3165-11.ucode failed with error -2
[    6.494649] iwlwifi 0000:08:00.0: Direct firmware load for iwlwifi-3165-10.ucode failed with error -2
[    6.494651] iwlwifi 0000:08:00.0: request for firmware file 'iwlwifi-3165-10.ucode' failed.
[    6.494659] iwlwifi 0000:08:00.0: Direct firmware load for iwlwifi-3165-9.ucode failed with error -2
[    6.494660] iwlwifi 0000:08:00.0: request for firmware file 'iwlwifi-3165-9.ucode' failed.
[    6.494661] iwlwifi 0000:08:00.0: no suitable firmware found!

Solution 1:

First, verify that you have these two files; iwlwifi-7265D-13.ucode and iwlwifi-7265-13.ucode:

ls /lib/firmware | grep 7265

If so, we are going to make copies but rename them:

cd /lib/firmware
sudo cp iwlwifi-7265D-13.ucode  iwlwifi-3165-9.ucode
sudo cp iwlwifi-7265-13.ucode  iwlwifi-3165-13.ucode

Reboot. Is the wireless working? If not, again let us see:

dmesg | grep iwl

I am not at all confident this will work prior to kernel 4.2.

To copy the downloaded files on your desktop, please right-click them and select 'Extract Here' if not done already. Then open a terminal and do:

sudo cp ~/Desktop/iwlwifi-7265-ucode-25.30-13.0/iwl* /lib/firmware

This will copy both of the ucode files to /lib/firmware. Then proceed with the steps I outlined above.

If you haven't the files to rename, please open a terminal and do:

sudo apt-get update
sudo apt-get install git
git clone https://github.com/OpenELEC/iwlwifi-firmware
cd ~/iwlwifi-firmware/firmware
sudo cp iwlwifi-7265*  /lib/firmware

Then rename and proceed as above.