40

Every time I restore my computer from sleep or turn it on a window pops up asking for my wireless password. Once I enter it it connects successfully, but this happens every time. I'm using Ubuntu 11.10 with all updates installed. Shouldn't the password be remembered so you don't have to enter it every time I get on?

Anyone know why this is happening and how to fix it?

belacqua
  • 23,120
codedude
  • 592

7 Answers7

36

I had the same problem. To fix this. Go to your network connections. From there click on wireless tab. Choose your connection and then click the edit button. Make sure your password is entered then click on the wireless security tab. Then check the box in the bottom left corner that says available to all users. This is what fixed the problem for me.

Hugo
  • 922
  • 1
    YES! This fixed the problem! Oh my goodness, you just made my day! :) This has been bugging me for SO long. – codedude Nov 13 '11 at 00:12
  • That would store the password outside of your user directory, right? – Martin Ueding Feb 15 '12 at 14:45
  • This is not an option for me. I want to have a guest account without password, but I do not want them to see all of my wireless passwords. The password for my university wifi can be used also elsewhere, so I have to keep it really secret. – lumbric Jun 23 '12 at 07:20
  • any option tom make it not ask, just retry with stored password... btw knetwork-manager just connect, not asks, it is only gnome – zb' Nov 27 '12 at 04:32
  • Didn't work for me. Stupid prompt keeps pinging me for my password – TheIronKnuckle Jul 08 '13 at 08:20
  • Does not work, this morning came and saw it had popped up over 100 times! It seems this bug has not been fixed since 2011. The real problem was that external antenna was not connected and signal was weak, but popups are the most annoying piece of software they should be banned. – dashesy Dec 05 '13 at 19:05
  • This solution works for me too. More, this solves a GDM issue when I started my computer, I could not enter my password to login me since a modal network popup blocked the password field. – Quentin Sep 17 '15 at 09:40
3

Here is a slight variation of Hugo's answer. For me the problem was occuring with a particular network despite the "All users may connect to this network" checkbox being already checked. So what I did was to uncheck the box, save, check the box, then save again. I know this seems retarded, but it solved the problem for me.

1

The real issue for me was weak signal, I attached an external antenna to fix that. This is a bug and no workaround worked for me. It seems to be related to the gnome keyring, but I could not figure out why it pops up while the box is filled in (i.e. password is saved).

dashesy
  • 163
  • Had the same problem in Debian with OlinuXino. This answer helped me a lot, because I forgot to attach the antenna O:-) – DangeMask Sep 09 '15 at 12:45
1

If you got the edit connections tab and look in wireless security. Is your password there. if not enter it and it should stay there.

Alex
  • 56
0

Are you using an automatic login or du you need to type your password into lightdm when you start your computer? In a previous ubuntu version I had a similar issue and removing the automatic login did the trick. This is/was some strange security policy and I don't know if this solution will work for Ubuntu 11.10 / Gnome 3 but maybe this still works.

Ewald
  • 354
-1

It's probably related to this bug

I have a variant of the bug, in which it created multiple prompts, but after a while managed to connect... turns out that in my case the issue was due to some duplicate connection configs of the same wifi

berdario
  • 179
-7

I don't know how to fix that behavior but I do know an alternative method of security that's not as strong as the password but will still keep the many unwanted users off your network and not query you on every boot up. Set up MAC address blocking in your router and disable the password. Open up your browser and connect to the router. Frequently http://192.168.1.1, a router password will also be required. You'll then be able to look through the router's menu tree to find where it configures MAC address blocking. It's a good idea to set your router password to something other than the default. On my TRENDnet router the default password was "admin." You can find the correct IP and default password in the documentation that came with your router. If you can't find it you can download a new manual from the manufacturer.

fragos
  • 3,503
  • 17
    That is a terrible idea. It is the equivalent of fixing an issue with a front door that keeps locking you out by removing the lock and planting a tree in front of the door, hoping that nobody will notice the house... – dovetalk Feb 29 '12 at 13:56
  • I don't have reputation on askubuntu.com enough to vote it down, but I would definitely do that if I could. – Bart Apr 22 '12 at 14:36
  • I've made a suggestion that works with a caution that you're less protected than with a password. It isn't to Bart's liking so it's appropriate to recommend against my answer but to vote down a correct answer is hardly appropriate. – fragos Apr 23 '12 at 01:25
  • 6
    For everybody reading this: DON'T DO THAT! MAC addresses can be spoofed EASILY. Anyone can put its wireless card in promiscuous mode near your house, capture a few packets, take note of MAC addresses in the network and then replace its own MAC with a valid one to have full access to your network. WEP is not an option, MAC filtering is not an option, just WPA/WPA2 provide an acceptable level of security today. – Avio Jul 13 '12 at 09:15
  • 2
    It's not a correct answer. The questions were "Shouldn't the password be remembered so you don't have to enter it every time I get on? Anyone know why this is happening and how to fix it?".

    The problem isn't that it's less secure than a password, it's that it's not secure at all.

    – Olathe Apr 08 '13 at 12:11