# Set 5ghz preferred instead of 2.4ghz with same SSID

**URL:** <https://forum.amebaiot.com/t/set-5ghz-preferred-instead-of-2-4ghz-with-same-ssid/2281>\
**Category:** WiFi\
**Created:** [September 29, 2023, 5:18pm UTC](https://forum.amebaiot.com/t/set-5ghz-preferred-instead-of-2-4ghz-with-same-ssid/2281 "2023-09-29T17:18:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaap\_Biesheuvel](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/jaap_biesheuvel/32/1679_2.png) [@Jaap\_Biesheuvel](https://forum.amebaiot.com/u/Jaap_Biesheuvel)\
**Post date:** [September 29, 2023, 5:18pm UTC](https://forum.amebaiot.com/t/set-5ghz-preferred-instead-of-2-4ghz-with-same-ssid/2281/1 "2023-09-29T17:18:14Z")

</div>

I have the same SSID on the 2.4 and 5 Ghz, but the rtl8720dn as a wifi client is always connecting to the 2.4Ghz. Is there a command to switch to 5 ghz (and back) or to set the 5 ghz as preferred.

---

<div class="post-metadata">

**Author:** ![dakamaster](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/dakamaster/32/1744_2.png) [@dakamaster](https://forum.amebaiot.com/u/dakamaster)\
**Post date:** [October 2, 2023, 2:07am UTC](https://forum.amebaiot.com/t/set-5ghz-preferred-instead-of-2-4ghz-with-same-ssid/2281/2 "2023-10-02T02:07:44Z")

</div>

> [@Jaap\_Biesheuvel](#):
>
> have the same SSID on the 2.4 and 5 Ghz, but the rtl8720dn as a wifi client is always connecting to the 2.4Ghz. Is there a command to switch to 5 ghz (and back) or to set the 5 ghz as preferred.

Hi @Jaap_Biesheuvel,  
Set the channel to be 36 de fault connect to 5GHz.

> **[Channel Planning Best Practices for Better Wi-Fi | Ekahau](https://www.ekahau.com/blog/channel-planning-best-practices-for-better-wi-fi/)**
>
> Developing a channel plan is critical for designing & deploying a wireless network. A well-developed channel scheme will assist with high performing WLANs.

Use `netsh wlan show interfaces` to check the WLAN adapter status.  
Thanks

---

<div class="post-metadata">

**Author:** ![Jaap\_Biesheuvel](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/jaap_biesheuvel/32/1679_2.png) [@Jaap\_Biesheuvel](https://forum.amebaiot.com/u/Jaap_Biesheuvel)\
**Post date:** [October 2, 2023, 9:20am UTC](https://forum.amebaiot.com/t/set-5ghz-preferred-instead-of-2-4ghz-with-same-ssid/2281/3 "2023-10-02T09:20:06Z")

</div>

Thanks for the response but that is not what I need. I need a simple command to set from 2.4 to 5Ghz and vice versa. Or prefferred 2.4 to 5Ghz and vice versa as a client. Which is possible for every wifi adaptor driver in Windows.
