I've put a clean install of Ubuntu on my PC, but I can't get it to connect to the wifi. I don't have access to ethernet, and trying to connect using the Network Manager GUI results in it timing out, saying "Activation of network connection failed." It runs perfectly fine on the same machine with Windows 10.
Ubuntu version is 18.04, the card is a Qualcomm Atheros and the driver for my card is ath9k.
I don't believe it's a driver issue, as all driver checks come up fine. I think it may have something to do with the persistence of the connection. When attempting to connect, dmesg gives the following result:
wlp4s0: authenticate with [MAC address]
wlp4s0: send auth to [MAC address] (try 1/3)
wlp4s0: send auth to [MAC address] (try 2/3)
wlp4s0: send auth to [MAC address] (try 3/3)
wlp4s0: authentication with [MAC address] timed out
Result of iwconfig:
wlp4s0 IEEE 802.11 ESSID: [Network Name]
Mode:Managed Access Point: Not-Associated Tx-Power=19 dBm
Should "Access Point" be something other than "Not-Associated?" If so how do I change it?
Also, running iwlist scan half the time results in No scan results, but then after a few tries it returns the relevant information.
I have absolutely 0 idea what to do about this.