I have a wireless problem with my HP-Pavilion-x360-Convertible, with a clean install of 16.04. When I click on the wireless on/off button in network settings, it always flips back to 'off'.
The first guidance I found was at No wireless connection on HP Pavilion x360 Convertible That instructed me to do:
sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "11n_disable=1"
That didn't work so I undid it (I hope) with:
sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "11n_disable=0"
I then found this page: HP Pavilion x360 wireless problem
Following the instructions, I downloaded https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-7265-ucode-25.17.12.0.tgz and ran the terminal commands:
*cd ~/Desktop/iwlwifi-7265-ucode-25.17.12.0 sudo cp iwlwifi-7265D-12.ucode /lib/firmware/iwlwifi-3165-9.ucode sudo cp iwlwifi-7265-12.ucode /lib/firmware/iwlwifi-3165-12.ucode*
That all seemed to go OK, but still no response from the wireless.
Then I ran
dmesg | grep iwl
with this result:
$ dmesg | grep iwl [ 11.190321] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-19.ucode failed with error -2 [ 11.190365] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-18.ucode failed with error -2 [ 11.190393] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-17.ucode failed with error -2 [ 11.349117] iwlwifi 0000:03:00.0: loaded firmware version 16.242414.0 op_mode iwlmvm [ 11.631088] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 3165, REV=0x210 [ 11.631940] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 11.632810] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 11.857648] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs' [ 13.386444] iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0 [ 35.012388] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 35.012608] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 35.079948] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 35.080168] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 73.393053] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 73.393282] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 73.457487] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 73.457713] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 282.586203] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 282.586437] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 282.647347] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 282.647583] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 303.112696] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 303.112928] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 303.176370] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 303.176598] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 307.822367] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 307.822602] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 307.884503] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled [ 307.884746] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled