For some reason wlan0 is not fully activated when my system boots up. It's a Broadcom 4310 running via ndiswrapper.

KNetworkManager lists all available wifi networks, so the thing is clearly working. But it won't actually connect to one. It gets to 28% 'Configuring Device' and just stops.

KWifiManager on the other hand, will connect. I select a network, give it the root password, and all's well. After this, KNetworkManager also works normally. So clearly KWifiManager is doing some final stage of activation.

So my question is, does anyone know what that extra activation step that wifimgr does is? And how I might go about doing that from a script that runs a boot time?