我定制的2.6.32内核无法连接到任何受WPA保护的网络。
内核包含(可能?)wifi 所需的一切,包括 IPv4 网络支持(IPv6 已禁用)、ath5k 无线驱动程序(用于通用 Ubuntu 2.6.31 内核)和所有加密 API。
卡正在被检测,但是iwlist scan
返回
wlan0 Failed to read scan data : Network is down
网络管理器日志显示
<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.
完全相同的配置适用于通用内核。
除了 wifi 和 crypto api 之外,wi-fi 还需要什么才能工作吗?
答案1
您没有说您构建了哪个候选版本。-rc2 存在 wlan 问题。
因此,如果这就是您所构建的,请考虑拉取 -rc8 + 并重建。
希望这有帮助,
-pbr