Is there a way to automatically reconnect WiFi if it shuts off?

Tried searching for answers with no luck.

I use Home Assistant and sometimes the WiFi on my laptop disconnects and I have to reconnect manually by typing “wifi on” in my terminal to get it working again. Is there a network setting somewhere on XFCE that I can change so WiFi will automatically reconnect? I am not sure if this a power saving issue or what the root cause of this is. Any advice is appreciated. New to Manjaro within the last couple of months.


I would start by disabling wifi powersave. Please post a full inxi output as nobody here can determine what chip we are talking about without one. To disable wifi power saving:

create this file if it does not exist.

By default there is:

wifi.powersave = 3

Change the value to 2. Reboot for the change to take effect.