I've been using wpa_supplicant with bcm43xx and not having any real trouble. Most of the networks I'm on are WEP encrypted however, so I don't have a lot of experience on WPA encrypted. Just for comparison, I start wpa_supplicant like this:
wpa_supplicant -Bw -Dwext -c/etc/wpa_supplicant.conf -ieth0
And my config file looks like this:
network={
ssid="HomeSSID"
key_mgmt=NONE
auth_alg=SHARED
group=WEP104
wep_key0=HexWEPKey
wep_tx_keyidx=0
priority=5
}
network={
ssid="AnotherSSID"
key_mgmt=NONE
auth_alg=SHARED
group=WEP40
wep_key0="WEPHexKEy"
wep_tx_keyidx=0
priority=4
}
network={
ssid="AThirdSSID"
key_mgmt=NONE
auth_alg=SHARED
group=WEP40
wep_key0=WEPHexKey
wep_tx_keyidx=0
priority=1
}
network={
ssid="WPA_NETOWRK_SSID"
scan_ssid=1
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="WPA_Passphrase"
priority=1
}
One thing I notice is that you're using iwconfig to partially configure the card prior to calling wpa_supplicant. You probably don't need to do this since wpa_supplicant will configure the card.
Quote:
I think I need to compile wpa_supplicant with more than wext. I tried CONFIG_DRIVER_BROADCOM=y, but it would not compile, so I am at a loss on what else to try :'(
|
As far as drivers go, no you don't need to use anything besides wext. However, did you compile the various encryption options? And don't use that Broadcom setting. I have no idea what chipset that is meant for, but I think it is actually one fo their wired cards. It certainly isn't for any Broadcom wireless card. At any rate, here is the .config I use:
Code:
#Driver interface for Host AP driver
CONFIG_DRIVER_HOSTAP=y
# Driver interface for ndiswrapper
CONFIG_DRIVER_NDISWRAPPER=y
# Driver interface for generic Linux wireless extensions
CONFIG_DRIVER_WEXT=y
# Driver interface for wired Ethernet drivers
CONFIG_DRIVER_WIRED=y
# Enable IEEE 802.1X Supplicant (automatically included if any EAP method is
# included)
CONFIG_IEEE8021X_EAPOL=y
# EAP-MD5 (automatically included if EAP-TTLS is enabled)
CONFIG_EAP_MD5=y
# EAP-MSCHAPv2 (automatically included if EAP-PEAP is enabled)
CONFIG_EAP_MSCHAPV2=y
# EAP-TLS
CONFIG_EAP_TLS=y
# EAL-PEAP
CONFIG_EAP_PEAP=y
# EAP-TTLS
CONFIG_EAP_TTLS=y
# EAP-GTC
CONFIG_EAP_GTC=y
# EAP-OTP
CONFIG_EAP_OTP=y
# LEAP
CONFIG_EAP_LEAP=y
# PKCS#12 (PFX) support (used to read private key and certificate file from
# a file that usually has extension .p12 or .pfx)
CONFIG_PKCS12=y
# Select configuration backend:
# file = text file (e.g., wpa_supplicant.conf)
CONFIG_BACKEND=file