wpa_supplicant randomly disconnects
Hi everyone,
I am running Artix on my ThinkPad X220 and wrote a simple script to connect to my institution's Wi-Fi network w/ wpa_supplicant:
#!/bin/bash
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
dhcpcd
I can establish the connection when executing the script. However, the connection is fairly unstable and sometimes randomly disconnects. I tried installing iw and running:
# iw wlan0 set power_save off
according to this thread, but that didn't work. I would like to solve the problem in order to stick w/ wpa_supplicant, since I try to avoid GUI programs as much as possible on this machine. Any hint?
Thanks in advance