Backport for iwlwifi

To use iwlwifi backports you could

sudo apt-get install git build-essential
git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git
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
After a reboot check dmesg | grep iwl to see if at least one version of firmware is loaded, you can find the firmware, if needed at https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/

Update for January 2020 The package backport-iwlwifi-dkms is in the Bionic repos and is very similar to the above, this will automatically build new drivers when a newer kernel is installed. There is also a PPA that will have a newer version than what is in the repo, to install this do

sudo add-apt-repository ppa:canonical-hwe-team/backport-iwlwifi
sudo apt-get update
sudo apt install backport-iwlwifi-dkms
Reboot


I solved it with upgrading to kernel 4.17.1 from http://kernel.ubuntu.com/~kernel-ppa/mainline/

I installed

  • linux-headers-4.17.1-041701_4.17.1-041701.201806111730_all.deb
  • linux-image-unsigned-4.17.1-041701-generic_4.17.1-041701.201806111730_amd64.deb
  • linux-modules-4.17.1-041701-generic_4.17.1-041701.201806111730_amd64.deb

After that my WIFI-connection was successfully established and the driver works as expected.


Typing sudo apt install backport-iwlwifi-dkms on terminal resolved the issue.