wpa_supplicant allows you to specify frequencies restricted to the 2.4 GHz band only by adding a file /etc/wpa_supplicant.conf with a line including
freq_list=2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462
Can something similar be done in OSMC, which uses connman? The issue is that the SSID is common to both the 2.4GHz band and the 5GHz band, and the Pi will connect on 5GHz band, but the link is not very good. Thanks.
Doesn’t look like connman has a similar option. We do recommend using separate SSIDs for 2.4ghz and 5ghz.
ConnMan uses WPA supplicant, so this should work.
Is the support for wpa-supplicant new? Can we specify SSIDs, priorities, etc., and also use the file at initial installation for connection, rather than having to go through the Settings menu in OSMC later?
No – we’ve been using wpa-supplicant since 2014 (OSMC’s inception).
Changing Wifi connection settings via terminal - these old threads seemed to indicate that the wpa_supplicant.conf could not be used either for initial pre-seeding or for later configuration, but perhaps I was mistaken.
wpa-supplicant is used, but you cannot use a configuration directly.
The most comprehensive ConnMan resource is: ConnMan - ArchWiki