Hello Ubuntu team, I managed to compare the output of NetworkManager on Fedora, where it works properly, and I found that the problem was related to a wrong wpa_supplicant driver selection made by Ubuntu's NetworkManager.
I downloaded the latest NetworkManger Ubuntu sources (network- manager_0.6.3-2ubuntu5), and I found that the patch debian/patches/10 -rml-wpa-workarounds.patch is where the problem started. There's code that detects if we're using ndiswrapper and sets a wpa_driver variable to "ndiswrapper", after that it changes code where wext is hardcoded to code where it uses the value of the wpa_driver variable. Original code (debian/patches/10-rml-wpa-workarounds.patch): --------------------------- + if (!strcmp (kernel_driver, "ath_pci")) + wpa_driver = "madwifi"; + else if (!strcmp (kernel_driver, "ndiswrapper")) + wpa_driver = "ndiswrapper"; + else + wpa_driver = "wext"; --------------------------- This should be rewritten like this: --------------------------- + if (!strcmp (kernel_driver, "ath_pci")) + wpa_driver = "madwifi"; + else if (!strcmp (kernel_driver, "ndiswrapper")) + wpa_driver = "wext"; + else + wpa_driver = "wext"; --------------------------- and there's also a line that should be changed on the next patch (debian/patches/11-j-hostap-supplicant-driver.patch). You should change the first occurrence of: --------------------------- wpa_driver = "ndiswrapper"; --------------------------- to: --------------------------- wpa_driver = "wext"; --------------------------- That way we'll be able to compile that code and make it work with the newest versions of the ndiswrapper module from the ndiswrapper website (1.23). After this everything should work properly, either with encrypted or unencrypted networks. I recommend using ndiswrapper 1.23 from ndiswrapper website since it's more robust than the version that comes with Ubuntu's linux-image. I'm sorry, but I'm not a developer and I don't really know how to package this properly. I'm reading the Ubuntu packaging manual. Expect fixed packages posted soon. -- Cannot associate with unencrypted networks using bcm43xx chipset (ndiswrapper driver) https://launchpad.net/bugs/42504 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs