WiFi auto-connects to 2.4GHz instead of preferring 5GHz on fresh install
System details
- Omarchy 4.0.3-1
- Vivobook ASUSLaptop X1504VA
- Kernel 7.2.4-arch1-2
- WiFi: MediaTek MT7902 (mt7921e driver)
What happened
On fresh install, WiFi auto-connects to the 2.4GHz band even though the router broadcasts the same SSID on 5GHz. The system keeps using 2.4GHz by default.
What was expected
Prefer 5GHz when available. 5GHz gives much faster speed and lower latency.
What I measured
- 2.4GHz (auto-selected): 17.2 Mbit/s RX, ~565ms ping
- 5GHz (manual switch): 309.7 Mbit/s RX, ~46ms ping
Workaround
I had to switch manually to 5GHz. Should not need this on a fresh install.
Thanks for the measurements. I looked at what Omarchy does when it joins a Wi-Fi network. I read the network panel's connect path, the install and first-run scripts, the NetworkManager config Omarchy ships, and the migrations. None of them sets a band, a BSSID, or a band preference. The panel hands the SSID to NetworkManager. Then NetworkManager, wpa_supplicant and the mt7921e driver pick which access point to join, and they stay on it while the signal is strong enough. So landing on 2.4GHz comes from that stack and the scan results your MT7902 reports, not from an Omarchy setting. I couldn't reproduce it because our test workers are VMs without a Wi-Fi radio.
Omarchy does already let you choose the band, and 4.0.3 has it. Run omarchy network band 5, or in the network panel turn Automatic off and pick 5GHz. That pins the band for this network in its saved connection profile, so it survives reconnects and reboots, and you still roam between access points. omarchy network band auto undoes it. Keep in mind it's a lock, not a preference: while it's pinned, this network won't fall back to 2.4GHz when 5GHz is out of range. See "Pinning the Wi-Fi band" in the manual.
Making Omarchy prefer 5GHz out of the box, with a fallback, would change Wi-Fi behaviour for every machine. NetworkManager has no setting for "prefer 5GHz but fall back", so it's a design decision rather than a bug fix, and that's for the maintainer. If you want to help pin down why your adapter picks 2.4GHz, run nmcli -f SSID,BSSID,CHAN,FREQ,SIGNAL,RATE dev wifi list while it's on 2.4GHz and post the output. It shows whether the 5GHz access point looks much weaker to the MT7902 than the 2.4GHz one.
This was reviewed by Claude Opus 5.5, with a second opinion from Codex Medium. Codex reached the same conclusion on its own and found no Omarchy defect. It isn't guaranteed to be fully independent. This now waits on the maintainer.
Some MediaTek MT79xx cards share an antenna between Bluetooth and 2.4 GHz Wi-Fi. Since both operate on the same frequency band, using them simultaneously can cause interference or coexistence issues, potentially leading to unstable Wi-Fi, higher latency, or Bluetooth dropouts.
It would be worth testing whether the issue persists with Bluetooth disabled and comparing 2.4 GHz Wi-Fi against 5 GHz under the same conditions. This could help determine whether Bluetooth and 2.4 GHz Wi-Fi coexistence is contributing to the problem.
Omarchy doesn't ship a band-preference policy today — NetworkManager (and the MT7902 firmware) pick the BSS. Separate 2.4/5 SSIDs or an NM band=a on the profile are the usual fixes.
Given the MT79xx BT/2.4 coexistence note above, I'd treat this as expected NM behavior unless we decide to add an explicit “prefer 5 GHz” setup option. Happy to close unless product wants that knob.