Network Manager Forgets WPA Key

Joined
Aug 1, 2008
Messages
4
Reaction score
0
I have an AOA-110 which connects successfully to a router using WPA. However I have to input the WPA passphrase every time I try to connect. Does anyone know how to get the laptop to remember the passphrase?

Regards, tekkie
 
I have the same problem, if I press cancel it will remember the password and connect the third time. I just updated the network manager today (live update), and Its seems to have helped.
 
I had the same problem. In my case it was easy to fix.

I took a look into:
/etc/pam.d/passwd
There I just added one missing line:
password optional pam_gnome_keyring.so

This fixed the auto-login setup of the gnome-keyring-daemon
which is used to store the passwords for the network manager.

More details about the gnome-keyring setup can be found at:
http://live.gnome.org/GnomeKeyring/Pam

-
Paul
 
Did you use the script from this forum to "extend" the desktop to a normal xfce with no acer mods?
If yes, the problem is with that script.

Look for a file called nowait.sh in /etc/rc.d/slim

It's been modified.

Replace the contents of the file, with the defaults from acer, below:

Code:
#! /bin/bash
#Move from /etc/xdg/xfce4/xinitrc,Rain @ 08/04/08.
/usr/bin/add_driver.sh
sudo /etc/init.d/network start
sudo /etc/init.d/netfs start
sudo /etc/init.d/udev-post start
#sudo /etc/init.d/sshd start
#sudo /etc/init.d/nasd start
sudo /etc/init.d/ConsoleKit start
#sudo /etc/init.d/avahi-daemon start
sudo /etc/init.d/cups start
sudo /etc/init.d/wpa_supplicant start
sudo /etc/init.d/NetworkManager start
sudo /etc/init.d/NetworkManagerDispatcher start
sudo /etc/init.d/crond start


/usr/bin/qsynaptic --restore 

sudo /usr/bin/nm-applet &

#/usr/bin/xfce4-volstatus-icon &

#if [ "X`locale|grep zh`" != "X" ];then 
#  scim -d 
#fi
#rm -f /home/user/.DCOPserver_localhost_*
#sudo rm -f /home/user/.ICEauthority
while true
do 
  kpid=
  kpid=`pidof kpowersave`
  if [ "X${kpid}" == "X" ];then
     /usr/bin/kpowersave &
  fi
  if [ "X${kpid}" != "X" ];then
     break	
  fi
  sleep 3
done
gnome-screensaver &
rm -f /home/user/.gtk-bookmarks
xdg-user-dirs-gtk-update &
#xmodmap -e 'keycode 117 = EuroSign cent'
#xodmap /etc/X11/Xmodmap
# paul@080614 mark for start 2dbus
xhkeys &
splashd &
#monitoron &
if [ "X`sudo fdisk -l|grep swap`" != "X" ];then
   sudo swapon -a
fi
for i in `cat ~/.gsynaptics/syn.conf`; do synclient $i; done
sudo iwpriv ath0 powersave 1
 
This above solution worked for my problem too. I'd really like to know how you figured this was the problem. nowait.sh ? Never heard of it hahaha

After I installed the XFCE desktop RPM file in the other thread, my WIFI quit working. For some reason that script broke my WIFI's ability to connect to an encrypted network via passkey-- no matter what the passkey it was.;

This script fixed that.

You should make a howto, and post this somewhere, for all of us who have used that RPM desktop replacement mod.
 
Glad I could help!

I figured i copied over some of those customized scripts (I didnt want all the changes, just a couple of them) and then it broke so it was easy to backtrack.

Basically network manager was starting with the wrong permissions and so couldn't find the passwords because it wasn't looking in the right place.

I should contact the author of the hacks and fix it at the source
 
clairvaux said:
This above solution worked for my problem too. I'd really like to know how you figured this was the problem. nowait.sh ? Never heard of it hahaha

After I installed the XFCE desktop RPM file in the other thread, my WIFI quit working. For some reason that script broke my WIFI's ability to connect to an encrypted network via passkey-- no matter what the passkey it was.;

This script fixed that.

You should make a howto, and post this somewhere, for all of us who have used that RPM desktop replacement mod.

Thanks a lot. I'll try it out as soon as I'm back home.
What is really strange on mi side, is that BEFORE installing the XFCE desktop RPM, my connection used to loose the WEP password once in a while only, and most of the times rebooting a second time solved that problem. After having installed the switcher it stopped working at all.

Anyway, that's one of the reasons that had thrust me to go for a Linux AA1: spend my time tweaking the system rather than loosing the same time fighting against XP!!! :D
 
My AA1 forgets its WPA key too. I tried adding the gnome keyring line and then it remembered it the very next time, but never again! Any ideas on what could cause this?

I checked my nowait.sh file and it is the same as the one posted above.

TIA,
Hamza
 
Incidentally, when i run nm-applet from a terminal, the following error comes up when I connect to my network:

** Message: <info> No keyring secrets found for Auto NETGEAR/802-11-wireless-security; asking user.

So I guess that's got something to do with it :). My wifi network name is NETGEAR.

There must be a dead easy fix for this!

Cheers,
Hamza
 
It sounds like it's a permissions issue.

Make sure you're not running "nm-applet" as "sudo"...

Try this fix (sorry can't remember where I found it, but this is a quote with instructions)

I've finally managed to figure this out. What appears to have happened is the connection config files for our profiles have not been updated properly due to a power loss etc. To fix you need to reset the connection config files for your profile by removing them (or moving them). To do this you need to run the following command in a terminal:

Code:
mv ~/.gconf/system/networking ~/


This moves the networking config files to your home (My Files) directory thereby hiding them from the NetworkManager.

Then reboot

After you reboot the networking applet/icon will appear in the notifications area of the panel and all will be as it should be (post if not). You can then delete the networking folder from you home directory with the following run from the terminal or by deleting it from My Files.

Code:
rm -rvf ~/networking
 
hi annafil

Thanks for the info, deleting the settings doesn't make it remember my WPA password, but it does now keep nm-applet running when I restart the machine. I always had to run the applet before - I even added a menu option to make it easier :)

I have found that the applet dies when the Acer goes into Sleep, then the only way to bring it back is to run it again - and then it doesn't stay on permanently until I delete those config files. Very annoying, and sadly the sort of thing that might stop me bothering to use my little baby Acer!

Cheers,
Hamza
 
Hamza - one more thing you can try - creating your own keyring

Install gnome-keyring-manager (sudo yum install gnome-keyring-manager), or which ever package manager you prefer.

It may throw some warnings and errors - ignore them.

hit f9 - a pane on the side will open up

File->create a new keyring will create a new keyring. give it a one word name

You can then set it as a default in a file /home/user/.gnome2/keyrings/default

open the file in mousepad, change "default" to the name of the keyring you just created

Hope for the best

if it doesn't work, I'd change the default back to "default", just to be safe
 
Bingo!! My passwords are remembered!

Creating my own keyring did nothing, but when running the keyring manager it said that my gnome-keyring-daemon isn't running. I ran that (just from alt+f2) and then when I edited my wifi connection settings in NetworkManager it remembered my WPA passwords!

So I guess all I need to do is make sure gnome-keyring-daemon starts automatically on boot (I seem to remember a .profile file from my Unix days 15 years ago) and Bob shall be my uncle.

My only problem with my networking now is that NetworkManager dies when my AA1 sleeps, but that's for another thread... Many thanks annafil, you're a star.

Cheers,
Hamza
 
hamza: there is a solution to the network manager dying as well, courtesy of some mods by another user on this forum. Only problem is, it's all bundled together in a script to de-acer-ize the AAO and put a proper xfce on it.

I'll be happy to put up instructions if you really want them on what I did to get suspends to play nice, but I must warn it's not a quick process. It requires backing up a handful of files and the terminal.
 
annafil said:
hamza: there is a solution to the network manager dying as well, courtesy of some mods by another user on this forum. Only problem is, it's all bundled together in a script to de-acer-ize the AAO and put a proper xfce on it.

I'll be happy to put up instructions if you really want them on what I did to get suspends to play nice, but I must warn it's not a quick process. It requires backing up a handful of files and the terminal.

A link or guide would be appreciated - my AA1 has started to have WPA key anmesia all of a sudden.

Thanks
 
linker3000 - to fix WPA key amnesia, see my previous comments. In my last one I was responding to an unrelated network manager issue that Hamza has.
 
Hamza said:
Bingo!! My passwords are remembered!

Creating my own keyring did nothing, but when running the keyring manager it said that my gnome-keyring-daemon isn't running. I ran that (just from alt+f2) and then when I edited my wifi connection settings in NetworkManager it remembered my WPA passwords!

So I guess all I need to do is make sure gnome-keyring-daemon starts automatically on boot (I seem to remember a .profile file from my Unix days 15 years ago) and Bob shall be my uncle.

My only problem with my networking now is that NetworkManager dies when my AA1 sleeps, but that's for another thread... Many thanks annafil, you're a star.

Cheers,
Hamza

When I start the keyring manager I am asked to enter a password to unlock the password keyring. This is not the root password and the message is the same if I run it from root. I have no idea of this password. Is it needed, or I just need to create a new keyring? Do I have to enter the password of the new keyring in any place?

How I make gnome-keyring-daemon starts automatically on boot? Do I add a line (and which line) to nowait.sh?

Thank a lot for the details!!
 
Back
Top