Wifi keeps prompting for password

below thing solved mine

sudo vim /etc/NetworkManager/system-connections/ConnectionName
set this : password-flags=0

next time this will store your password.


Seems to be a duplicate of Network manager forgets wireless password after sleeping or powering off

You might find it useful to set the connection as "available to all users", or remove duplicate connection configs for the same wifi

also, it's probably related to this known bug


This usually fixing that issue with your device it changes the encryption from hardware to software.

Run the commands one line at a time, just copy and paste for accuracy.

echo "options ath9k nohwcrypt=1" | sudo tee /etc/modprobe.d/ath9k.conf

sudo modprobe -rfv ath9k

sudo modprobe -v ath9k

Thanks