0

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'.

  1. 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"
    
  2. 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.

  3. 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
    

1 Answers1

0

basically what dmesg | grep iwl is telling you is that the driver for your wireless card is not being loaded into the kernal, which is why it's not working. So what you need to do is install the driver for your wireless correctly, here's how to do that with the driver you downloaded.

  1. go to the Downloads folder cd ~/Downloads.
  2. unpack the .tgz file. tar -xzvf iwlwifi-7265-ucode-25.17.12.0.tgz
  3. cd into the directory cd iwlwifi-7265-ucode-25.17.12.0
  4. copy the driver files to the correct location.

    sudo cp iwlwifi-7265-12.ucode /lib/firmware
    sudo cp iwlwifi-7265D-12.ucode /lib/firmware
    
  5. The command you entered in your first step sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "11n_disable=1" actually deletes the whole config file and replaces it with 11n_disable=1. so you will need to open up that file in a text editor as a super user and put the original code back in it. gksudo gedit /etc/modprobe.d/iwlwifi.conf

  6. copy and paste this code into the file and save (this was taken from the config file on my computer).

    # /etc/modprobe.d/iwlwifi.conf
    # iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
    # microcode file installed on the system.  When removing iwlwifi, first
    # remove the iwl?vm module and then iwlwifi.
    remove iwlwifi \
    (/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
    && /sbin/modprobe -r mac80211