omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

WiFi does not reconnect automatically after it disconnects

Open HIMANSHU11827 opened this issue 2 months ago • 1 comments

System details

  • Omarchy 4.0.3-1
  • Vivobook ASUSLaptop X1504VA
  • Kernel 7.2.4-arch1-2
  • WiFi: MediaTek MT7902 (mt7921e driver)

What happened

When the WiFi disconnects (router restart, signal loss, sleep/wake), it stays disconnected. The system never reconnects on its own. I have to manually reconnect.

What was expected

After a WiFi disconnect, Omarchy should automatically reconnect to the known network once it is available again.

Steps to reproduce

  1. Connect to WiFi
  2. Make it disconnect (e.g. turn off router or lose signal)
  3. Router comes back
  4. WiFi does not auto-reconnect — manual reconnect needed

HIMANSHU11827 avatar Sep 14 '26 15:09 HIMANSHU11827

Thanks for the report. I could not reproduce this on a stock install, so it is likely specific to this machine's driver or to its saved profile, and the logs below are what will tell those apart.

What was checked. Nothing in Omarchy turns autoconnect off or changes NetworkManager's retry behaviour: profiles created from the network panel keep NetworkManager's defaults, and the only Wi-Fi setting Omarchy ships is power save off (etc/NetworkManager/conf.d/omarchy-wifi-powersave.conf). Nothing touches the radio on sleep or lid close, and there is no MediaTek-specific handling in the tree.

What was run. On a disposable VM built from the current Omarchy image (NetworkManager 1.58.1, kernel 7.2.5), with simulated Wi-Fi (mac80211_hwsim), one radio hosting a WPA2 network and the other connected to it through a normal saved profile. With the network taken down for 20 seconds, the client reconnected on its own 10 seconds after it came back. Down for 3 minutes, long enough to use up NetworkManager's retries, it reconnected on its own 45 seconds after it came back. A VM cannot exercise a real MediaTek card, DHCP from a real router, or suspend and resume, so this rules out Omarchy's configuration rather than your hardware.

What would help, captured while it is stuck and before you reconnect by hand:

  • How long you waited after the router came back, and whether clicking the saved network alone brings it back.
  • nmcli device status, nmcli radio and rfkill list
  • nmcli -f NAME,UUID,TYPE,AUTOCONNECT connection show, then for your network nmcli -f connection,802-11-wireless connection show uuid <UUID>. That shows autoconnect, retries and any band pinned from the panel's band selector, which matters if the router's 5 GHz radio comes back later than its 2.4 GHz one.
  • journalctl -b -u NetworkManager -u wpa_supplicant and journalctl -k -b, unfiltered, covering the moment it dropped and the router coming back. Separate captures for a router restart and for a suspend/resume, if both fail.
  • lspci -nnk | grep -A3 -i network and the omarchy-debug output.

The MT7902 is a recent addition to the mt7921e driver, and the kernel log is where a firmware or resume failure would show.

The diagnosis and the test were reviewed independently by Codex at medium effort, which agreed that the stock configuration recovers and that the cause cannot be established without the logs. It added the band-pinning question and several of the commands above. This is now waiting on those logs.

omarchybot avatar Oct 12 '26 00:10 omarchybot