Hello everyone,
I will try to be as clear as possible.
I am using Connman to manage my network interfaces and I am facing an issue when I try to connect to SSIDs that are emitted by multiple APs.
I am in a company network where there are multiple APs with the same SSID on different channels.
On channel 1 there is one AP but the channel is overcrowded so it is hard to connect ( I guess it is because of that, but anyway Conman does not manage to connect using AP on channel 1).
The thing is when I ask connman to connect to my SSID using conmanctl it will always try to connect to the AP on channel 1 and then fail and ask me if I want to retry, and if yes it will try to connect on channel 1 again rather than trying an AP on a different channel.
Here is a dmesg log showing the failure :
Code:
[ 7591.504700] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 7591.513514] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 7854.167236] cfg80211: Calling CRDA for country: US
[ 7854.283753] cfg80211: Regulatory domain changed to country: US
[ 7854.289962] cfg80211: DFS Master region: unset
[ 7854.294541] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 7854.304820] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm), (N/A)
[ 7854.313652] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm), (N/A)
[ 7854.322543] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (0 s)
[ 7854.331409] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (0 s)
[ 7854.340227] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (0 s)
[ 7854.349083] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm), (N/A)
[ 7854.357882] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 7875.005951] wlan0: authenticate with 24:a4:3c:c4:b5:20
[ 7875.079553] wlan0: send auth to 24:a4:3c:c4:b5:20 (try 1/3)
[ 7875.120973] wlan0: authenticated
[ 7875.131018] wlan0: associate with 24:a4:3c:c4:b5:20 (try 1/3)
[ 7875.150113] wlan0: RX AssocResp from 24:a4:3c:c4:b5:20 (capab=0x431 status=0 aid=3)
[ 7875.176551] wlan0: associated
[ 7879.193110] wlan0: deauthenticated from 24:a4:3c:c4:b5:20 (Reason: 2=PREV_AUTH_NOT_VALID)
[ 7879.216664] cfg80211: Calling CRDA to update world regulatory domain
[ 7879.341910] cfg80211: World regulatory domain updated:
[ 7879.347427] cfg80211: DFS Master region: unset
[ 7879.352091] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 7879.362472] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 7879.371338] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 7879.380216] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 7879.389082] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 7879.397995] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 7879.431541] cfg80211: Calling CRDA for country: US
[ 7879.552264] cfg80211: Regulatory domain changed to country: US
My question is : how can I force connman to try to connect to all APs with a particular SSID ?
EDIT : I am using Connman 1.30 and wpa_supplicant 2.5.
I hope I was clear enough and thank you for all your answers !