Ubuntu 12.04 iwlwifi connection troubles

I have one laptop running over night sometimes. That requires a stable wifi connection which I found out Ubuntu 12.04 with iwlwifi could not offer. Often I returned to the desktop in the morning and network-manager disconnected hours ago without establishing a new connection. So no down and uploads since then. Manually trying to reconnect doesn’t work either. One either has to switch off and on wifi or unload and reload the iwlwifi module.

I experimented with iwlwifi options 11n_disable and swcrypto as some people on the net suggested but no luck. Wifi kept disconnecting unpredictably. Then I stumbled upon one bug addressing this misbehavior to network-manager suggesting to remove it and install wicd. That was what I did last week and had not one disconnection since then!

sudo apt-get install wicd
sudo apt-get remove --purge network-manager network-manager-gnome

Caution: you will lose your network indicator and wicd will not show anywhere in Unity. Doesn’t matter to me since I monitor my network along with other information with Conky.

4 Responses to “Ubuntu 12.04 iwlwifi connection troubles”

  1. […] week I posted about my connection problems with iwlwifi and network manager. For the duration of a week I have […]

  2. Tim says:

    Interesting. Your solution did not work for me, but I finally tracked down that the problem was not with the iwlwifi driver – it was the ethernet driver that was acting up. Rmmodding and modprobing the atl1c driver fixed the problem. I added the atl1c driver to the list of modules to unload before suspend-to-ram and I have not had another network problem since.

  3. J.L. says:

    i have similar problem with my intel 5300 device under ubuntu 12.04 with KDE/Project-Neon. My disconnects happen in enterprise-encrypted wlan-systems.

    for now it has nothing to do with the network manager!!
    1. search your device name! my device is called iwlwifi
    2. try disabling 11n support of the module.
    example in console: modprobe iwlwifi 11n_disable=1
    3. also what seems to help is if i disable hardware-en/decryption
    example in console: modprobe iwlwifi swcrypto=1
    OPTIONAL: 4. if it works for you, then write into “/etc/modprobe.d/wlan.conf” following options: options iwlwifi swcrypto=1 11n_disable=1
    This will be executed every time the device is started. if file does not exist, then create it with that options in it.

    Best Regards,

  4. David says:

    I also had the same problem. I unloaded the module of the network card, and it seems to be working now for me. I have a Samsung Ultrabook with Ubuntu 12.04

Leave a Reply