<div dir="ltr">Hi all,<div><br></div><div>I'm currently evaluating the capabilities of wpa_supplicant in a network environment where the networked PCs are moving and require fast switch-over times between BSSIDs in a wifi mesh.</div>
<div><br></div><div>I'm using the bgscan simple feature, which seems to work quite well for the most part.</div><div><br></div><div>However, I'm finding that one of my systems refuses to automatically switch to an AP with a better signal, even though its current signal is well below the threshold value, and the scan interval time is passed (even the long interval). Even trying to force the switch manually (using wpa_cli roam) doesn't work.</div>
<div><br></div><div>I'm fairly certain the conf file is being read. At least, the conf file contains the password and the system does at least connect properly.</div><div><br></div><div>Does anyone have any idea what might be preventing my system from switching?</div>
<div><br></div><div>If it helps, my wpa_supplicant.conf contains the following settings:</div><div><br></div><div><div>ctrl_interface=/var/run/wpa_supplicant</div><div>eapol_version=1</div><div>ap_scan=1</div><div>fast_reauth=1</div>
<div>network={<br></div><div> ssid=”wifi-mesh”</div><div> psk=”password”</div><div> scan_freq=2412</div><div> bgscan=”simple:10:-45:120”</div><div>}</div></div><div><br></div><div>wpa_supplicant is being started by ifup using the following command line:</div>
<div>/sbin/wpa_supplicant -s -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -u -D nl80211 -c /etc/wpa_supplicant.conf</div><div><br></div><div>I'm using -u to enable DBus and have written code to read status this way. I'm not using Network Manager.</div>
<div><br></div><div>Also, I'm using Debian Wheezy, which uses an older version of wpa_supplicant (1.0). Perhaps the most recent version is improved in this area?</div><div><br></div><div>Cheers,</div><div>Matthew</div>
<div><br></div></div>