Bugzilla – Bug 129643
NetworkManager does not remember passphrase
Last modified: 2005-10-31 10:31:10 UTC
First, a description of my environment: I have a WEP encrypted network 'frogs' with the essid broadcast and there's also my neighbor's unencrypted network 'Tusarova'. My laptop is 5 years old with 300MHz and 96M RAM so I installed only as little of GNOME as would get NM running. Some bugs may therefore come from dependencies that are needed but not yet expressed by rpm, please bear with me. My WiFi card is Vendor: pci 0x1814 "RaLink" Device: pci 0x0201 "Ralink RT2500 802.11 Cardbus Reference Card" SubVendor: pci 0x1043 "ASUSTeK Computer Inc." SubDevice: pci 0x107f I run icewm but manually start gnome-panel and nm-applet. When I plug in the card, it connects to Tusarova after a little while. The meter to the right of the name stays empty despite the tooltip saying about 50%. Is that OK? [1] The frogs item shows a lock+key icon and the meter is about 2/3. When I click it, it probably tries to connect but reverts to connecting to Tusarova. Yesterday I somehow managed it to ask me for the passphrase. But it would not get a DHCP address and would ask for the passphrase again and again, despite 'iwlist enc' showing that the keys were correct. I did not reproduce it today. Then I select 'Connect to other wireless network', enter 'frogs' and the passphrase and it succeeds in getting a DHCP address. However, the terminal window says '** (nm-applet:5877): WARNING **: Error saving passphrase in keyring. Ret=2'. I don't know where it is supposed to save the passphrase and also don't know how gconf works, but there is no mention of the passphrase in ~/.gconf/system/ networking/wireless/networks/frogs/%gconf.xml (I will continue the report from a machine other than the one on which I experiment with the network connecton...)
Created attachment 54871 [details] network and hardware from /etc/sysconfig Here is /etc/sysconfig/{network,hardware}, with my actual WEP key replaced by DEADBEEF. There are lots of ifcfgs, and the one in use before NM was (or still is??) ifcfg-ra0.
OK, after unplugging and replugging the card, I got asked for the frogs passphrase and the connection works. Good. Got the same warning about not being able to save it.
The passphrase bug is because we require gnome-keyring. Will add that to the package deps.
Added Requires for gnome-keyring and submitted to autobuild.
Thanks for pointing me in the right direction. Actually I have gnome-keyring installed and the dependency is there automatically: kaname:~ # rpm --test -e gnome-keyring error: Failed dependencies: libgnome-keyring.so.0 is needed by (installed) NetworkManager-gnome-0.4.1cvs20050901-2 So I probably need to run gnome-keyring-daemon. It would be nice if the applet told me to.