bgscan simple not always working

Holger Schurig holgerschurig
Mon Dec 2 02:37:39 PST 2013


Hi Matt,

most programmers here in this list use wpa_supplicant from the current
git HEAD. So if you can compile that, replicate your problem and
provide a log file, this would be helpful.

You can git clone the hostapd project, then compile only
wpa_supplicant. Then you can do "ifdown wlan0", and start the locally
compiled wpa_supplicant: "./wpa_supplicant -s -i wlan0 -D nl80211 -C
/etc/wpa_supplicant.conf -d". That way your Debian packaged
wpa_supplicant won't be clobbered for the first test(s).
wpa_supplicant automatically brings up the interface (equivalent of
"ifconfig up", not setting IP adresses etc). But that is good enought
for roaming tests.

Also note that wpa_cli has a command "roam <bssid>" as a debugging
aid. So you can try to roam manually to the AP in question, and then
observe the debug output.

Maybe the AP is simply sending beacons that he needs encryption, you
wpa_supplicant.conf file doesn't contain any encryption, so APs with
demand that are ignored for roaming decisions.



More information about the Hostap mailing list