WiFi asks for password again and again

23,043

These adapters do not support 802.11n protocol well (at least on linux), but iwlwifi driver tries to use it. You can disable this protocol by running in terminal

sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "options iwlwifi 11n_disable=1"

This will be applied after a reboot.

Share:
23,043

Related videos on Youtube

bha159
Author by

bha159

Discovered Ubuntu after using computer for 11 years. Instantly fell in love with it. Still lot to learn :)

Updated on September 18, 2022

Comments

  • bha159
    bha159 over 1 year

    The Problem

    • My WiFi network disconnects itself randomly and starts asking for password.
    • The password is already stored, I just have to click on connect.
    • When I click on connect, it remains connected for some time then again disconnects and sometimes it even does not connects.
    • The speed while being connected is very low and torrents are not downloading.
    • When I sometimes connect to WiFi I get System encountered a error dialogue box

    What did I do

    • I go to Edit connections and make sure that All users can connect is ticked.
    • I also deleted config file of connection from /etc/NetworkManager/system-conncections

    I still can't connect to WiFi sometimes and it disconnects automatically if I'm ablee to get connected after some time. So what should I do?

    After googling I found that this problem has been encountered in earlier versions, I'm using Ubuntu 16.04 so if there is a permanent solution which can help everyone that will be the best.

    P.S.- I have already tried these links:

    Also the WiFi network works fine with my mobile.If more information is needed than let me know and how I can find it.

    Also after seeing this I have a hardware detection problem, what logs do I need to look into? i found that no card was soft or hard blocked and rest info I found after using commands are on http://paste.ubuntu.com/19615988/

    Output of lspci -knn | grep Net -A2

    02:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 130 [8086:0896] (rev 34)
    Subsystem: Intel Corporation Centrino Wireless-N 130 BGN [8086:5005] Kernel driver in use: iwlwifi

    New Update: I can't connect to my WiFi network, I have to use USB tethering in mobile to use internet on my laptop.

    • Admin
      Admin almost 8 years
      Please edit your question and add output of lspci -knn | grep Net -A2 terminal command.
    • Admin
      Admin almost 8 years
      Run sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "options iwlwifi 11n_disable=1", reboot and test again.
    • Admin
      Admin almost 8 years
      @Pilot6 thanks it worked. Can you write a answer so that I can accept it and it will also help others and please mention what does this command did?
    • Admin
      Admin almost 8 years
      There are a few adapters that do not support this protocol. This solution is applicable to all of them. I could not find an wxact duplicate, so I wrote an answer.
  • Mansoor Ahmed Memon
    Mansoor Ahmed Memon almost 4 years
    This is my output for lspci -knn | grep Net -A2 -> 02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01) Subsystem: Dell Wireless 1704 802.11n + BT 4.0 [1028:0016] Kernel driver in use: wl. What should I use?
  • Pilot6
    Pilot6 almost 4 years
    This is a different device and unrelated to this case.
  • Mansoor Ahmed Memon
    Mansoor Ahmed Memon almost 4 years
    Yeah, but I am facing the same issue.
  • Pilot6
    Pilot6 almost 4 years
    You can always ask a new question.
  • Mansoor Ahmed Memon
    Mansoor Ahmed Memon almost 4 years