Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hey my wifi keeps prompting for the WPA2 password. Is there something that I need to do with Network Manager?

Linux version 3.5.0-17-generic (buildd@roseapple) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) )

Distributor ID: Ubuntu
Description:    Ubuntu 12.10
Release:    12.10
Codename:   quantal

Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
share|improve this question
1  
Eeeh. Just click remember password? – Melon Mar 3 '13 at 18:28
    
Yeah its saved and will stay connected for a little while but ask for password again. – 24hrEnErGy Mar 3 '13 at 19:29
    
Hm. Do you use torrent? I had similar thing. My WiFi router got down any time I downloaded torrents. Maybe it's the same thing here? – Melon Mar 3 '13 at 21:46
    
No trorrent, pretty much just the default install package. Anyone know where all controls the wifi by default and where logs are kept. – 24hrEnErGy Mar 3 '13 at 23:18
    
Do you mean that you can connect to the WiFi network just fine, but it keeps wanting to pop up a dialog for the password except with the password already filled in? This keeps happening for me on one specific network. (Which happens to be our new home WiFi network, making this really annoying. We moved about a month ago, and the CenturyLink tech gave us a new router/modem combo. Our old router was from the 802.11n draft days.) It usually happens when it reconnects to the WiFi after opening the laptop lid, but sometimes it doesn't, and the other day it kept doing it intermittently with it open. – Hitechcomputergeek May 19 '15 at 2:21

Seems to be a duplicate of Network manager asks for wireless password continually

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

share|improve this answer
    
what do you mean by "same" in "the same wifi"? Do different access-points on the same wireless radio count as "same"? – Abhishek Anand Feb 9 '15 at 17:30

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

share|improve this answer
    
Not tried this, but do you have any reference for this? thanks – dashesy Dec 5 '13 at 19:29

I know it sounds strange but I have the experience that in a case like this it might help to reboot your router.

Also check if the packet "wpasupplicant" is installed.

share|improve this answer

You need to explicitly call the dhclient and make it assign your wifi an IP.

sudo dhclient wlan0.

This works on Ubuntu 14.04.

share|improve this answer
    
DHCP errors aren't the cause of the need for re-authentication. – Zacharee1 Oct 20 '15 at 0:11
    
My guess, why it kept asking was because it could not get an IP. That's why I suggested. I had the same issue on my Ubuntu. It worked with this. – deerishi Oct 20 '15 at 0:13
    
If it can't get an IP address, it shouldn't ask for the password. It'll just auto-assign one. – Zacharee1 Oct 20 '15 at 0:14
    
What are saying makes sense, but then how did it get working after command? – deerishi Oct 20 '15 at 0:24
1  
I'm not sure, but also remember you're 2 years late on this answer and two major versions ahead of the OP. 12.04 may be different. – Zacharee1 Oct 20 '15 at 0:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.