Comment 5 for bug 57146

Revision history for this message
Andrew Jorgensen (ajorg) wrote : Re: hostap drivers don't work with NetworkManager

The card is a BenQ AWL100. It's a perfectly generic prism2.5-based card almost exactly identical to Netgear's prism2.5-based card. I knew that wouldn't help much so I didn't mention it.

"Some tests with only wpa_supplicant" was meant to mean that I ran wpa_supplicant by hand. "The example open_ap config" should have read "/usr/share/doc/wpasupplicant/examples/wpa_connect_open_ap.conf". I won't bother attaching that file since you already have it.

The output of ifup --verbose eth1 with the following in /etc/network/interfaces is attached:

iface eth1 inet dhcp
        wpa-driver hostap
        wpa-ssid onenet
        wpa-key-mgmt NONE

The following /etc/network/interfaces entry works perfectly:

iface eth1 inet dhcp
        wireless-mode Managed
        wireless-essid onenet

Adding wpa-scan-ssid 1 to /etc/network/interfaces appears to work at first but running wpa_cli you can watch the following:

<2>Authentication with 00:00:00:00:00:00 timed out.
<2>Trying to associate with 00:60:1d:1f:09:54 (SSID='onenet' freq=2412 MHz)
<2>Authentication with 00:00:00:00:00:00 timed out.
<2>Trying to associate with 00:60:1d:1f:09:4c (SSID='onenet' freq=2462 MHz)
<2>Authentication with 00:00:00:00:00:00 timed out.
<2>Trying to associate with 00:60:1d:1f:09:4c (SSID='onenet' freq=2462 MHz)
<2>Authentication with 00:00:00:00:00:00 timed out.
<2>Trying to associate with 00:60:1d:1f:19:62 (SSID='onenet' freq=2432 MHz)
<2>Authentication with 00:00:00:00:00:00 timed out.
<2>Trying to associate with 00:60:1d:1f:19:62 (SSID='onenet' freq=2432 MHz)
<2>Authentication with 00:00:00:00:00:00 timed out.
<2>Trying to associate with 00:60:1d:23:92:3f (SSID='onenet' freq=2437 MHz)

The network here has multiple AP's. NetworkManager fails to even appear to work because it (unlike ifup) waits for wpasupplicant to tell it that it has authenticated properly before attempting dhcp.