I'm running a TL-WR1043ND with Chaos Calmer and Open vSwitch 2.3.0 and using OpenFlow. For some reason when I have WPA2 enabled on the wireless interface (wlan0), I cannot finish an EAPOL handshake. If I disable wireless protection, I can connect and everything goes properly through the controller.
As another interesting feature, if I remove wlan0 from OVS, perform a connection using WPA2 and then add wlan0 to OVS, I can continue using the wireless connection for some amount of time, maybe a max of 5-8 minutes. After that time, a EAPOL key/Group message goes out, it fails (even though I'm responding properly) and then it goes into trying to complete the 4 packet handshake again, which fails and I lose connection.
I'm using hostapd v2.4-devel and I also have tried using wpad to call hostapd directly. I don't know if this is a lower-level network configuration issue where perhaps a handshake packet isn't getting to the hostapt process. It could be that my VLAN/OVS/interface configuration (which is very odd) could be throwing things off but the fact that no authentication works well gives me hope.
Any help is appreciated.
Here's the config that fails:
driver=nl80211
logger_syslog=127
logger_syslog_level=0
logger_stdout=127
logger_stdout_level=0
country_code=US
ieee80211d=1
hw_mode=g
channel=6
ieee80211n=1
ht_capab=[LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40]
interface=wlan0
ctrl_interface=/var/run/hostapd
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
wpa_passphrase=my_password
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=homewireless
bridge=br-lan
okc=0
disable_pmksa_caching=1
bssid=00:11:22:33:44:55
And the one that works with no authentication all the time:
driver=nl80211
logger_syslog=127
logger_syslog_level=0
logger_stdout=127
logger_stdout_level=0
country_code=US
ieee80211d=1
hw_mode=g
channel=6
ieee80211n=1
ht_capab=[LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40]
interface=wlan0
ctrl_interface=/var/run/hostapd
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
auth_algs=1
wpa=0
ssid=homewireless
bridge=br-lan
bssid=00:11:22:33:44:55
(Last edited by yamahabob on 5 Sep 2015, 21:51)