Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My custom-built 2.6.32 kernel cannot connect to any WPA-protected network.

The kernel includes (probably?) everything that should be needed for wifi, including IPv4 network support (IPv6 is disabled), the ath5k wireless driver (which is used in the generic Ubuntu 2.6.31 kernel) and all crypto APIs.

The card is being detected, however, iwlist scan returns

wlan0     Failed to read scan data : Network is down

and network-manager log says

<info>  (wlan0): driver supports SSID scans (scan_capa 0x01).
<info>  (wlan0): new 802.11 WiFi device (driver: 'ath5k')
<info>  (wlan0): exported as /org/freedesktop/NetworkManager/Devices/1
<info>  (wlan0): now managed
<info>  (wlan0): device state change: 1 -> 2 (reason 2)
<info>  (wlan0): bringing up device.
<info>  (wlan0): preparing device.
<info>  (wlan0): deactivating device (reason: 2).
supplicant_interface_acquire: assertion `mgr_state == NM_SUPPLICANT_MANAGER_STATE_IDLE' failed
<info>  modem-manager is now available
<WARN>  default_adapter_cb(): bluez error getting default adapter: The name org.bluez was not provided by any .service files
<info>  Trying to start the supplicant...
<info>  (wlan0): supplicant manager state:  down -> idle
<info>  (wlan0): device state change: 2 -> 3 (reason 0)
<WARN>  nm_supplicant_interface_add_cb(): Unexpected supplicant error getting interface: wpa_supplicant couldn't grab this interface.

The exact same configuration works with the generic kernel.

Is anything except wifi and crypto api needed for wi-fi to work?

share|improve this question
Why do you still use those old kernel versions and those prehistoric tools like iwconfig and iwlist ? – BatchyX Apr 12 '14 at 8:56

You don't say which release candidate you built. -rc2 had issues with wlan.

So if that's what you built from, consider pulling -rc8 + and rebuilding.

Hope this helps,

share|improve this answer
whoops let me update that - 2.6.32 was released; no need to look at release candidates anymore. linux-2.6.32-rc8.tar.bz2 – pbr Dec 7 '09 at 20:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .