Cannot connect automatically to access point when using hostap_pci
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: network-manager
Description of the problem:
Using NetworkManager to connect to an unencrypted access point fails when using the hostap_pci driver.
Steps to reproduce:
1. Start Ubuntu.
2. Log in.
3. Wait for a list of access points to be shown in nm-applet.
4. Select the access point you wish to connect to.
Expected result:
Animated NetworkManager icon to occur followed (after 5 seconds) by one green light then a second green light. Working internet connection to have been established.
Actual result:
No green lights ever occur. After some time network manager gives up and no internet connection has been established.
How reproducible is this problem:
It is reproducible every time.
Additional information:
I have hand compiled the orinoco_pci drivers from 2.6.24 (as Ubuntu doesn't ship them) and NetworkManager successfully connects when those are loaded instead of hostap_pci. It is possible to manually (via iwconfig, ifconfig and dhclient) to connect to the access point using hostap_pci. Here is what NetworkManager prints to the daemon.log:
Apr 4 13:40:09 g NetworkManager: <debug> [1207312809.251213] nm_hal_
ci_1260_3873').
Apr 4 13:40:09 g NetworkManager: <debug> [1207312809.266961] nm_hal_
0_09_5b_2f_69_00').
Apr 4 13:40:09 g NetworkManager: <info> wlan0: Device is fully-supported using driver 'hostap_pci'.
Apr 4 13:40:09 g NetworkManager: <info> wlan0: driver supports SSID scans (scan_capa 0x01).
Apr 4 13:40:09 g NetworkManager: <info> nm_device_init(): waiting for device's worker thread to start
Apr 4 13:40:09 g NetworkManager: <info> nm_device_init(): device's worker thread started, continuing.
Apr 4 13:40:09 g NetworkManager: <info> Now managing wireless (802.11) device 'wlan0'.
Apr 4 13:40:09 g NetworkManager: <info> Deactivating device wlan0.
Apr 4 13:40:11 g avahi-daemon[4677]: Registering new address record for fe80::209:
Apr 4 13:40:23 g NetworkManager: <info> User request to enable wireless.
Apr 4 13:40:34 g NetworkManager: <info> SWITCH: no current connection, found better connection 'wlan0'.
Apr 4 13:40:34 g NetworkManager: <info> Will activate connection 'wlan0/Wireless'.
Apr 4 13:40:34 g NetworkManager: <info> Device wlan0 activation scheduled...
Apr 4 13:40:34 g NetworkManager: <info> Activation (wlan0) started...
Apr 4 13:40:34 g NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Apr 4 13:40:34 g NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Apr 4 13:40:34 g NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Apr 4 13:40:34 g NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Apr 4 13:40:34 g NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Apr 4 13:40:34 g NetworkManager: <info> Activation (wlan0/wireless): access point 'Wireless' is unencrypted, no key needed.
Apr 4 13:40:36 g NetworkManager: <info> SUP: sending command 'INTERFACE_ADD wlan0^I^
Apr 4 13:40:36 g NetworkManager: <info> SUP: response was 'OK'
Apr 4 13:40:36 g NetworkManager: <info> SUP: sending command 'AP_SCAN 1'
Apr 4 13:40:36 g NetworkManager: <info> SUP: response was 'OK'
Apr 4 13:40:36 g NetworkManager: <info> SUP: sending command 'ADD_NETWORK'
Apr 4 13:40:36 g NetworkManager: <info> SUP: response was '0'
Apr 4 13:40:36 g NetworkManager: <info> SUP: sending command 'SET_NETWORK 0 ssid 576972656c657373'
Apr 4 13:40:36 g NetworkManager: <info> SUP: response was 'OK'
Apr 4 13:40:36 g NetworkManager: <info> SUP: sending command 'SET_NETWORK 0 key_mgmt NONE'
Apr 4 13:40:36 g NetworkManager: <info> SUP: response was 'OK'
Apr 4 13:40:36 g NetworkManager: <info> SUP: sending command 'ENABLE_NETWORK 0'
Apr 4 13:40:36 g NetworkManager: <info> SUP: response was 'OK'
Apr 4 13:40:36 g NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Apr 4 13:40:42 g NetworkManager: <info> Old device 'wlan0' activating, won't change.
Apr 4 13:41:14 g last message repeated 3 times
Apr 4 13:41:36 g last message repeated 2 times
Apr 4 13:41:36 g NetworkManager: <info> Activation (wlan0/wireless): association took too long (>60s), failing activation.
Apr 4 13:41:36 g NetworkManager: <info> Activation (wlan0) failure scheduled...
Apr 4 13:41:36 g NetworkManager: <info> Activation (wlan0) failed for access point (Wireless)
Apr 4 13:41:36 g NetworkManager: <info> Activation (wlan0) failed.
Apr 4 13:41:36 g NetworkManager: <info> Deactivating device wlan0.
Version information:
Ubuntu hardy (development branch)
network-manager 0.6.6-0ubuntu5
linux-image-
Forgot to mention that the card is a Netgear MA311 PCI card (Intersil Prism 2.5 chipset) with 1.7.4 secondary firmware. NetworkManager can use hostap_pci to connect to the access point without trouble under Gutsy.
lspci:
00:0f.0 Network controller: Intersil Corporation Prism 2.5 Wavelan chipset (rev 01)