Is there a way to force connecting to the 5Ghz wifi band?

David Schlachter david at schlachter.ca
Mon Jan 4 14:52:45 UTC 2021


Hi Bakul,

Le lun. 4 janv. 2021, à 01 h 20, Bakul Shah <bakul at iitbombay.org> a écrit :

> I could use a different SSID for each band but wondering why
> isn't the higher speed preferred at least by default.scribe at freebsd.org
> <freebsd-wireless-unsubscribe at freebsd.org>"
>

Your 2.4 GHz and 5 GHz networks probably have different BSSIDs. In my
wpa_supplicant.conf, I list the two by BSSID instead of my SSID:

    # 5 GHz
    network={
           bssid=00:11:22:33:44:56
           psk="password"
           priority=2
    }
    # 2.4 GHz
    network={
            bssid=00:11:22:33:44:55
            psk="password"
            priority=1
    }

Best,
David


More information about the freebsd-wireless mailing list