PDA

View Full Version : NetworkManager + WPA2 Enterprise = Problems


dryicerx
2008-03-28, 12:46 PM CDT
Ok, so I just did a kernel update (2.6.23.1-42.fc8 to 2.6.24.3-50.fc8) and I have NetworkManager (0.7.0 release 0.6.7.svn3235.fc8) and wpa_supplicant (0.5.7 release 21.fc8).

Before I was able to connect to Open, WEP and WPA Personal networks wthout a problem.

After the Update, I can connect to my home WPA Personal Network as well as open access points, but when I come on campus (Texas A&M University if anyone else is from there) I am unable to connect to the Open Access points here, nor the WPA2 Enterprise Network.

When I try to Connect to the Open Access Points on campus (no encryption) I get this error on /var/log/messages

<info> ....
<info> wlan0: link time out
<into> ...
<info> Activation (wlan0/wireless): association took too long, failing activation.
<info> Activation (wlan0) failed for access point (tamulink)
<info> Marking connection 'Auto tamulink' invalid
<info> Activation (wlan0) failed.
<info> Deactivating device wlan0.
<WARN> nm_device_802_11_wireless_disable_encryption(): error setting key for device wlan0: No such file or directory
<WARN> remove_network_cb(): couldn't remove network from supplicant interface: the requested network does not exist..



And when I try to connect to tamulink-wpa (which uses WPA2 Enterprise)


<info> ...
<info> Activation (wlan0/wireless): association took too long.
<info> Activation (wlan0/wireless): asking for new secrets
<info> (wlan0) Supplicant interface state change: 3 -> 0
<info> wlan0: link timed out
<info>




My wireless chipset is 4965. I also checked the services, and wpa_supplicant is disabled and NetworkManager and NetworkManagerDispatcher are enabled. In the syste-config-network wlan0 is checked to be able to controlled by NetworkManager.

Please help. Thanks.

jtang613
2008-03-28, 01:19 PM CDT
I've had similar pain with the 4965 and Enterprise Access Points... Especially WPA2 Enterprise.

My searching has indicated that modifying the iwl4965 options line in /etc/modprobe.conf to either:

options iwl4965 disable_hw_scan=1
or
options iwl4965 disable_hw_scan=1 hwcrypto=1

... has helped some people. I use the first version with limited success. I can usually connect to my college's WPA2 Enterprise wifi - but it sometimes takes several tries and sometimes a reboot helps, sometimes restarting NM helps.

JT

dryicerx
2008-03-29, 01:00 PM CDT
Ah yeah I remember doing this when I first set up fedora
options iwl4965 disable_hw_scan=1
alias wlan0 iwl4965

I added the hwcrypto option... lets see if this works.




The even weirder thing is, when I am at home I can use my own routers WPA and connect to nearby open access points without encryption. When I am on campus (they have two wireless ap's, a WPA enterprise one and a non encrypted one we have to use with VPN) but I can't connect to either one... maybe it's a problem with the university (although Windows and OS X folks seem to connect without a hitch)

Iron_Mike
2008-03-29, 03:32 PM CDT
Change from TKIP to CCMP and see if that helps.