Bug 129643 - NetworkManager does not remember passphrase
Summary: NetworkManager does not remember passphrase
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Network (show other bugs)
Version: Final
Hardware: i586 Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Robert Love
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-20 07:28 UTC by Martin Vidner
Modified: 2005-10-31 10:31 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
network and hardware from /etc/sysconfig (55.46 KB, application/x-gzip)
2005-10-20 07:32 UTC, Martin Vidner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Vidner 2005-10-20 07:28:49 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...)
Comment 1 Martin Vidner 2005-10-20 07:32:57 UTC
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.
Comment 2 Martin Vidner 2005-10-20 07:43:52 UTC
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.
Comment 3 Robert Love 2005-10-27 20:47:28 UTC
The passphrase bug is because we require gnome-keyring.  Will add that to the package deps.
Comment 4 Robert Love 2005-10-27 20:51:35 UTC
Added Requires for gnome-keyring and submitted to autobuild.
Comment 5 Martin Vidner 2005-10-31 10:31:10 UTC
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.